浏览代码

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 12 年之前
父节点
当前提交
55300a13d2
共有 1 个文件被更改,包括 3 次插入0 次删除
  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;