2017-09-25 07:01:37

by Belisko Marek

[permalink] [raw]
Subject: mwifiex: Firmware wakeup failed in 4.1 kernel

Hi,

I'm using 4.1 stock kernel on imx cpu and 8897 wifi chip connected
over pcie to cpu. I did stress test by disabling AP in loop when wifi
card is connected to perform scanning and reconnect. After 25 attempts
I'll get following and after that wifi is unusable:

mwifiex_pcie 0000:01:00.0: Firmware wakeup failed
mwifiex_pcie 0000:01:00.0: failed to get signal information
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
mwifiex_pcie 0000:01:00.0: failed to get signal information
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
mwifiex_pcie 0000:01:00.0: failed to get signal information
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
mwifiex_pcie 0000:01:00.0: failed to get signal information
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
mwifiex_pcie 0000:01:00.0: failed to get signal information
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
mwifiex_pcie 0000:01:00.0: failed to get signal information
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
ieee80211 phy0: deleting the crypto keys
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
ieee80211 phy0: deleting the crypto keys
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
ieee80211 phy0: deleting the crypto keys
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
ieee80211 phy0: deleting the crypto keys
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
ieee80211 phy0: deleting the crypto keys
mwifiex_pcie 0000:01:00.0: PREP_CMD: FW in reset state
ieee80211 phy0: deleting the crypto keys

I did look to some new patches and found following patch [0] but it
didn't help. Is there anything else I can try to fix this issue?
Thanks a lot.

[0] - https://patchwork.kernel.org/patch/9516615/

BR,

marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com