Home
last modified time | relevance | path

Searched refs:p_acl (Results 1 – 6 of 6) sorted by relevance

/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_addr.c565 tACL_CONN *p_acl = btm_bda_to_acl(p_sec_rec->bd_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr() local
566 if (p_acl == NULL) { in btm_ble_refresh_peer_resolvable_private_addr()
567 p_acl = btm_bda_to_acl(p_sec_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr()
570 if (p_acl != NULL) { in btm_ble_refresh_peer_resolvable_private_addr()
574 p_acl->active_remote_addr_type = p_sec_rec->ble.static_addr_type; in btm_ble_refresh_peer_resolvable_private_addr()
575 memcpy(p_acl->active_remote_addr, p_sec_rec->ble.static_addr, BD_ADDR_LEN); in btm_ble_refresh_peer_resolvable_private_addr()
577 p_acl->active_remote_addr_type = BLE_ADDR_RANDOM; in btm_ble_refresh_peer_resolvable_private_addr()
578 memcpy(p_acl->active_remote_addr, rpa, BD_ADDR_LEN); in btm_ble_refresh_peer_resolvable_private_addr()
581 p_acl->active_remote_addr_type = rra_type; in btm_ble_refresh_peer_resolvable_private_addr()
582 memcpy(p_acl->active_remote_addr, rpa, BD_ADDR_LEN); in btm_ble_refresh_peer_resolvable_private_addr()
[all …]
Dbtm_pm.c843 tACL_CONN *p_acl = NULL; in btm_pm_proc_ssr_evt() local
854 p_acl = btm_handle_to_acl(handle); in btm_pm_proc_ssr_evt()
855 if (!p_acl) { in btm_pm_proc_ssr_evt()
858 p_cb = p_acl->p_pm_mode_db; in btm_pm_proc_ssr_evt()
867 if ( p_acl) { in btm_pm_proc_ssr_evt()
868 (*btm_cb.pm_reg_db[yy].cback)( p_acl->remote_addr, BTM_PM_STS_SSR, use_ssr, status); in btm_pm_proc_ssr_evt()
Dbtm_sco.c487 tACL_CONN *p_acl; in btm_send_connect_request() local
504 p_acl = btm_handle_to_acl(acl_handle); in btm_send_connect_request()
505 if (p_acl) { in btm_send_connect_request()
506 if (!HCI_EDR_ESCO_2MPS_SUPPORTED(p_acl->peer_lmp_features[HCI_EXT_FEATURES_PAGE_0])) { in btm_send_connect_request()
512 if (!HCI_EDR_ESCO_3MPS_SUPPORTED(p_acl->peer_lmp_features[HCI_EXT_FEATURES_PAGE_0])) { in btm_send_connect_request()
522 if (BTM_BothEndsSupportSecureConnections(p_acl->remote_addr)) { in btm_send_connect_request()
655 tACL_CONN *p_acl; in BTM_CreateSco() local
749 p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_CreateSco()
750 if (p_acl && p_acl->switch_role_state != BTM_ACL_SWKEY_STATE_IDLE) { in BTM_CreateSco()
Dbtm_ble.c288 tACL_CONN *p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadConnectionAddr() local
290 if (p_acl == NULL) { in BTM_ReadConnectionAddr()
294 memcpy(local_conn_addr, p_acl->conn_addr, BD_ADDR_LEN); in BTM_ReadConnectionAddr()
295 * p_addr_type = p_acl->conn_addr_type; in BTM_ReadConnectionAddr()
298 p_acl->conn_addr_type, p_acl->conn_addr[0]); in BTM_ReadConnectionAddr()
869 tACL_CONN *p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_SetBleDataLength() local
877 if (!HCI_LE_DATA_LEN_EXT_SUPPORTED(p_acl->peer_le_features)) { in BTM_SetBleDataLength()
882 if (p_acl != NULL) { in BTM_SetBleDataLength()
890 btsnd_hcic_ble_set_data_length(p_acl->hci_handle, tx_pdu_length, in BTM_SetBleDataLength()
Dbtm_sec.c4058 tACL_CONN *p_acl = NULL; in btm_sec_encrypt_change() local
4103 p_acl = btm_handle_to_acl(handle); in btm_sec_encrypt_change()
4105 if (p_acl != NULL) { in btm_sec_encrypt_change()
4106 btm_sec_check_pending_enc_req(p_dev_rec, p_acl->transport, encr_enable); in btm_sec_encrypt_change()
4109 if (p_acl && p_acl->transport == BT_TRANSPORT_LE) { in btm_sec_encrypt_change()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/l2cap/
Dl2c_ble.c262 tACL_CONN *p_acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE) ; in l2cble_notify_le_connection() local
264 if (p_lcb != NULL && p_acl != NULL && p_lcb->link_state != LST_CONNECTED) { in l2cble_notify_le_connection()
266 if(p_acl->link_role == HCI_ROLE_SLAVE) { in l2cble_notify_le_connection()
275 btm_establish_continue(p_acl); in l2cble_notify_le_connection()
1219 tACL_CONN *p_acl = btm_handle_to_acl(handle); in l2cble_process_data_length_change_event() local
1223 p_acl->data_length_params = data_length_params; in l2cble_process_data_length_change_event()
1224 if (p_acl != NULL && p_acl->p_set_pkt_data_cback){ in l2cble_process_data_length_change_event()
1225 (*p_acl->p_set_pkt_data_cback)(BTM_SUCCESS, &data_length_params); in l2cble_process_data_length_change_event()
1228 if(p_acl) { in l2cble_process_data_length_change_event()
1229 p_acl->data_len_updating = 0; in l2cble_process_data_length_change_event()
[all …]