summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2013-04-23 08:54:21 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-05-16 22:39:38 +0200
commit55300a13d2ca1d59f659cf00b9d8dc93ea225882 (patch)
treee7e998aa77b784495188919744ce03479efdf207
parentmac80211: add support for per-chain signal strength reporting (diff)
downloadlinux-55300a13d2ca1d59f659cf00b9d8dc93ea225882.tar.xz
linux-55300a13d2ca1d59f659cf00b9d8dc93ea225882.zip
cfg80211: add 60GHz regulatory class
Add regulatory class for 60GHz band, according to the last specification. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--net/wireless/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c
index f5ad4d94ba88..b11052be09be 100644
--- a/net/wireless/util.c
+++ b/net/wireless/util.c
@@ -1169,6 +1169,9 @@ bool ieee80211_operating_class_to_band(u8 operating_class,
case 84:
*band = IEEE80211_BAND_2GHZ;
return true;
+ case 180:
+ *band = IEEE80211_BAND_60GHZ;
+ return true;
}
return false;