archive mirror
 help / color / mirror / Atom feed
* wifi: 88W8801: AP mode crash in sd8801_uapsta.bin firmware (Linux v5.4.yy)
@ 2021-05-24 12:56 Lukasz Majewski
  0 siblings, 0 replies; only message in thread
From: Lukasz Majewski @ 2021-05-24 12:56 UTC (permalink / raw)
  To: linux-firmware, Sharvari Harisangam, Ganapathi Bhat
  Cc: Pali Rohár, Marek Behún, l.majewski

[-- Attachment #1: Type: text/plain, Size: 3041 bytes --]

Dear Community,

I'm testing the 88W8801 SoC based module. I'm trying to set it to AP

Unfortunately with those verions of FW:
info: MWIFIEX VERSION: mwifiex 1.0 (14.76.36.p139) and 14.68.36.p146
the hostapd is not working (for the latter FW STA works, for former
don't - I've reported this in the other mail).

How to reproduce:
hostapd -d -B -i mlan0 /etc/hostapd.conf

Kernel 5.4.24 (stable tree)

mwifiex_cmd_timeout_func: Timeout cmd id = 0xb1, act = 0x0
which corresponds to: HostCmd_CMD_UAP_BSS_START

More verbose output:

mwifiex_sdio mmc0:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id =
0xb1, act = 0x0 mwifiex_sdio mmc0:0001:1: num_data_h2c_failure = 0
mwifiex_sdio mmc0:0001:1: num_cmd_h2c_failure = 0
mwifiex_sdio mmc0:0001:1: is_cmd_timedout = 1
mwifiex_sdio mmc0:0001:1: num_tx_timeout = 0
mwifiex_sdio mmc0:0001:1: last_cmd_index = 4
mwifiex_sdio mmc0:0001:1: last_cmd_id: 28 00 28 00 5b 00 b0 00 b1 00
mwifiex_sdio mmc0:0001:1: last_cmd_act: 13 00 13 00 01 00 01 00 00 00
mwifiex_sdio mmc0:0001:1: last_cmd_resp_index = 3
mwifiex_sdio mmc0:0001:1: last_cmd_resp_id: 28 80 28 80 5b 80 b0 80 28
80 mwifiex_sdio mmc0:0001:1: last_event_index = 4
mwifiex_sdio mmc0:0001:1: last_event: 00 00 0b 00 0a 00 0b 00 0a 00
mwifiex_sdio mmc0:0001:1: data_sent=0 cmd_sent=1
mwifiex_sdio mmc0:0001:1: ps_mode=1 ps_state=0
mwifiex_sdio mmc0:0001:1: Failed to start the BSS
mwifiex_sdio mmc0:0001:1: Failed to start AP
mwifiex_sdio mmc0:0001:1: ===mwifiex driverinfo dump start===
mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0
(14.76.36.p139) mwifiex_sdio mmc0:0001:1: SDIO register dump start

Afteterward, any attempt to communicat with the module ends with:
mwifiex_sdio mmc0:0001:1: PREP_CMD: FW is in bad state
and reboot is required.

cat /etc/hostapd.conf 

There a document regarding using the STA mode for 88W8801 from NXP:
"How to integrate Linux driver of 88W8801 To i.MX6ULL-EVK And
L5.4.70_2.3.0 BSP"
Written by:
NXP CAS-TIC Wireless MCU Team, Weidong Sun 05/16/2021

It uses similar FW version (p160 vs p146) - 14.68.36.p160, but only
with STA working (the AP mode is not presented as working one - it is
apparentlty not tested).
In the above document some proprietary (not mwifiex) wi-fi driver
was used for the test.

Working STA for 14.68.36.p146 (and probably p160) is what I see with
mwifiex driver. 

I'm wondering if anybody managed to have the AP (hostapd) mode working
with this SoC with any known FW version?

Thanks in advance for sharing the knowledge.

Best regards,

Lukasz Majewski


DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email:

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-24 12:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 12:56 wifi: 88W8801: AP mode crash in sd8801_uapsta.bin firmware (Linux v5.4.yy) Lukasz Majewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).