Searched refs:devcb (Results 1 – 6 of 6) sorted by relevance
92 btm_cb.devcb.read_local_name_timer = alarm_new("btm.read_local_name_timer"); in btm_dev_init()93 btm_cb.devcb.read_rssi_timer = alarm_new("btm.read_rssi_timer"); in btm_dev_init()94 btm_cb.devcb.read_failed_contact_counter_timer = in btm_dev_init()96 btm_cb.devcb.read_automatic_flush_timeout_timer = in btm_dev_init()98 btm_cb.devcb.read_link_quality_timer = in btm_dev_init()100 btm_cb.devcb.read_tx_power_timer = alarm_new("btm.read_tx_power_timer"); in btm_dev_init()104 alarm_free(btm_cb.devcb.read_local_name_timer); in btm_dev_free()105 alarm_free(btm_cb.devcb.read_rssi_timer); in btm_dev_free()106 alarm_free(btm_cb.devcb.read_failed_contact_counter_timer); in btm_dev_free()107 alarm_free(btm_cb.devcb.read_automatic_flush_timeout_timer); in btm_dev_free()[all …]
191 tBTM_DEVCB* p_devcb = &btm_cb.devcb; in BTM_BleLoadLocalKeys()216 return btm_cb.devcb.ble_encryption_key_value; in BTM_GetDeviceEncRoot()224 return btm_cb.devcb.id_keys.irk; in BTM_GetDeviceIDRoot()232 return btm_cb.devcb.id_keys.dhk; in BTM_GetDeviceDHK()601 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleReceiverTest()626 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTransmitterTest()644 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTestEnd()653 tBTM_CMPL_CB* p_cb = btm_cb.devcb.p_le_test_cmd_cmpl_cb; in btm_ble_test_command_complete()655 btm_cb.devcb.p_le_test_cmd_cmpl_cb = NULL; in btm_ble_test_command_complete()1673 if (btm_cb.devcb.keep_rfu_in_auth_req) { in btm_ble_io_capabilities_req()[all …]
212 tBTM_DEVCB devcb; member315 memset(&devcb, 0, sizeof(devcb)); in Init()350 devcb.Init(); in Init()361 devcb.Free(); in Free()
246 if (btm_cb.devcb.id_keys.ir == zero) { in BTM_SecRegister()1490 && (btm_sec_io_map[p_dev_rec->rmt_io_caps][btm_cb.devcb.loc_io_caps])) in btm_sec_is_upgrade_possible()2155 btm_cb.devcb.loc_io_caps = btif_storage_get_local_io_caps(); in btm_sec_dev_reset()2538 evt_data.io_cap = btm_cb.devcb.loc_io_caps; in btm_io_capabilities_req()2673 btm_cb.devcb.loc_auth_req = evt_data.auth_req; in btm_io_capabilities_req()2674 btm_cb.devcb.loc_io_caps = evt_data.io_cap; in btm_io_capabilities_req()2789 if (btm_cb.devcb.loc_io_caps == BTM_IO_CAP_IO) { in btm_proc_sp_req_evt()2802 (btm_cb.devcb.loc_io_caps == BTM_IO_CAP_IO) && in btm_proc_sp_req_evt()2804 (btm_cb.devcb.loc_auth_req & BTM_AUTH_SP_YES))) { in btm_proc_sp_req_evt()2816 evt_data.cfm_req.just_works, btm_cb.devcb.loc_io_caps, in btm_proc_sp_req_evt()[all …]
539 static Octet16 get_local_irk() { return btm_cb.devcb.id_keys.irk; } in get_local_irk()
1648 if (btm_cb.devcb.p_rssi_cmpl_cb) return (BTM_BUSY); in BTM_ReadRSSI()1661 btm_cb.devcb.p_rssi_cmpl_cb = p_cb; in BTM_ReadRSSI()1662 alarm_set_on_mloop(btm_cb.devcb.read_rssi_timer, BTM_DEV_REPLY_TIMEOUT_MS, in BTM_ReadRSSI()1693 if (btm_cb.devcb.p_failed_contact_counter_cmpl_cb) return (BTM_BUSY); in BTM_ReadFailedContactCounter()1700 btm_cb.devcb.p_failed_contact_counter_cmpl_cb = p_cb; in BTM_ReadFailedContactCounter()1701 alarm_set_on_mloop(btm_cb.devcb.read_failed_contact_counter_timer, in BTM_ReadFailedContactCounter()1735 if (btm_cb.devcb.p_tx_power_cmpl_cb) return (BTM_BUSY); in BTM_ReadTxPower()1739 btm_cb.devcb.p_tx_power_cmpl_cb = p_cb; in BTM_ReadTxPower()1740 alarm_set_on_mloop(btm_cb.devcb.read_tx_power_timer, in BTM_ReadTxPower()1745 btm_cb.devcb.read_tx_pwr_addr = remote_bda; in BTM_ReadTxPower()[all …]