Home
last modified time | relevance | path

Searched refs:p_acl_cb (Results 1 – 8 of 8) sorted by relevance

/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/btm/
Dbtm_acl.c53 static void btm_process_remote_ext_features (tACL_CONN *p_acl_cb, UINT8 num_read_pages);
935 tACL_CONN *p_acl_cb = NULL; in btm_read_remote_version_complete() local
944 p_acl_cb = btm_handle_to_acl(handle); in btm_read_remote_version_complete()
945 if (p_acl_cb) { in btm_read_remote_version_complete()
947 STREAM_TO_UINT8 (p_acl_cb->lmp_version, p); in btm_read_remote_version_complete()
948 STREAM_TO_UINT16 (p_acl_cb->manufacturer, p); in btm_read_remote_version_complete()
949 STREAM_TO_UINT16 (p_acl_cb->lmp_subversion, p); in btm_read_remote_version_complete()
952 if (p_acl_cb->transport == BT_TRANSPORT_LE) { in btm_read_remote_version_complete()
953 if(p_acl_cb->link_role == HCI_ROLE_MASTER) { in btm_read_remote_version_complete()
954 if (HCI_LE_DATA_LEN_EXT_SUPPORTED(p_acl_cb->peer_le_features)) { in btm_read_remote_version_complete()
[all …]
Dbtm_pm.c180 tACL_CONN *p_acl_cb; in BTM_SetPowerMode() local
196 p_acl_cb = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_SetPowerMode()
197 if (p_acl_cb == NULL){ in BTM_SetPowerMode()
201 p_cb = p_acl_cb->p_pm_mode_db; in BTM_SetPowerMode()
232 …BTM_TRACE_DEBUG( "BTM_SetPowerMode: Saving cmd acl handle %d temp_pm_id %d", p_acl_cb->hci_handle,… in BTM_SetPowerMode()
247 if (p_acl_cb->hci_handle != btm_cb.pm_pend_link_hdl) { in BTM_SetPowerMode()
250 BTM_TRACE_DEBUG( "btm_pm state stored:%d", p_acl_cb->hci_handle); in BTM_SetPowerMode()
257 return btm_pm_snd_md_req(pm_id, p_acl_cb->hci_handle, p_mode); in BTM_SetPowerMode()
282 tACL_CONN *p_acl_cb = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_ReadPowerMode() local
283 if (!p_acl_cb) { in BTM_ReadPowerMode()
[all …]
Dbtm_ble_multi_adv.c725 tACL_CONN *p_acl_cb = NULL; in btm_ble_multi_adv_vse_cback() local
736 if ((p_acl_cb = btm_handle_to_acl(conn_handle)) != NULL) { in btm_ble_multi_adv_vse_cback()
740 memcpy(p_acl_cb->conn_addr, btm_multi_adv_cb.p_adv_inst[adv_inst - 1].rpa, in btm_ble_multi_adv_vse_cback()
Dbtm_sec.c4254 tACL_CONN *p_acl_cb; in btm_sec_connected() local
4488 p_acl_cb = btm_bda_to_acl(bda, BT_TRANSPORT_BR_EDR); in btm_sec_connected()
4489 if (p_acl_cb) { in btm_sec_connected()
4495 btm_set_packet_types (p_acl_cb, btm_cb.btm_acl_pkt_types_supported); in btm_sec_connected()
4498 BTM_SetLinkPolicy (p_acl_cb->remote_addr, &btm_cb.btm_def_link_policy); in btm_sec_connected()
5949 void btm_sec_set_peer_sec_caps(tACL_CONN *p_acl_cb, tBTM_SEC_DEV_REC *p_dev_rec) in btm_sec_set_peer_sec_caps() argument
5957 HCI_SSP_HOST_SUPPORTED(p_acl_cb->peer_lmp_features[HCI_EXT_FEATURES_PAGE_1])) { in btm_sec_set_peer_sec_caps()
5960 (HCI_SC_HOST_SUPPORTED(p_acl_cb->peer_lmp_features[HCI_EXT_FEATURES_PAGE_1])); in btm_sec_set_peer_sec_caps()
5978 p_acl_cb->sc_downgrade = 1; in btm_sec_set_peer_sec_caps()
6278 void btm_sec_update_legacy_auth_state(tACL_CONN *p_acl_cb, UINT8 legacy_auth_state) in btm_sec_update_legacy_auth_state() argument
[all …]
Dbtm_ble_gap.c4174 tACL_CONN *p_acl_cb = NULL; in btm_ble_read_remote_features_complete() local
4188 p_acl_cb = btm_handle_to_acl(handle); in btm_ble_read_remote_features_complete()
4189 if (p_acl_cb) { in btm_ble_read_remote_features_complete()
4191 STREAM_TO_ARRAY(p_acl_cb->peer_le_features, p, BD_FEATURES_LEN); in btm_ble_read_remote_features_complete()
4197 if (p_acl_cb->link_role == HCI_ROLE_MASTER){ in btm_ble_read_remote_features_complete()
4198 btsnd_hcic_rmt_ver_req (p_acl_cb->hci_handle); in btm_ble_read_remote_features_complete()
4201 if (p_acl_cb->transport == BT_TRANSPORT_LE) { in btm_ble_read_remote_features_complete()
4202 if (HCI_LE_DATA_LEN_EXT_SUPPORTED(p_acl_cb->peer_le_features)) { in btm_ble_read_remote_features_complete()
4205 p_acl_cb->data_len_updating = true; in btm_ble_read_remote_features_complete()
4206 … btsnd_hcic_ble_set_data_length(p_acl_cb->hci_handle, data_length, data_txtime); in btm_ble_read_remote_features_complete()
[all …]
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/l2cap/
Dl2c_ble.c118 tACL_CONN *p_acl_cb = btm_bda_to_acl(rem_bda, BT_TRANSPORT_LE); in L2CA_UpdateBleConnParams() local
124 if (!p_lcb || !p_acl_cb) { in L2CA_UpdateBleConnParams()
503 tACL_CONN *p_acl_cb = btm_bda_to_acl(p_lcb->remote_bd_addr, BT_TRANSPORT_LE); in l2cble_start_conn_update() local
528 HCI_LE_CONN_PARAM_REQ_SUPPORTED(p_acl_cb->peer_le_features)) in l2cble_start_conn_update()
556 HCI_LE_CONN_PARAM_REQ_SUPPORTED(p_acl_cb->peer_le_features)) in l2cble_start_conn_update()
/hal_espressif-3.4.0/components/bt/host/bluedroid/stack/btm/include/
Dbtm_int.h1051 void btm_establish_continue (tACL_CONN *p_acl_cb);
1183 void btm_sec_set_peer_sec_caps (tACL_CONN *p_acl_cb, tBTM_SEC_DEV_REC *p_dev_rec);
1223 void btm_sec_update_legacy_auth_state(tACL_CONN *p_acl_cb, UINT8 legacy_auth_state);
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c5378 tACL_CONN *p_acl_cb = btm_bda_to_acl(p_data->ble_set_data_length.remote_bda, BT_TRANSPORT_LE); in bta_dm_ble_set_data_length() local
5379 if (p_acl_cb == NULL) { in bta_dm_ble_set_data_length()
5384 p_acl_cb->p_set_pkt_data_cback = p_data->ble_set_data_length.p_set_pkt_data_cback; in bta_dm_ble_set_data_length()
5386 if(p_data->ble_set_data_length.tx_data_length == p_acl_cb->data_length_params.tx_len) { in bta_dm_ble_set_data_length()
5388 … (*p_data->ble_set_data_length.p_set_pkt_data_cback)(status, &p_acl_cb->data_length_params); in bta_dm_ble_set_data_length()
5393 if(p_acl_cb->data_len_updating) { in bta_dm_ble_set_data_length()
5395 if(p_acl_cb->data_len_waiting) { in bta_dm_ble_set_data_length()
5399p_acl_cb->p_set_data_len_cback_waiting = p_data->ble_set_data_length.p_set_pkt_data_cback; in bta_dm_ble_set_data_length()
5400 p_acl_cb->tx_len_waiting = p_data->ble_set_data_length.tx_data_length; in bta_dm_ble_set_data_length()
5401 p_acl_cb->data_len_waiting = true; in bta_dm_ble_set_data_length()
[all …]