Files
Yakun Xu 9de1bba33c [radio] support max-power-table-mbm backed by SPINEL_PROP_PHY_CHAN_TARGET_POWER (#13790)
This commit adds the `max-power-table-mbm` radio URL parameter on POSIX to configure per-channel max transmit power in 0.01 dBm (mBm) units, while keeping the existing 1-dBm `max-power-table` parameter working.

- Add `OT_RADIO_POWER_INVALID_IN_MBM` (`INT16_MAX`) and bump `OPENTHREAD_API_VERSION`.

- Update `MaxPowerTable` and `RadioSpinel::SetChannelMaxTransmitPower()` to store and transmit per-channel max power in 0.01 dBm using `SPINEL_PROP_PHY_CHAN_TARGET_POWER`, with automatic fallback to `SPINEL_PROP_PHY_CHAN_MAX_POWER` when the RCP does not support `SPINEL_PROP_PHY_CHAN_TARGET_POWER`.

- Update POSIX `Radio::ProcessMaxPowerTable()` to parse `max-power-table-mbm` (in 0.01 dBm) and `max-power-table` (in 1 dBm).

- Add GTest and expect test coverage for `max-power-table-mbm` and legacy fallback.
2026-10-30 17:50:58 -07:00
..