summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/3945-rs.c
diff options
context:
space:
mode:
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>2012-07-02 08:32:32 +0200
committerJohannes Berg <johannes.berg@intel.com>2012-07-02 15:11:10 +0200
commit3a0c52a6d82cc41da965284412608c74aece34e4 (patch)
tree4238ce4e3ed8ca7fde647491f48de7d3633a53e3 /drivers/net/wireless/iwlegacy/3945-rs.c
parentmac80211: allow calling ieee80211_ap_probereq_get() during auth/assoc (diff)
downloadlinux-3a0c52a6d82cc41da965284412608c74aece34e4.tar.xz
linux-3a0c52a6d82cc41da965284412608c74aece34e4.zip
cfg80211: add 802.11ad (60gHz band) support
Add enumerations for both cfg80211 and nl80211. This expands wiphy.bands etc. arrays. Extend channel <-> frequency translation to cover 60g band and modify the rate check logic since there are no legacy mandatory rates (only MCS is used.) Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/3945-rs.c')
-rw-r--r--drivers/net/wireless/iwlegacy/3945-rs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-rs.c b/drivers/net/wireless/iwlegacy/3945-rs.c
index 4b10157d8686..d4fd29ad90dc 100644
--- a/drivers/net/wireless/iwlegacy/3945-rs.c
+++ b/drivers/net/wireless/iwlegacy/3945-rs.c
@@ -946,7 +946,7 @@ il3945_rate_scale_init(struct ieee80211_hw *hw, s32 sta_id)
case IEEE80211_BAND_5GHZ:
rs_sta->expected_tpt = il3945_expected_tpt_a;
break;
- case IEEE80211_NUM_BANDS:
+ default:
BUG();
break;
}