Skip to content

Commit 7573ac5

Browse files
cvinayakkartben
authored andcommitted
Bluetooth: Controller: Fix regression in Code PHY S2 Rx to any PHY Tx
Fix regression in Coded PHY S2 reception to any other PHY Tx in the s/w switch implementation. Regression in commit 55b7dba ("Bluetooth: Controller: Refactor sw_switch hal interface use"). Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
1 parent cd361c3 commit 7573ac5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_dppi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ static inline void hal_radio_sw_switch_coded_tx_config_set(uint8_t ppi_en,
559559
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_REGISTER_EVT =
560560
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_EVT;
561561
nrf_timer_subscribe_set(SW_SWITCH_TIMER,
562-
nrf_timer_capture_task_get(cc_s2),
562+
nrf_timer_capture_task_get(SW_SWITCH_TIMER_EVTS_COMP(group_index)),
563563
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI);
564564

565565
nrf_dppi_channels_enable(NRF_DPPIC,

subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/radio_nrf5_ppi.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,8 @@ static inline void hal_radio_sw_switch_coded_tx_config_set(uint8_t ppi_en,
517517
nrf_ppi_event_endpoint_setup(NRF_PPI, HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI,
518518
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_EVT);
519519
nrf_ppi_task_endpoint_setup(NRF_PPI, HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI,
520-
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_TASK(cc_s2));
520+
HAL_SW_SWITCH_TIMER_S8_DISABLE_PPI_TASK(
521+
SW_SWITCH_TIMER_EVTS_COMP(group_index)));
521522

522523
nrf_ppi_channels_enable(
523524
NRF_PPI,

0 commit comments

Comments
 (0)