mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
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>
This commit is contained in:
parent
2ecc3905e6
commit
954a86ef45
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue