From: michael-dev Date: Fri, 13 Dec 2013 11:20:31 +0100 Subject: [ath9k-devel] ath9k/AR9380: Is it possible to increase the number of supported BSS In-Reply-To: References: Message-ID: <5424d4843d1870b26c9dd3a5879d64e1@fami-braun.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Hi, to whom it may concern. I'm currently using the following patch and it seems to work for me using 12 BSS (just some short superficial testing). Not sure if BSTUCK_THRESH modification is needed. No warranty given ;) Regards, M. Braun --- compat-wireless-2013-11-05/drivers/net/wireless/ath/ath9k/init.c 2013-12-12 22:16:49.905847035 +0100 +++ compat-wireless-2013-11-05/drivers/net/wireless/ath/ath9k/init.c 2013-12-12 22:16:59.122863038 +0100 @@ -843,7 +843,7 @@ { .max = 2048, .types = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_P2P_CLIENT) | BIT(NL80211_IFTYPE_WDS) }, - { .max = 8, .types = + { .max = 16, .types = #ifdef CPTCFG_MAC80211_MESH BIT(NL80211_IFTYPE_MESH_POINT) | #endif --- compat-wireless-2013-11-05/drivers/net/wireless/ath/ath9k/ath9k.h 2013-12-13 10:03:08.957657934 +0100 +++ compat-wireless-2013-11-05/drivers/net/wireless/ath/ath9k/ath9k.h 2013-12-13 10:03:32.212694050 +0100 @@ -381,8 +381,8 @@ * number of BSSIDs) if a given beacon does not go out even after waiting this * number of beacon intervals, the game's up. */ -#define BSTUCK_THRESH 9 -#define ATH_BCBUF 8 +#define BSTUCK_THRESH 17 +#define ATH_BCBUF 16 #define ATH_DEFAULT_BINTVAL 100 /* TU */ #define ATH_DEFAULT_BMISS_LIMIT 10 #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024)