Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 954a86ef authored by Eliad Peller's avatar Eliad Peller Committed by Johannes Berg
Browse files

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: default avatarEliad Peller <eliadx.peller@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 2ecc3905
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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: