ath10k: remove VHT capabilities from 2.4GHz
authorJohannes Berg <johannes.berg@intel.com>
Thu, 21 Apr 2016 13:17:49 +0000 (16:17 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 6 May 2016 15:55:36 +0000 (18:55 +0300)
commit94ee3f19b15e6193cddab8f7a82af0023efff101
tree228fc6d0f6903f0aa0a53058903ee21c02a0221b
parent8527f68849caadd0b7c560c613f2e18c9e1f8d47
ath10k: remove VHT capabilities from 2.4GHz

According to the spec, VHT doesn't exist in 2.4GHz.

There are vendor extensions to allow a subset of VHT to work
(notably 256-QAM), but since mac80211 doesn't support those
advertising VHT capability on 2.4GHz leads to the behaviour
of reporting VHT capabilities but not being able to use any
of them due to mac80211's code requiring 80 MHz support.

Remove the VHT capabilities from 2.4GHz for now. If mac80211
gets extended to use the (likely Broadcom) vendor IEs for it
and handles the lack of 80 MHz support, it can be added back.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c