Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_inq.c130 static void btm_initiate_inquiry (tBTM_INQUIRY_VAR_ST *p_inq);
461 tBTM_INQUIRY_VAR_ST *p_inq = &btm_cb.btm_inq_vars; in BTM_SetPeriodicInquiryMode() local
473 if (p_inq->inq_active || p_inq->inqfilt_active) in BTM_SetPeriodicInquiryMode()
496 p_inq->inqparms = *p_inqparms; in BTM_SetPeriodicInquiryMode()
497 p_inq->per_min_delay = min_delay; in BTM_SetPeriodicInquiryMode()
498 p_inq->per_max_delay = max_delay; in BTM_SetPeriodicInquiryMode()
499 p_inq->inq_cmpl_info.num_resp = 0; /* Clear the results counter */ in BTM_SetPeriodicInquiryMode()
500 p_inq->p_inq_results_cb = p_results_cb; in BTM_SetPeriodicInquiryMode()
502 p_inq->inq_active = (UINT8)((p_inqparms->mode == BTM_LIMITED_INQUIRY) ? in BTM_SetPeriodicInquiryMode()
512 p_inq->state = BTM_INQ_CLR_FILT_STATE; in BTM_SetPeriodicInquiryMode()
[all …]
Dbtm_ble_bgconn.c119 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_update_scanner_filter_policy() local
121 UINT32 scan_interval = !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in btm_update_scanner_filter_policy()
122 UINT32 scan_window = !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in btm_update_scanner_filter_policy()
126 p_inq->sfp = scan_policy; in btm_update_scanner_filter_policy()
127p_inq->scan_type = p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE ? BTM_BLE_SCAN_MODE_ACTI : p_inq->sc… in btm_update_scanner_filter_policy()
131 btsnd_hcic_ble_set_scan_params(p_inq->scan_type, (UINT16)scan_interval, in btm_update_scanner_filter_policy()
138 btm_ble_send_extended_scan_params(p_inq->scan_type, scan_interval, scan_window, in btm_update_scanner_filter_policy()
Dbtm_ble_gap.c348 tBTM_BLE_INQ_CB *p_inq = &btm_cb.ble_ctr_cb.inq_var; in BTM_BleObserve() local
351 UINT32 scan_interval = !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in BTM_BleObserve()
352 UINT32 scan_window = !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in BTM_BleObserve()
355 p_inq->scan_interval, p_inq->scan_window); in BTM_BleObserve()
377 p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) ? in BTM_BleObserve()
378 BTM_BLE_SCAN_MODE_ACTI: p_inq->scan_type; in BTM_BleObserve()
387 btsnd_hcic_ble_set_scan_params(p_inq->scan_type, (UINT16)scan_interval, in BTM_BleObserve()
394 btm_ble_send_extended_scan_params(p_inq->scan_type, scan_interval, scan_window, in BTM_BleObserve()
399 p_inq->scan_duplicate_filter = BTM_BLE_DUPLICATE_DISABLE; in BTM_BleObserve()
1951 tBTM_INQUIRY_VAR_ST *p_inq = &btm_cb.btm_inq_vars; in btm_ble_start_inquiry() local
[all …]
/system/bt/bta/dm/
Dbta_dm_act.c49 static void bta_dm_inq_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir);
124 static void bta_dm_observe_results_cb(tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir);
2455 static void bta_dm_inq_results_cb (tBTM_INQ_RESULTS *p_inq, UINT8 *p_eir) in bta_dm_inq_results_cb() argument
2462 bdcpy(result.inq_res.bd_addr, p_inq->remote_bd_addr); in bta_dm_inq_results_cb()
2463 memcpy(result.inq_res.dev_class, p_inq->dev_class, DEV_CLASS_LEN); in bta_dm_inq_results_cb()
2464 BTM_COD_SERVICE_CLASS(service_class, p_inq->dev_class); in bta_dm_inq_results_cb()
2466 result.inq_res.rssi = p_inq->rssi; in bta_dm_inq_results_cb()
2469 result.inq_res.ble_addr_type = p_inq->ble_addr_type; in bta_dm_inq_results_cb()
2470 result.inq_res.inq_result_type = p_inq->inq_result_type; in bta_dm_inq_results_cb()
2471 result.inq_res.device_type = p_inq->device_type; in bta_dm_inq_results_cb()
[all …]