This new property of power-limits node can be used to set per-rate tx power limits for 802.11ax rates. Cc: devicetree@xxxxxxxxxxxxxxx Tested-by: Evelyn Tsai <evelyn.tsai@xxxxxxxxxxxx> Signed-off-by: Shayne Chen <shayne.chen@xxxxxxxxxxxx> --- The series is based on Felix's https://patchwork.kernel.org/project/linux-wireless/list/?series=295809 --- .../devicetree/bindings/net/wireless/mediatek,mt76.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt index 9d9ace0cfbf9..aefe880d36ff 100644 --- a/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt +++ b/Documentation/devicetree/bindings/net/wireless/mediatek,mt76.txt @@ -101,6 +101,13 @@ Properties: which the rate set applies, followed by either 8 (MT7603/MT7628) or 10 (all other chips) power limit values. The order of the channel bandwidth settings is: 20, 40, 80, 160 MHz. +- ru: + sets of per-rate power limit values for 802.11ax rates for multiple + channel bandwidth or resource unit settings. + Each set starts with the number of channel bandwidth or resource unit + settings for which the rate set applies, followed by 12 power limit + values. The order of the channel resource unit settings is: + RU26, RU52, RU106, RU242/SU20, RU484/SU40, RU996/SU80, RU2x996/SU160. power-limit example: @@ -114,11 +121,14 @@ power-limits { ofdm = <23 23 23 23 23 23 23 23>; mcs = <1 23 23 23 23 23 23 23 23 23 23>, <3 22 22 22 22 22 22 22 22 22 22>; + ru = <3 22 22 22 22 22 22 22 22 22 22 22 22>, + <4 20 20 20 20 20 20 20 20 20 20 20 20>; }; r2 { channels = <100 181>; ofdm = <14 14 14 14 14 14 14 14>; mcs = <4 14 14 14 14 14 14 14 14 14 14>; + ru = <7 14 14 14 14 14 14 14 14 14 14 14 14>; }; }; }; -- 2.18.0