Skip to content

Commit b045d34

Browse files
committed
Bluetooth: Controller: Fix in-system ISR profiling for adv and conn
Fix in-system ISR profiling for advertiser and connection role for the missing implementation when there is CRC error. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent 6c95dab commit b045d34

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,11 @@ static void isr_rx(void *param)
12921292
}
12931293
}
12941294

1295+
if (IS_ENABLED(CONFIG_BT_CTLR_PROFILE_ISR)) {
1296+
lll_prof_cputime_capture();
1297+
lll_prof_send();
1298+
}
1299+
12951300
isr_rx_do_close:
12961301
radio_isr_set(isr_done, param);
12971302
radio_disable();

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,11 @@ static void isr_rx(void *param)
607607
}
608608
}
609609

610+
if (IS_ENABLED(CONFIG_BT_CTLR_PROFILE_ISR)) {
611+
lll_prof_cputime_capture();
612+
lll_prof_send();
613+
}
614+
610615
isr_rx_do_close:
611616
radio_isr_set(isr_done, param);
612617
radio_disable();

0 commit comments

Comments
 (0)