[RFC/PATCH] mwifiex: Driver - Firmware Glitches

Florian Achleitner
2015-04-16T09:17:13Z

Hi,

we are using a Marvell SD8787-based module by Lesswire, which is connected to
an imx28 through sdio. We are testing with the most recent kernel from
wireless-drivers-next and Firmware 14.66.35.p52.

Frequently, we see 'glitches' between driver and Firmware. The most recent
driver answers most of them with an attempt to reset the module, reload the
firmware, and start over.

However, this only works for us, because our sdio interface triggers a
hardware reset for the wireless module whenever it probes the device. Without
this hardware reset (sdio reset only), the module fails to restart.

Is the necessity of frequent hardware resets a commonly known issue with this
chip/firmware? Anybody else experiencing these?

Currently, we see three different scenarios. One of them is currently not
answered by reset. Refer to the upcoming patch.

(1) mwifiex_cmd_timeout_func: Timeout cmd .. Ok, after reset.
(2) Firmware wakeup failed.. Ok, after reset.
(3) DNLD_CMD: host to card failed. No reset triggered. See patch.

I can provide detailed logs, if you want.

Regards,
Florian