Bluetooth: controller: fix failing EBQ advertising tests
Updates the chaining for advertising. Instead of unconditionally adding a new PDU when new data is added we now instead fill the last PDU in the chain with the incoming data, only adding a new PDU when there is not enough room. This reduces the nr. of PDUs used for advertising, and also fixes some qualification failures Signed-off-by: Andries Kruithof <andries.kruithof@nordicsemi.no>
This commit is contained in:
parent
a601b43ef8
commit
d00d44c925
3 changed files with 111 additions and 49 deletions
|
@ -75,7 +75,6 @@ int broadcaster_multiple(void)
|
|||
printk("Bluetooth init failed (err %d)\n", err);
|
||||
return err;
|
||||
}
|
||||
|
||||
for (int index = 0; index < CONFIG_BT_EXT_ADV_MAX_ADV_SET; index++) {
|
||||
/* Use advertising set instance index as SID */
|
||||
adv_param.sid = index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue