Lines Matching refs:le_db_index

1456     int le_db_index = -1;  in sm_store_bonding_information()  local
1474 le_db_index = i; in sm_store_bonding_information()
1484 if ((le_db_index < 0) && (setup->sm_peer_addr_type == BD_ADDR_TYPE_LE_PUBLIC)){ in sm_store_bonding_information()
1495 le_db_index = i; in sm_store_bonding_information()
1503 if (le_db_index < 0) { in sm_store_bonding_information()
1504le_db_index = le_device_db_add(setup->sm_peer_addr_type, setup->sm_peer_address, setup->sm_peer_ir… in sm_store_bonding_information()
1508 if (le_db_index >= 0){ in sm_store_bonding_information()
1512 hci_remove_le_device_db_entry_from_resolving_list(le_db_index); in sm_store_bonding_information()
1514 hci_load_le_device_db_entry_into_resolving_list(le_db_index); in sm_store_bonding_information()
1519 …ENTITY_CREATED, sm_conn->sm_handle, setup->sm_peer_addr_type, setup->sm_peer_address, le_db_index); in sm_store_bonding_information()
1521 sm_conn->sm_le_db_index = le_db_index; in sm_store_bonding_information()
1525 setup->sm_le_device_index = le_db_index; in sm_store_bonding_information()
1528 le_device_db_local_csrk_set(le_db_index, setup->sm_local_csrk); in sm_store_bonding_information()
1529 le_device_db_local_counter_set(le_db_index, 0); in sm_store_bonding_information()
1535 le_device_db_remote_csrk_set(le_db_index, setup->sm_peer_csrk); in sm_store_bonding_information()
1536 le_device_db_remote_counter_set(le_db_index, 0); in sm_store_bonding_information()
1544 …le_device_db_encryption_set(le_db_index, 0, zero_rand, setup->sm_ltk, sm_conn->sm_actual_encryptio… in sm_store_bonding_information()
1552 …le_device_db_encryption_set(le_db_index, setup->sm_peer_ediv, setup->sm_peer_rand, setup->sm_peer_… in sm_store_bonding_information()