From 2f9555a2f18f5d6775e08cd739631a5096a8a472 Mon Sep 17 00:00:00 2001 From: Lorenzo Bianconi Date: Thu, 23 Sep 2021 16:29:33 +0200 Subject: [PATCH] mt76: mt7915: enable twt responder capability Enable TWT support in AP mode Tested-by: Peter Chiu Tested-by: Evelyn Tsai Signed-off-by: Lorenzo Bianconi Signed-off-by: Felix Fietkau --- mt7915/init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mt7915/init.c b/mt7915/init.c index cd2a0586..a269808b 100644 --- a/mt7915/init.c +++ b/mt7915/init.c @@ -780,6 +780,8 @@ mt7915_init_he_caps(struct mt7915_phy *phy, enum nl80211_band band, switch (i) { case NL80211_IFTYPE_AP: + he_cap_elem->mac_cap_info[0] |= + IEEE80211_HE_MAC_CAP0_TWT_RES; he_cap_elem->mac_cap_info[2] |= IEEE80211_HE_MAC_CAP2_BSR; he_cap_elem->mac_cap_info[4] |=