Explorar o código

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>
Vladimir Kondratiev %!s(int64=12) %!d(string=hai) anos
pai
achega
55300a13d2
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      net/wireless/util.c

+ 3 - 0
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;