From e7b22d159ce4c207b7195f4a41e0663db03631a6 Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <josef.schlehofer@nic.cz>
Date: Fri, 14 Oct 2022 04:38:20 +0200
Subject: [PATCH] patches/openwrt: mac80211: increase SSID for mwifiex:
 accepted

---
 ...e-SSID-global-limit-up-to-4-for-mwif.patch | 64 -------------------
 1 file changed, 64 deletions(-)
 delete mode 100644 patches/openwrt/hack/0021-mac80211-increase-SSID-global-limit-up-to-4-for-mwif.patch

diff --git a/patches/openwrt/hack/0021-mac80211-increase-SSID-global-limit-up-to-4-for-mwif.patch b/patches/openwrt/hack/0021-mac80211-increase-SSID-global-limit-up-to-4-for-mwif.patch
deleted file mode 100644
index 68ea00af9..000000000
--- a/patches/openwrt/hack/0021-mac80211-increase-SSID-global-limit-up-to-4-for-mwif.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From 8b89a83ece0f7e680855a77a43c72373de7a60e4 Mon Sep 17 00:00:00 2001
-From: Josef Schlehofer <pepe.schlehofer@gmail.com>
-Date: Wed, 24 Nov 2021 12:52:32 +0100
-Subject: [PATCH] mac80211: increase SSID global limit up to 4 for mwifiex
-
-Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
----
- ...crease-the-global-limit-up-to-4-SSID.patch | 44 +++++++++++++++++++
- 1 file changed, 44 insertions(+)
- create mode 100644 package/kernel/mac80211/patches/mwl/900-mwifiex-increase-the-global-limit-up-to-4-SSID.patch
-
-diff --git a/package/kernel/mac80211/patches/mwl/900-mwifiex-increase-the-global-limit-up-to-4-SSID.patch b/package/kernel/mac80211/patches/mwl/900-mwifiex-increase-the-global-limit-up-to-4-SSID.patch
-new file mode 100644
-index 0000000000..be7ecff25a
---- /dev/null
-+++ b/package/kernel/mac80211/patches/mwl/900-mwifiex-increase-the-global-limit-up-to-4-SSID.patch
-@@ -0,0 +1,44 @@
-+From ef8098cd6cb8b5989afef2e8461fe6ba9570a854 Mon Sep 17 00:00:00 2001
-+From: Josef Schlehofer <pepe.schlehofer@gmail.com>
-+Date: Wed, 24 Nov 2021 12:47:40 +0100
-+Subject: [PATCH] mwifiex: increase the global limit up to 4 SSID
-+
-+Firmware for SDIO (88W8997), which we use, allows up to 4 SSID.
-+Unfortunately, driver (even in mainline kernel) has a global limit for all
-+Marvell cards up to 3 SSID.
-+
-+Our kernel guy tested it on our SDIO Wi-Fi add-on that it works with 4
-+SSID. So, let's increase the global limit from 3 to 4.
-+
-+Ideally, this patch should be done differently before sending
-+upstream. It means that limit definition should be moved to
-+the card-specific structure.
-+---
-+ drivers/net/wireless/marvell/mwifiex/decl.h | 4 ++--
-+ 1 file changed, 2 insertions(+), 2 deletions(-)
-+
-+diff --git a/drivers/net/wireless/marvell/mwifiex/decl.h b/drivers/net/wireless/marvell/mwifiex/decl.h
-+index cdc9972..f9bcbf5 100644
-+--- a/drivers/net/wireless/marvell/mwifiex/decl.h
-++++ b/drivers/net/wireless/marvell/mwifiex/decl.h
-+@@ -30,7 +30,7 @@
-+ #include <net/cfg80211.h>
-+ 
-+ #define MWIFIEX_BSS_COEX_COUNT	     2
-+-#define MWIFIEX_MAX_BSS_NUM         (3)
-++#define MWIFIEX_MAX_BSS_NUM         (4)
-+ 
-+ #define MWIFIEX_DMA_ALIGN_SZ	    64
-+ #define MWIFIEX_RX_HEADROOM	    64
-+@@ -112,7 +112,7 @@
-+ #define MWIFIEX_RATE_INDEX_OFDM0   4
-+ 
-+ #define MWIFIEX_MAX_STA_NUM		3
-+-#define MWIFIEX_MAX_UAP_NUM		3
-++#define MWIFIEX_MAX_UAP_NUM		4
-+ #define MWIFIEX_MAX_P2P_NUM		3
-+ 
-+ #define MWIFIEX_A_BAND_START_FREQ	5000
-+-- 
-+2.30.2
-+
--- 
-2.30.2
-
-- 
GitLab