projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa1f108
)
cfg80211: extend ieee80211_operating_class_to_band() for 6GHz
author
Arend van Spriel
<arend.vanspriel@broadcom.com>
Fri, 2 Aug 2019 11:31:01 +0000
(13:31 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Wed, 21 Aug 2019 08:53:50 +0000
(10:53 +0200)
Add 6GHz operating class range as defined in 802.11ax D4.1 Annex E.
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Leon Zegers <leon.zegers@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Link:
https://lore.kernel.org/r/1564745465-21234-5-git-send-email-arend.vanspriel@broadcom.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/util.c
patch
|
blob
|
history
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index c18d4fc440f42abd7fcb53c21e063593aca68163..27171aa10e9f55a18663ffee19825ade085ad134 100644
(file)
--- a/
net/wireless/util.c
+++ b/
net/wireless/util.c
@@
-1474,6
+1474,9
@@
bool ieee80211_operating_class_to_band(u8 operating_class,
case 128 ... 130:
*band = NL80211_BAND_5GHZ;
return true;
+ case 131 ... 135:
+ *band = NL80211_BAND_6GHZ;
+ return true;
case 81:
case 82:
case 83: