Nimble: Add support for LE Power Control

This commit is contained in:
Rahul Tank
2024-02-14 18:17:46 +05:30
committed by Abhinav Kudnar
parent a9a00c423b
commit 4ebc01dbc1
+10
View File
@@ -247,6 +247,16 @@ ble_hs_startup_le_set_evmask_tx(void)
* 0x0000000400000000 LE Subrate change event
*/
mask |= 0x0000000400000000;
#endif
#if MYNEWT_VAL(BLE_POWER_CONTROL)
if (version >= BLE_HCI_VER_BCS_5_2) {
/**
* Enable the following LE events:
* 0x0000000080000000 LE Path Loss Threshold event
* 0x0000000100000000 LE Transmit Power Reporting event
*/
mask |= 0x0000000180000000;
}
#endif