Lines Matching refs:adv_data
62 tBTM_BLE_TRACK_ADV_DATA adv_data; in btm_ble_batchscan_filter_track_adv_vse_cback() local
81 memset(&adv_data, 0, sizeof(tBTM_BLE_TRACK_ADV_DATA)); in btm_ble_batchscan_filter_track_adv_vse_cback()
83 adv_data.client_if = (uint8_t)ble_advtrack_cb.ref_value; in btm_ble_batchscan_filter_track_adv_vse_cback()
85 STREAM_TO_UINT8(adv_data.filt_index, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
86 STREAM_TO_UINT8(adv_data.advertiser_state, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
87 STREAM_TO_UINT8(adv_data.advertiser_info_present, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
88 STREAM_TO_BDADDR(adv_data.bd_addr, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
89 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
92 if (ADV_INFO_PRESENT == adv_data.advertiser_info_present) { in btm_ble_batchscan_filter_track_adv_vse_cback()
93 STREAM_TO_UINT8(adv_data.tx_power, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
94 STREAM_TO_UINT8(adv_data.rssi_value, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
95 STREAM_TO_UINT16(adv_data.time_stamp, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
97 STREAM_TO_UINT8(adv_data.adv_pkt_len, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
98 if (adv_data.adv_pkt_len > 0) { in btm_ble_batchscan_filter_track_adv_vse_cback()
99 adv_data.p_adv_pkt_data = in btm_ble_batchscan_filter_track_adv_vse_cback()
100 static_cast<uint8_t*>(osi_malloc(adv_data.adv_pkt_len)); in btm_ble_batchscan_filter_track_adv_vse_cback()
101 memcpy(adv_data.p_adv_pkt_data, p, adv_data.adv_pkt_len); in btm_ble_batchscan_filter_track_adv_vse_cback()
104 STREAM_TO_UINT8(adv_data.scan_rsp_len, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
105 if (adv_data.scan_rsp_len > 0) { in btm_ble_batchscan_filter_track_adv_vse_cback()
106 adv_data.p_scan_rsp_data = in btm_ble_batchscan_filter_track_adv_vse_cback()
107 static_cast<uint8_t*>(osi_malloc(adv_data.scan_rsp_len)); in btm_ble_batchscan_filter_track_adv_vse_cback()
108 memcpy(adv_data.p_scan_rsp_data, p, adv_data.scan_rsp_len); in btm_ble_batchscan_filter_track_adv_vse_cback()
113 STREAM_TO_UINT8(adv_data.filt_index, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
114 STREAM_TO_UINT8(adv_data.addr_type, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
115 STREAM_TO_BDADDR(adv_data.bd_addr, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
116 STREAM_TO_UINT8(adv_data.advertiser_state, p); in btm_ble_batchscan_filter_track_adv_vse_cback()
120 adv_data.filt_index, adv_data.addr_type, in btm_ble_batchscan_filter_track_adv_vse_cback()
121 adv_data.advertiser_state); in btm_ble_batchscan_filter_track_adv_vse_cback()
124 BTM_SecAddBleDevice(adv_data.bd_addr, NULL, BT_DEVICE_TYPE_BLE, in btm_ble_batchscan_filter_track_adv_vse_cback()
125 adv_data.addr_type); in btm_ble_batchscan_filter_track_adv_vse_cback()
127 ble_advtrack_cb.p_track_cback(&adv_data); in btm_ble_batchscan_filter_track_adv_vse_cback()