Lines Matching refs:ble
21 * This file contains functions for BLE address management.
254 if (memcmp(p_dev_rec->ble.pseudo_addr, dummy_bda, BD_ADDR_LEN) == 0)
256 memcpy(p_dev_rec->ble.pseudo_addr, new_pseudo_addr, BD_ADDR_LEN);
282 (p_dev_rec->ble.key_type & BTM_LE_KEY_PID))
291 SMP_Encrypt(p_dev_rec->ble.keys.irk, BT_OCTET16_LEN,
338 !(p_dev_rec->ble.key_type & BTM_LE_KEY_PID))
342 SMP_Encrypt(p_dev_rec->ble.keys.irk, BT_OCTET16_LEN,
400 if (memcmp(p_dev_rec->ble.static_addr, bd_addr, BD_ADDR_LEN) == 0) {
401 if ((p_dev_rec->ble.static_addr_type & (~BLE_ADDR_TYPE_ID_BIT)) !=
404 __func__, p_dev_rec->ble.static_addr_type, addr_type);
438 memcpy(bd_addr, p_dev_rec->ble.pseudo_addr, BD_ADDR_LEN);
440 *p_addr_type = p_dev_rec->ble.ble_addr_type;
462 if (p_dev_rec->ble.in_controller_list & BTM_RESOLVING_LIST_BIT)
464 * p_static_addr_type = p_dev_rec->ble.static_addr_type;
465 memcpy(random_pseudo, p_dev_rec->ble.static_addr, BD_ADDR_LEN);
497 memcpy(p_sec_rec->ble.cur_rand_addr, rpa, BD_ADDR_LEN);
501 p_sec_rec->ble.active_addr_type = rra_dummy ? BTM_BLE_ADDR_STATIC: BTM_BLE_ADDR_RRA;
503 p_sec_rec->ble.active_addr_type = rra_type;
512 __func__, p_sec_rec->ble.active_addr_type);
517 p_acl = btm_bda_to_acl(p_sec_rec->ble.pseudo_addr, BT_TRANSPORT_LE);
526 p_acl->active_remote_addr_type = p_sec_rec->ble.static_addr_type;
527 memcpy(p_acl->active_remote_addr, p_sec_rec->ble.static_addr, BD_ADDR_LEN);