Bluetooth: Controller: Fix dynamic tx power for Broadcast ISO

Fix compilation error for ISO Broadcaster with dynamix Tx
power support, and remove setting tx power for ISO
Synchronized Receiver.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2022-11-17 08:55:47 +05:30 committed by Carles Cufí
commit dfb5988da2
2 changed files with 1 additions and 7 deletions

View file

@ -231,7 +231,7 @@ static int prepare_cb_common(struct lll_prepare_param *p)
radio_reset();
#if defined(CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL)
radio_tx_power_set(lll->tx_pwr_lvl);
radio_tx_power_set(lll->adv->tx_pwr_lvl);
#else
radio_tx_power_set(RADIO_TXP_DEFAULT);
#endif

View file

@ -285,12 +285,6 @@ static int prepare_cb_common(struct lll_prepare_param *p)
/* Start setting up of Radio h/w */
radio_reset();
#if defined(CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL)
radio_tx_power_set(lll->tx_pwr_lvl);
#else
radio_tx_power_set(RADIO_TXP_DEFAULT);
#endif
phy = lll->phy;
radio_phy_set(phy, PHY_FLAGS_S8);
radio_pkt_configure(RADIO_PKT_CONF_LENGTH_8BIT, lll->max_pdu,