developer | 1bc2ce2 | 2023-03-25 00:47:41 +0800 | [diff] [blame] | 1 | From 86aa4e386d09edc4948878e894782a86ba4f8506 Mon Sep 17 00:00:00 2001 |
| 2 | From: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 3 | Date: Fri, 17 Mar 2023 11:08:04 +0800 |
| 4 | Subject: [PATCH 19/29] wifi: mt76: mt7996: init he and eht cap for AP_VLAN |
| 5 | |
| 6 | Add AP_VLAN types in __mt7996_set_stream_he_eht_caps to |
| 7 | initialize the ht and eht caps. Without this patch, the |
| 8 | BA response from VLAN AP would not include the ADDBA |
| 9 | extension tag. |
| 10 | |
| 11 | Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> |
| 12 | --- |
| 13 | mt7996/init.c | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/mt7996/init.c b/mt7996/init.c |
| 17 | index 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 | -- |
| 29 | 2.39.2 |
| 30 | |