diff options
author | Eliad Peller <eliad@wizery.com> | 2015-03-01 09:10:01 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-03 15:56:07 +0100 |
commit | 954a86ef45ffa2db4e361d5344ed61464fb2a204 (patch) | |
tree | 9a07903bd9f4c21e78ff3622e08406c8f83d4fe8 /net/wireless | |
parent | 2ecc3905e6c51f545a44cc621216b5dfd7f94c50 (diff) | |
download | linux-954a86ef45ffa2db4e361d5344ed61464fb2a204.tar.bz2 |
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.c | 1 |
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: |