]> asedeno.scripts.mit.edu Git - linux.git/commit
cfg80211: support ieee80211-freq-limit DT property
authorRafał Miłecki <rafal@milecki.pl>
Wed, 4 Jan 2017 17:58:31 +0000 (18:58 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 6 Jan 2017 13:01:13 +0000 (14:01 +0100)
commite691ac2f75b69bee743f0370d79454ba4429b175
tree548678366bc42207f957ae6aa4603936faa1ab21
parent4787cfa08476d4193c35d958f564f643bb6ae234
cfg80211: support ieee80211-freq-limit DT property

This patch adds a helper for reading that new property and applying
limitations of supported channels specified this way.
It is used with devices that normally support a wide wireless band but
in a given config are limited to some part of it (usually due to board
design). For example a dual-band chipset may be able to support one band
only because of used antennas.
It's also common that tri-band routers have separated radios for lower
and higher part of 5 GHz band and it may be impossible to say which is
which without a DT info.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
[add new function to documentation, fix link]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Documentation/80211/cfg80211.rst
include/net/cfg80211.h
net/wireless/Makefile
net/wireless/of.c [new file with mode: 0644]