wlan-ap-Telecominfraproject/feeds/mediatek-sdk/mt76/patches/a01-max_ap_assoc_sta.patch
John Crispin 51437a78c0 mt76: populate wiphy->max_ap_assoc_sta
Fixes: WIFI-13513
Signed-off-by: John Crispin <john@phrozen.org>
2024-08-02 13:56:32 +02:00

12 lines
288 B
Diff

--- a/mt7915/main.c
+++ b/mt7915/main.c
@@ -231,6 +231,8 @@ int mt7915_init_vif(struct mt7915_phy *p
bool ext_phy = phy != &dev->phy;
int idx, ret = 0;
+ wiphy->max_ap_assoc_sta = 128;
+
/* To differentiate the mac address of TXD and TXCMD interface */
vif->addr[0] |= bf_en;