summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2015-03-01 09:10:01 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-03-03 15:56:07 +0100
commit954a86ef45ffa2db4e361d5344ed61464fb2a204 (patch)
tree9a07903bd9f4c21e78ff3622e08406c8f83d4fe8 /net/wireless
parent2ecc3905e6c51f545a44cc621216b5dfd7f94c50 (diff)
cfg80211: add operating classes 128-130
Operating classes 128-130 are defined in the 11ac spec for the 5GHz band. Update ieee80211_operating_class_to_band() to support them. Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index 6903dbdcb8c1..f7b35980af69 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -1296,6 +1296,7 @@ bool ieee80211_operating_class_to_band(u8 operating_class,
switch (operating_class) {
case 112:
case 115 ... 127:
+ case 128 ... 130:
*band = IEEE80211_BAND_5GHZ;
return true;
case 81: