Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble_addr.c564 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
565 if (p_acl == NULL) in btm_ble_refresh_peer_resolvable_private_addr()
566 p_acl = btm_bda_to_acl(p_sec_rec->ble.pseudo_addr, BT_TRANSPORT_LE); in btm_ble_refresh_peer_resolvable_private_addr()
568 if (p_acl != NULL) in btm_ble_refresh_peer_resolvable_private_addr()
575 p_acl->active_remote_addr_type = p_sec_rec->ble.static_addr_type; in btm_ble_refresh_peer_resolvable_private_addr()
576 memcpy(p_acl->active_remote_addr, p_sec_rec->ble.static_addr, BD_ADDR_LEN); in btm_ble_refresh_peer_resolvable_private_addr()
580 p_acl->active_remote_addr_type = BLE_ADDR_RANDOM; in btm_ble_refresh_peer_resolvable_private_addr()
581 memcpy(p_acl->active_remote_addr, rpa, BD_ADDR_LEN); in btm_ble_refresh_peer_resolvable_private_addr()
586 p_acl->active_remote_addr_type = rra_type; in btm_ble_refresh_peer_resolvable_private_addr()
587 memcpy(p_acl->active_remote_addr, rpa, BD_ADDR_LEN); in btm_ble_refresh_peer_resolvable_private_addr()
[all …]
Dbtm_sco.c400 tACL_CONN *p_acl; in btm_send_connect_request() local
422 p_acl = &btm_cb.acl_db[xx]; in btm_send_connect_request()
423 if (!HCI_EDR_ESCO_2MPS_SUPPORTED(p_acl->peer_lmp_features[HCI_EXT_FEATURES_PAGE_0])) in btm_send_connect_request()
430 if (!HCI_EDR_ESCO_3MPS_SUPPORTED(p_acl->peer_lmp_features[HCI_EXT_FEATURES_PAGE_0])) in btm_send_connect_request()
441 if (BTM_BothEndsSupportSecureConnections(p_acl->remote_addr)) in btm_send_connect_request()
580 tACL_CONN *p_acl; in BTM_CreateSco() local
688 p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_BR_EDR); in BTM_CreateSco()
689 if (p_acl && p_acl->switch_role_state != BTM_ACL_SWKEY_STATE_IDLE) in BTM_CreateSco()
Dbtm_pm.c880 tACL_CONN *p_acl=NULL; in btm_pm_proc_ssr_evt() local
895 p_acl = &btm_cb.acl_db[xx]; in btm_pm_proc_ssr_evt()
907 if( p_acl) in btm_pm_proc_ssr_evt()
909 (*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_ble.c293 tACL_CONN *p_acl = btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE); in BTM_ReadConnectionAddr() local
295 if (p_acl == NULL) in BTM_ReadConnectionAddr()
300 memcpy(local_conn_addr, p_acl->conn_addr, BD_ADDR_LEN); in BTM_ReadConnectionAddr()
301 * p_addr_type = p_acl->conn_addr_type; in BTM_ReadConnectionAddr()
304 p_acl->conn_addr_type, p_acl->conn_addr[0]); in BTM_ReadConnectionAddr()
840 tACL_CONN *p_acl = btm_bda_to_acl(bd_addr, BT_TRANSPORT_LE); in BTM_SetBleDataLength() local
849 if (!HCI_LE_DATA_LEN_EXT_SUPPORTED(p_acl->peer_le_features)) in BTM_SetBleDataLength()
855 if (p_acl != NULL) in BTM_SetBleDataLength()
863 btsnd_hcic_ble_set_data_length(p_acl->hci_handle, tx_pdu_length, in BTM_SetBleDataLength()
Dbtm_sec.c4228 tACL_CONN *p_acl = NULL; in btm_sec_encrypt_change() local
4278 p_acl = &btm_cb.acl_db[acl_idx]; in btm_sec_encrypt_change()
4280 if (p_acl != NULL) in btm_sec_encrypt_change()
4281 btm_sec_check_pending_enc_req(p_dev_rec, p_acl->transport, encr_enable); in btm_sec_encrypt_change()
4283 if (p_acl && p_acl->transport == BT_TRANSPORT_LE) in btm_sec_encrypt_change()
/system/bt/stack/l2cap/
Dl2c_ble.c241 tACL_CONN *p_acl = btm_bda_to_acl(bda, BT_TRANSPORT_LE) ; in l2cble_notify_le_connection() local
243 if (p_lcb != NULL && p_acl != NULL && p_lcb->link_state != LST_CONNECTED) in l2cble_notify_le_connection()
246 btm_establish_continue(p_acl); in l2cble_notify_le_connection()