diff options
author | Ilan Peer <ilan.peer@intel.com> | 2023-09-28 17:35:28 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-10-23 11:43:27 +0200 |
commit | 256caff27874c40c6f02f3e047e47bf4ae7702bc (patch) | |
tree | 85533c23cca48dc62d395109301a958e583bee99 /net/wireless | |
parent | 00f823b68ecee865bb2e4e6d5b7f4359eef0b3e3 (diff) |
wifi: cfg80211: Include operating class 137 in 6GHz band
Draft P802.11be_D3.1 added operating class to describe 320 MHz
operation in the 6GHz band. Include this new operating class in
ieee80211_operating_class_to_band().
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230928172905.bed4a007d81b.I3eb4b8fe39c0c1a988c98a103b11a9f45a92b038@changeid
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 213c9405e645..0893b7f57832 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -1999,6 +1999,7 @@ bool ieee80211_operating_class_to_band(u8 operating_class, *band = NL80211_BAND_5GHZ; return true; case 131 ... 135: + case 137: *band = NL80211_BAND_6GHZ; return true; case 81: |