]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dt-bindings: document common IEEE 802.11 frequency limit property
authorRafał Miłecki <rafal@milecki.pl>
Wed, 4 Jan 2017 17:58:29 +0000 (18:58 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Jan 2017 12:53:31 +0000 (13:53 +0100)
This new file should be used for properties that apply to all wireless
devices.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Documentation/devicetree/bindings/net/wireless/ieee80211.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/net/wireless/ieee80211.txt b/Documentation/devicetree/bindings/net/wireless/ieee80211.txt
new file mode 100644 (file)
index 0000000..f6442b1
--- /dev/null
@@ -0,0 +1,24 @@
+Common IEEE 802.11 properties
+
+This provides documentation of common properties that are valid for all wireless
+devices.
+
+Optional properties:
+ - ieee80211-freq-limit : list of supported frequency ranges in KHz. This can be
+       used for devices that in a given config support less channels than
+       normally. It may happen chipset supports a wide wireless band but it is
+       limited to some part of it due to used antennas or power amplifier.
+       An example case for this can be tri-band wireless router with two
+       identical chipsets used for two different 5 GHz subbands. Using them
+       incorrectly could not work or decrease performance noticeably.
+
+Example:
+
+pcie@0,0 {
+       reg = <0x0000 0 0 0 0>;
+       wifi@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               ieee80211-freq-limit = <2402000 2482000>,
+                                      <5170000 5250000>;
+       };
+};