Skip to content

Commit 91fe1d9

Browse files
cvinayakaescolar
authored andcommitted
Bluetooth: controller: split: Dont use continuous directed adv in nRF51
In nRF51 which uses CONFIG_BT_CTLR_LOW_LAT, the advertising PDU tend to get aborted in directed advertising at event slot durations. Dont not use continuous directed advertising event in nRF51 where CONFIG_BT_CTLR_LOW_LAT scheduling design alternative is used. Instead close the event after each triplet of PDU has been tx-ed. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 5289447 commit 91fe1d9

File tree

1 file changed

+2
-1
lines changed
  • subsys/bluetooth/controller/ll_sw/nordic/lll

1 file changed

+2
-1
lines changed

subsys/bluetooth/controller/ll_sw/nordic/lll/lll_adv.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,8 @@ static void isr_done(void *param)
479479
#endif /* CONFIG_BT_HCI_MESH_EXT */
480480

481481
#if defined(CONFIG_BT_PERIPHERAL)
482-
if (!lll->chan_map_curr && lll->is_hdcd) {
482+
if (!IS_ENABLED(CONFIG_BT_CTLR_LOW_LAT) && lll->is_hdcd &&
483+
!lll->chan_map_curr) {
483484
lll->chan_map_curr = lll->chan_map;
484485
}
485486
#endif /* CONFIG_BT_PERIPHERAL */

0 commit comments

Comments
 (0)