Bluetooth: Controller: Use maximum Adv PDU size time reservation

Use the maximum advertising PDU size time reservation
consider the Advertising Data could be updated from zero to
maximum support size. If maximum time reservation is
disabled then time reservation corresponding to the
Advertising Data present at the time of the start/enable
of Advertising is used.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2022-06-28 20:28:39 +05:30 committed by Carles Cufí
commit 918585263e
4 changed files with 49 additions and 13 deletions

View file

@ -232,6 +232,17 @@ config BT_CTLR_ADV_SYNC_PDU_BACK2BACK_AFS
Specific AUX Frame Space to be used for back-to-back transmission of
periodic advertising trains. Time specified in microseconds.
config BT_CTLR_ADV_RESERVE_MAX
bool "Use maximum Advertising PDU size time reservation"
depends on BT_BROADCASTER && BT_CTLR_ADV_EXT
default y
help
Use the maximum advertising PDU size time reservation considering the
Advertising Data could be updated from zero to maximum support size.
If maximum time reservation is disabled then time reservation
corresponding to the Advertising Data present at the time of the
start/enable of Advertising is used.
config BT_CTLR_ADV_DATA_BUF_MAX
int "Advertising Data Maximum Buffers"
depends on BT_BROADCASTER