Searched refs:p_ble_cb (Results 1 – 3 of 3) sorted by relevance
510 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_suspend_resolving_list_activity() local515 if (p_ble_cb->suspended_rl_state != BTM_BLE_RL_IDLE) return true; in btm_ble_suspend_resolving_list_activity()517 p_ble_cb->suspended_rl_state = BTM_BLE_RL_IDLE; in btm_ble_suspend_resolving_list_activity()519 if (p_ble_cb->inq_var.adv_mode == BTM_BLE_ADV_ENABLE) { in btm_ble_suspend_resolving_list_activity()521 p_ble_cb->suspended_rl_state |= BTM_BLE_RL_ADV; in btm_ble_suspend_resolving_list_activity()531 if (BTM_BLE_IS_SCAN_ACTIVE(p_ble_cb->scan_activity)) { in btm_ble_suspend_resolving_list_activity()533 p_ble_cb->suspended_rl_state |= BTM_BLE_RL_SCAN; in btm_ble_suspend_resolving_list_activity()537 p_ble_cb->suspended_rl_state |= BTM_BLE_RL_INIT; in btm_ble_suspend_resolving_list_activity()554 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_resume_resolving_list_activity() local556 if (p_ble_cb->suspended_rl_state & BTM_BLE_RL_ADV) btm_ble_start_adv(); in btm_ble_resume_resolving_list_activity()[all …]
1179 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_start_inquiry() local1187 if (BTM_BLE_IS_INQ_ACTIVE(p_ble_cb->scan_activity)) { in btm_ble_start_inquiry()1192 if (!BTM_BLE_IS_SCAN_ACTIVE(p_ble_cb->scan_activity)) { in btm_ble_start_inquiry()1202 p_ble_cb->inq_var.scan_type = BTM_BLE_SCAN_MODE_ACTI; in btm_ble_start_inquiry()1203 p_ble_cb->inq_var.scan_duplicate_filter = BTM_BLE_DUPLICATE_DISABLE; in btm_ble_start_inquiry()1205 } else if ((p_ble_cb->inq_var.scan_interval != in btm_ble_start_inquiry()1207 (p_ble_cb->inq_var.scan_window != BTM_BLE_LOW_LATENCY_SCAN_WIN)) { in btm_ble_start_inquiry()1220 p_ble_cb->scan_activity |= mode; in btm_ble_start_inquiry()1228 alarm_set_on_mloop(p_ble_cb->inq_var.inquiry_timer, duration_ms, in btm_ble_start_inquiry()2043 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_stop_inquiry() local[all …]
2239 tBTM_BLE_CB* p_ble_cb = &btm_cb.ble_ctr_cb; in btm_ble_set_random_address() local2246 if (BTM_BLE_IS_SCAN_ACTIVE(p_ble_cb->scan_activity)) btm_ble_stop_scan(); in btm_ble_set_random_address()2254 if (BTM_BLE_IS_SCAN_ACTIVE(p_ble_cb->scan_activity)) btm_ble_start_scan(); in btm_ble_set_random_address()