Bluetooth: Controller: Hold back Extended Scannable PDUs
When Extended Active Scanning hold back the received PDUs in a linked list and send it to HCI together so that fields present across these PDUs can be aggregated for generating the LE Extended Advertising Report. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
bbb53446ad
commit
bf957850ca
2 changed files with 28 additions and 32 deletions
|
@ -5101,12 +5101,7 @@ no_ext_hdr:
|
|||
}
|
||||
|
||||
if (node_rx_curr == node_rx) {
|
||||
/* Detect the scan response in the list of node_rx */
|
||||
if (node_rx_curr->hdr.rx_ftr.scan_rsp) {
|
||||
evt_type = BT_HCI_LE_ADV_EVT_TYPE_SCAN_RSP;
|
||||
} else {
|
||||
evt_type = evt_type_curr;
|
||||
}
|
||||
evt_type = evt_type_curr;
|
||||
adv_addr_type = adv_addr_type_curr;
|
||||
adv_addr = adv_addr_curr;
|
||||
direct_addr_type = direct_addr_type_curr;
|
||||
|
@ -5122,6 +5117,11 @@ no_ext_hdr:
|
|||
} else {
|
||||
/* TODO: Validate current value with previous */
|
||||
|
||||
/* Detect the scan response in the list of node_rx */
|
||||
if (node_rx_curr->hdr.rx_ftr.scan_rsp) {
|
||||
evt_type |= BT_HCI_LE_ADV_EVT_TYPE_SCAN_RSP;
|
||||
}
|
||||
|
||||
if (!adv_addr) {
|
||||
adv_addr_type = adv_addr_type_curr;
|
||||
adv_addr = adv_addr_curr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue