ath10k: advertise support for AP mode channel width changes
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Mon, 17 Nov 2014 14:44:15 +0000 (16:44 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 17 Nov 2014 14:47:11 +0000 (16:47 +0200)
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: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c

index 9e4748fbcf8a3a9f9845f7c07ee801bde6b7fb98..2a224f519d666571dc1510ff5fb09d4b8746e093 100644 (file)
@@ -4927,6 +4927,8 @@ int ath10k_mac_register(struct ath10k *ar)
        ar->hw->wiphy->max_remain_on_channel_duration = 5000;
 
        ar->hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD;
+       ar->hw->wiphy->features |= NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE;
+
        /*
         * on LL hardware queues are managed entirely by the FW
         * so we only advertise to mac we can do the queues thing