SD8801 firmware disconnect issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SD8801 firmware disconnect issue

2,484件の閲覧回数
jupiter_hce
Contributor III

Hi,

I use a WiFi module based on Marvell Avastar 88W8801 chipset so I am running VLAN mrvl firmware sd8801_uapsta.bin, the driver source revealed that the WLAN (SD8801) firmware version W14.68.36.p204 set WiFi connection then immediately to send a disconnection event to driver mwifiex (version 1.0 14.68.36.p204), given the firmware is binary in the repository https://github.com/NXP/mwifiex-firmware.git, we are not able to see the it's source code and we don't know what is going on for the firmware to send disconnect constantly, can your NXP developers to check if it is your firmware bugs or what is going on? If you could send me a verbose debug version firmware, I'll run it to get clues, the NXP firmware and driver developers are:

Ganapathi Bhat <ganapathi.bhat@nxp.com>
Amitkumar Karwar <amitkumar.karwar@nxp.com>
Avinash Patil <avinash.patil@nxp.com>
Sharvari Harisangam <sharvari.harisangam@nxp.com>

James Cao <zheng.cao@nxp.com>

Cathy Luo <xiaohua.luo@nxp.com>

Thank you.

Kind regards,

jh

 

 

0 件の賞賛
返信
3 返答(返信)

2,462件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @jupiter_hce ,

New driver for 88W8801 has been sent to distributor FAE Sumit Malhotra, 

you can try the driver.

 

Have a good day!

Regards,

weidong

0 件の賞賛
返信

2,443件の閲覧回数
jupiter_hce
Contributor III

Hi weidong,

Thanks for the response and new firmware, Malhotra is going to be off on holiday, could you please directly contact to my email address?

I've tried the attached new firmware 14.88.36.p165, but it did not work, it is worse than the last version firmware 14.68.36.p204 in the NXP repository.

Here is the debugging detail for firmware version 14.88.36.p165:

When the host driver sent a message to the firmware for WiFi scan, the firmware broken in scan and stopped further operations, the host driver received an error of HostCmd_CMD_802_11_SCAN_EXT.

Here is the debugging detail for the latest firmware version 14.68.36.p204 in the NXP repository and mwifiex in the kernel branch linux-5.10.y of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git:

Host driver sent initialization and connection commands to the target firmware, the target firmware was able to associate with the WiFi network, then the host driver received an error HostCmd_CMD_STA_CONFIGURE and the firmware sent a disconnection signal to the host driver repeatedly. Why the firmware failed on HostCmd_CMD_STA_CONFIGURE while it was already associated withe the WiFi network? That does not make sense, it seems a firmware bug.

Two possible sources to cause the problem in version 14.68.36.p204:

(1) It could be caused by firmware bugs

(2) If the firmware works, it could be caused by communication between the firmware and the host driver mwifiex.

The version 14.88.36.p165 seems completely different to the version 14.68.36.p204, what host driver did you use to test version 14.88.36.p165? What is the difference between 14.88.36.p165 and version 14.68.36.p204?

To narrow down the source of the problem, can we stick with the current version 14.68.36.p204 of firmware in master branch of https://github.com/NXP/mwifiex-firmware.git repository, and the host
mwifiex SDIO and mwifiex drivers in branch linux-5.10.y of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git for debugging?

Could you please confirm my following questions?

How did you test the firmware version 14.68.36.p204 on the Marvell Avastar 88W8801 chipset and with which host drivers?

Did you test the firmware version 14.68.36.p204 with mwifiex_sdio and mwifiex drivers on kernel branch linux-5.10.y?

Please also let me know what will be the host debug option for the host driver to get target firmware debugging logs?

Thank you.

Kind regards,

jh

0 件の賞賛
返信

2,286件の閲覧回数
PetrB
Contributor I

Hello everybody,

I can confirm 14.68.36.p204 doesn't work (associates but link doesn't go up) with Linux 5.10.x for me.

14.68.36.p60 works. No apparent difference in kernel logs.

-------------------------------------------------------------------------------------------------------------------------------

mmc0: new high speed SDIO card at address 0001
mwifiex_sdio mmc0:0001:1: info: FW download over, size 255988 bytes
mwifiex_sdio mmc0:0001:1: WLAN FW is active
mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during initialization
mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (14.68.36.p204)
mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (14.68.36.p204)mwifiex_sdio mmc0:0001:1: info: trying to associate to 'Stargate' bssid f4:ec:38:b2:6d:88
mwifiex_sdio mmc0:0001:1: info: associated to bssid f4:ec:38:b2:6d:88 successfully
IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x23f error, result=0x2

 

vs.

 

mmc0: new high speed SDIO card at address 0001
mwifiex_sdio mmc0:0001:1: info: FW download over, size 258680 bytes
mwifiex_sdio mmc0:0001:1: WLAN FW is active
mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x242 error, result=0x2
mwifiex_sdio mmc0:0001:1: mwifiex_process_cmdresp: cmd 0x242 failed during initialization
mwifiex_sdio mmc0:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (14.68.36.p60)
mwifiex_sdio mmc0:0001:1: driver_version = mwifiex 1.0 (14.68.36.p60)
mwifiex_sdio mmc0:0001:1: info: trying to associate to 'Stargate' bssid f4:ec:38:b2:6d:88
mwifiex_sdio mmc0:0001:1: info: associated to bssid f4:ec:38:b2:6d:88 successfully
IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0x23f error, result=0x2

---------------------------------------------------------------------------------------------------------------

I can try experimental FW if available.

 

Regards,

Petr

0 件の賞賛
返信