Lines Matching refs:bda
49 extern void smp_link_encrypted(BD_ADDR bda, UINT8 encr_enable);
50 extern BOOLEAN smp_proc_ltk_request(BD_ADDR bda);
158 BTM_TRACE_DEBUG ("BTM_SecAddLeKey() BDA: %08x%04x, Type: 0x%02x",
1265 BTM_TRACE_DEBUG ("BLE key type 0x%02x updated for BDA: %08x%04x (btm_sec_save_le_key)", key_type,
1281 BTM_TRACE_WARNING ("BLE key type 0x%02x called for Unknown BDA or type: %08x%04x !! (btm_sec_save_le_key)", key_type,
1526 tBTM_STATUS btm_ble_start_encrypt(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk)
1529 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bda);
1627 void btm_ble_ltk_request_reply(BD_ADDR bda, BOOLEAN use_stk, BT_OCTET16 stk)
1629 tBTM_SEC_DEV_REC *p_rec = btm_find_dev (bda);
1779 BD_ADDR bda;
1787 STREAM_TO_BDADDR (bda, p);
1801 memcpy(match_rec->ble.cur_rand_addr, bda, BD_ADDR_LEN);
1802 if (!btm_ble_init_pseudo_addr (match_rec, bda))
1805 memcpy(bda, match_rec->ble.pseudo_addr, BD_ADDR_LEN);
1809 memcpy(bda, match_rec->bd_addr, BD_ADDR_LEN);
1817 btm_ble_connected(bda, handle, HCI_ENCRYPT_MODE_DISABLED, role, bda_type, match);
1819 l2cble_conn_comp (handle, role, bda, bda_type, conn_interval,
1836 void btm_ble_connected (UINT8 *bda, UINT16 handle, UINT8 enc_mode, UINT8 role,
1839 tBTM_SEC_DEV_REC *p_dev_rec = btm_find_dev (bda);
1850 BTM_TRACE_EVENT ("Security Manager: btm_ble_connected : handle:%d enc_mode:%d bda:%x RName:%s",
1852 (bda[2]<<24)+(bda[3]<<16)+(bda[4]<<8)+bda[5],
1859 BTM_TRACE_EVENT ("Security Manager: btm_ble_connected: handle:%d enc_mode:%d bda:%x ",
1861 (bda[2]<<24)+(bda[3]<<16)+(bda[4]<<8)+bda[5]);
1868 if ((p_dev_rec = btm_sec_alloc_dev (bda)) == NULL)
1881 memcpy(p_dev_rec->ble.pseudo_addr, bda, BD_ADDR_LEN);
1892 memcpy(p_dev_rec->ble.cur_rand_addr, bda, BD_ADDR_LEN);
1914 BD_ADDR bda;
1923 STREAM_TO_BDADDR (bda, p);
1929 match = btm_identity_addr_to_random_pseudo (bda, &bda_type, TRUE);
1939 if (!match && BTM_BLE_IS_RESOLVE_BDA(bda))
1941 btm_ble_resolve_random_addr(bda, btm_ble_resolve_random_addr_on_conn_cmpl, p_data);
1951 btm_ble_connected(bda, handle, HCI_ENCRYPT_MODE_DISABLED, role, bda_type, match);
1953 l2cble_conn_comp (handle, role, bda, bda_type, conn_interval,
1959 btm_ble_refresh_local_resolvable_private_addr(bda, local_rpa);
1962 btm_ble_refresh_peer_resolvable_private_addr(bda, peer_rpa, BLE_ADDR_RANDOM);
1986 btm_ble_update_mode_operation(role, bda, status);
2328 BTM_TRACE_ERROR ("%s device with BDA: %08x%04x is not found",
2361 BTM_TRACE_ERROR ("%s device with BDA: %08x%04x is not found",