blob: a3c95e4555ad06b9cc06d121029bd0d96700a88a [file] [log] [blame]
developer1bc2ce22023-03-25 00:47:41 +08001From 86aa4e386d09edc4948878e894782a86ba4f8506 Mon Sep 17 00:00:00 2001
2From: Peter Chiu <chui-hao.chiu@mediatek.com>
3Date: Fri, 17 Mar 2023 11:08:04 +0800
4Subject: [PATCH 19/29] wifi: mt76: mt7996: init he and eht cap for AP_VLAN
5
6Add AP_VLAN types in __mt7996_set_stream_he_eht_caps to
7initialize the ht and eht caps. Without this patch, the
8BA response from VLAN AP would not include the ADDBA
9extension tag.
10
11Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
12---
13 mt7996/init.c | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/mt7996/init.c b/mt7996/init.c
17index 479b2cee..381917a8 100644
18--- a/mt7996/init.c
19+++ b/mt7996/init.c
20@@ -996,6 +996,7 @@ __mt7996_set_stream_he_eht_caps(struct mt7996_phy *phy,
21 switch (i) {
22 case NL80211_IFTYPE_STATION:
23 case NL80211_IFTYPE_AP:
24+ case NL80211_IFTYPE_AP_VLAN:
25 #ifdef CONFIG_MAC80211_MESH
26 case NL80211_IFTYPE_MESH_POINT:
27 #endif
28--
292.39.2
30