Searched refs:sm_connection (Results 1 – 3 of 3) sorted by relevance
1301 sm_connection_t * sm_connection; in sm_address_resolution_handle_event() local1313 sm_connection = (sm_connection_t *) context; in sm_address_resolution_handle_event()1314 con_handle = sm_connection->sm_handle; in sm_address_resolution_handle_event()1323 sm_connection->sm_irk_lookup_state = IRK_LOOKUP_SUCCEEDED; in sm_address_resolution_handle_event()1324 sm_connection->sm_le_db_index = matched_device_id; in sm_address_resolution_handle_event()1325 … log_info("ADDRESS_RESOLUTION_SUCCEEDED, index %d", sm_connection->sm_le_db_index); in sm_address_resolution_handle_event()1327 …le_device_db_encryption_get(sm_connection->sm_le_db_index, NULL, NULL, ltk, NULL, &authenticated, … in sm_address_resolution_handle_event()1330 if (IS_RESPONDER(sm_connection->sm_role)) { in sm_address_resolution_handle_event()1333 if (sm_connection->sm_engine_state == SM_RESPONDER_PH0_RECEIVED_LTK_W4_IRK){ in sm_address_resolution_handle_event()1334 sm_connection->sm_engine_state = SM_RESPONDER_PH0_RECEIVED_LTK_REQUEST; in sm_address_resolution_handle_event()[all …]
448 typedef struct sm_connection { struct679 sm_connection_t sm_connection; member
9771 return &hci_con->sm_connection; in sm_get_connection_for_handle()9783 sm_connection_t * sm_conn = &hci_connection->sm_connection; in gap_encryption_key_size()9808 …if (hci_connection->sm_connection.sm_connection_encrypted == 0) return 0; // unencrypted connectio… in gap_authenticated()9809 return hci_connection->sm_connection.sm_connection_authenticated != 0; in gap_authenticated()9831 …if (hci_connection->sm_connection.sm_connection_encrypted == 0) return false; // unencrypted conne… in gap_secure_connection()9832 return hci_connection->sm_connection.sm_connection_sc; in gap_secure_connection()9858 return hci_connection->sm_connection.sm_le_db_index >= 0; in gap_bonded()10905 conn->sm_connection.sm_role = HCI_ROLE_SLAVE; in hci_setup_test_connections_fuzz()10912 conn->sm_connection.sm_role = HCI_ROLE_SLAVE; in hci_setup_test_connections_fuzz()10919 conn->sm_connection.sm_role = HCI_ROLE_SLAVE; in hci_setup_test_connections_fuzz()[all …]