cfg80211: add 60GHz regulatory class
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Tue, 23 Apr 2013 06:54:21 +0000 (09:54 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 16 May 2013 20:39:38 +0000 (22:39 +0200)
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>
net/wireless/util.c

index f5ad4d9..b11052b 100644 (file)
@@ -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;