linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] dt-bindings: net: wireless: mt76: add ru property in power-limits node
@ 2020-06-16 12:46 Shayne Chen
  2020-06-16 12:46 ` [PATCH 2/4] mt76: extend DT rate power limits to support 11ax devices Shayne Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Shayne Chen @ 2020-06-16 12:46 UTC (permalink / raw)
  To: Felix Fietkau
  Cc: devicetree, Ryder Lee, Evelyn Tsai, linux-wireless,
	linux-mediatek, Lorenzo Bianconi, Shayne Chen

This new property of power-limits node can be used to set per-rate
tx power limits for 802.11ax rates.

Cc: devicetree@vger.kernel.org
Tested-by: Evelyn Tsai <evelyn.tsai@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
---
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
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-16 18:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 12:46 [PATCH 1/4] dt-bindings: net: wireless: mt76: add ru property in power-limits node Shayne Chen
2020-06-16 12:46 ` [PATCH 2/4] mt76: extend DT rate power limits to support 11ax devices Shayne Chen
2020-06-16 12:46 ` [PATCH 3/4] mt76: mt7915: add support for DT rate power limits Shayne Chen
2020-06-16 18:28   ` Felix Fietkau
2020-06-16 12:46 ` [PATCH 4/4] mt76: mt7915: add support to read per-rate tx power from HW in debugfs Shayne Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).