This enables per-peer NoAck handling in mac80211 when
the functionality is not offloaded to the drivers.

Signed-off-by: Vasanthakumar Thiagarajan <vthia...@codeaurora.org>
---
 net/mac80211/main.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 78f2574..2b136fb 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -565,6 +565,10 @@ struct ieee80211_hw *ieee80211_alloc_hw_nm(size_t 
priv_data_len,
 
        wiphy_ext_feature_set(wiphy, NL80211_EXT_FEATURE_RRM);
 
+       if (!ops->set_noack_tid_bitmap)
+               wiphy_ext_feature_set(wiphy,
+                                     NL80211_EXT_FEATURE_PER_STA_NOACK_MAP);
+
        wiphy->bss_priv_size = sizeof(struct ieee80211_bss);
 
        local = wiphy_priv(wiphy);
-- 
1.9.1

Reply via email to