summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2013-04-23 09:54:21 +0300
committerJohannes Berg <johannes.berg@intel.com>2013-05-16 22:39:38 +0200
commit55300a13d2ca1d59f659cf00b9d8dc93ea225882 (patch)
treee7e998aa77b784495188919744ce03479efdf207 /net/wireless
parentef0621e805f9ef76eaf31ce6205028fe467e9ca9 (diff)
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>
Diffstat (limited to 'net/wireless')
-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;