mt76: add MULTIPLE_BSSID support flags
authorJohn Crispin <john@phrozen.org>
Wed, 7 Oct 2020 12:03:44 +0000 (14:03 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 7 Oct 2020 12:06:43 +0000 (14:06 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
package/kernel/mt76/patches/100-mbss.patch [new file with mode: 0644]

diff --git a/package/kernel/mt76/patches/100-mbss.patch b/package/kernel/mt76/patches/100-mbss.patch
new file mode 100644 (file)
index 0000000..1e3b045
--- /dev/null
@@ -0,0 +1,13 @@
+Index: mt76-2020-09-23-b22977c2/mt7915/init.c
+===================================================================
+--- mt76-2020-09-23-b22977c2.orig/mt7915/init.c
++++ mt76-2020-09-23-b22977c2/mt7915/init.c
+@@ -268,6 +268,8 @@ mt7915_init_wiphy(struct ieee80211_hw *h
+       ieee80211_hw_set(hw, HAS_RATE_CONTROL);
+       ieee80211_hw_set(hw, SUPPORTS_TX_ENCAP_OFFLOAD);
++      ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
++      ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID_AP);
+       hw->max_tx_fragments = 4;
+ }