Home
last modified time | relevance | path

Searched refs:p_inq (Results 1 – 4 of 4) sorted by relevance

/external/bluetooth/bluedroid/stack/btm/
Dbtm_inq.c145 static void btm_initiate_inquiry (tBTM_INQUIRY_VAR_ST *p_inq);
481 tBTM_INQUIRY_VAR_ST *p_inq = &btm_cb.btm_inq_vars; in BTM_SetPeriodicInquiryMode() local
493 if (p_inq->inq_active || p_inq->inqfilt_active) in BTM_SetPeriodicInquiryMode()
516 p_inq->inqparms = *p_inqparms; in BTM_SetPeriodicInquiryMode()
517 p_inq->per_min_delay = min_delay; in BTM_SetPeriodicInquiryMode()
518 p_inq->per_max_delay = max_delay; in BTM_SetPeriodicInquiryMode()
519 p_inq->inq_cmpl_info.num_resp = 0; /* Clear the results counter */ in BTM_SetPeriodicInquiryMode()
520 p_inq->p_inq_results_cb = p_results_cb; in BTM_SetPeriodicInquiryMode()
522 p_inq->inq_active = (UINT8)((p_inqparms->mode == BTM_LIMITED_INQUIRY) ? in BTM_SetPeriodicInquiryMode()
529 p_inq->state = BTM_INQ_ACTIVE_STATE; in BTM_SetPeriodicInquiryMode()
[all …]
Dbtm_ble_gap.c153 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in BTM_BleObserve() local
164 if (btm_cb.btm_inq_vars.inq_active || p_inq->proc_mode != BTM_BLE_INQUIRY_NONE) in BTM_BleObserve()
169p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) ? BTM_BLE_SCAN_MODE_ACTI: p_inq->s… in BTM_BleObserve()
172 if (btsnd_hcic_ble_set_scan_params (p_inq->scan_type, in BTM_BleObserve()
173 … (UINT16)(!p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval), in BTM_BleObserve()
174 … (UINT16)(!p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window), in BTM_BleObserve()
182 p_inq->proc_mode = BTM_BLE_OBSERVE; in BTM_BleObserve()
188 btu_start_timer (&p_inq->inq_timer_ent, BTU_TTYPE_BLE_INQUIRY, duration); in BTM_BleObserve()
193 else if (p_inq->proc_mode == BTM_BLE_OBSERVE) in BTM_BleObserve()
1106 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_ble_start_inquiry() local
[all …]
Dbtm_ble_bgconn.c51 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_update_scanner_filter_policy() local
54 p_inq->sfp = scan_policy; in btm_update_scanner_filter_policy()
55p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) ? BTM_BLE_SCAN_MODE_ACTI: p_inq->s… in btm_update_scanner_filter_policy()
57 btsnd_hcic_ble_set_scan_params (p_inq->scan_type, in btm_update_scanner_filter_policy()
58 … (UINT16)(!p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval), in btm_update_scanner_filter_policy()
59 … (UINT16)(!p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window), in btm_update_scanner_filter_policy()
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_act.c42 static void bta_dm_inq_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir);
109 static void bta_dm_observe_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir);
2519 static void bta_dm_inq_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir) in bta_dm_inq_results_cb() argument
2526 bdcpy(result.inq_res.bd_addr, p_inq->remote_bd_addr); in bta_dm_inq_results_cb()
2527 memcpy(result.inq_res.dev_class, p_inq->dev_class, DEV_CLASS_LEN); in bta_dm_inq_results_cb()
2528 BTM_COD_SERVICE_CLASS(service_class, p_inq->dev_class); in bta_dm_inq_results_cb()
2530 result.inq_res.rssi = p_inq->rssi; in bta_dm_inq_results_cb()
2533 result.inq_res.ble_addr_type = p_inq->ble_addr_type; in bta_dm_inq_results_cb()
2534 result.inq_res.inq_result_type = p_inq->inq_result_type; in bta_dm_inq_results_cb()
2535 result.inq_res.device_type = p_inq->device_type; in bta_dm_inq_results_cb()
[all …]