public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* mwifiex: Maximal number of AP interfaces
@ 2020-06-11 11:30 Pali Rohár
  2021-02-17 12:18 ` Pali Rohár
  0 siblings, 1 reply; 3+ messages in thread
From: Pali Rohár @ 2020-06-11 11:30 UTC (permalink / raw)
  To: Ganapathi Bhat, Amitkumar Karwar, Xinming Hu, linux-wireless,
	Marek Behún

Hello!

mwifiex kernel driver has currently hardcoded maximal number of AP
interfaces to 3. It is defined by MWIFIEX_MAX_UAP_NUM constant and
'.max' member in 'mwifiex_ap_sta_limits' structure.

I tried to increase this limit and figured out that SD8997 card can
create four independent BSSIDs in AP mode. Not only 3. Scanning for wifi
networks on another device proved that SD8997 was really broadcasting 4
SSIDs.

When I tried to create fifth AP interface/SSID then mwifiex received
error "mwifiex_cmd_timeout_func: Timeout cmd id = 0x4d, act = 0x1" and
then card firmware crashed. SDIO card was then unregistered from bus.

I would like to increase maximal number of AP interface to 4 as it is
supported by SD8997 card. But it cannot be done easily as for other
cards managed by mwifiex driver which do not support more then 3 ap
interfaces, it can cause problems...

Looks like that maximal number of AP interfaces is firmware dependent
number. Do you know if it is possible to retrieve this maximal count
from card firmware via some special command?

Or do you know how to determinate maximal number of AP interfaces?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-17 13:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-11 11:30 mwifiex: Maximal number of AP interfaces Pali Rohár
2021-02-17 12:18 ` Pali Rohár
2021-07-17 13:53   ` Pali Rohár

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox