diff options
author | Rajkumar Manoharan <rmanohar@qti.qualcomm.com> | 2014-11-17 09:44:15 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2014-11-17 09:47:11 -0500 |
commit | 78157a1c4478746b051e0932019b126b0c947e22 (patch) | |
tree | 1d7550cfff21f12cb6dc750d1c8eead7b31b3e91 /drivers/net | |
parent | 8868b12c0bb5e3d1be32353d54b5e84bb4b3bea1 (diff) |
ath10k: 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: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath10k/mac.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 9e4748fbcf8a..2a224f519d66 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c | |||
@@ -4927,6 +4927,8 @@ int ath10k_mac_register(struct ath10k *ar) | |||
4927 | ar->hw->wiphy->max_remain_on_channel_duration = 5000; | 4927 | ar->hw->wiphy->max_remain_on_channel_duration = 5000; |
4928 | 4928 | ||
4929 | ar->hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD; | 4929 | ar->hw->wiphy->flags |= WIPHY_FLAG_AP_UAPSD; |
4930 | ar->hw->wiphy->features |= NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE; | ||
4931 | |||
4930 | /* | 4932 | /* |
4931 | * on LL hardware queues are managed entirely by the FW | 4933 | * on LL hardware queues are managed entirely by the FW |
4932 | * so we only advertise to mac we can do the queues thing | 4934 | * so we only advertise to mac we can do the queues thing |