]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ath9k: Advertise support for AP mode channel width changes
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Thu, 1 May 2014 11:37:43 +0000 (17:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 May 2014 18:51:01 +0000 (14:51 -0400)
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>
drivers/net/wireless/ath/ath9k/init.c

index 21e174cfc909d4b211bd945f4bec31cd31e50c0d..a6e273a2c44b232cb70f38b96f7bb8713694ddd3 100644 (file)
@@ -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 =