diff options
author | Rajkumar Manoharan <rmanohar@qti.qualcomm.com> | 2014-05-01 15:37:43 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-05-06 22:51:01 +0400 |
commit | b59d45e74971488551f5d912ccd24eeb8b2b07f9 (patch) | |
tree | 57b905c962026153552090832db5da903f24c891 /drivers/net/wireless/ath/ath9k | |
parent | 76c939832aa95f6e0e84f173b36906eea2235cee (diff) | |
download | linux-b59d45e74971488551f5d912ccd24eeb8b2b07f9.tar.xz |
ath9k: Advertise support for AP mode channel width changes
This will enable AP mode to change channel width dynamically
based on 20/40 intolerance report sent by associated client.
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 21e174cfc909..a6e273a2c44b 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -714,7 +714,8 @@ static void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw) if (AR_SREV_9160_10_OR_LATER(sc->sc_ah) || ath9k_modparam_nohwcrypt) hw->flags |= IEEE80211_HW_MFP_CAPABLE; - hw->wiphy->features |= NL80211_FEATURE_ACTIVE_MONITOR; + hw->wiphy->features |= (NL80211_FEATURE_ACTIVE_MONITOR | + NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE); if (!config_enabled(CONFIG_ATH9K_TX99)) { hw->wiphy->interface_modes = |