Bluetooth: controller: Fix tx power level set and get
Fix implementation to correctly return the configured default Tx Power Level. Also, fix the missing use of RADIO_TXP_DEFAULT in the new ULL/LLL implementation of Advertiser and Observer states. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
5d78a5f07a
commit
d570e139dc
4 changed files with 38 additions and 16 deletions
|
@ -11529,8 +11529,10 @@ u8_t ll_tx_pwr_lvl_get(u16_t handle, u8_t type, s8_t *tx_pwr_lvl)
|
|||
|
||||
/*TODO: check type here for current or maximum */
|
||||
|
||||
/* TODO: Support TX Power Level other than 0dBm */
|
||||
*tx_pwr_lvl = 0;
|
||||
/* TODO: Support TX Power Level other than default when dynamic
|
||||
* updates is implemented.
|
||||
*/
|
||||
*tx_pwr_lvl = RADIO_TXP_DEFAULT;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue