2021-10-11 16:27:26

by Jonas Dreßler

[permalink] [raw]
Subject: [PATCH v3 0/2] mwifiex: Work around firmware bugs on 88W8897 chip

This is the third revision of this patch, here's v1 and v2:
v1: https://lore.kernel.org/linux-wireless/[email protected]/
v2: https://lore.kernel.org/linux-wireless/[email protected]/

Changes between v2 and v3:
- Use consistent terminology (PCIe, USB)
- Read a generic register (PCI_VENDOR_ID) in the first patch since it's not
the actual readback that fixes the crash. I decided against using usleep()
because reading a register has proven to work on lots of devices for a few
months now, and usleep() only appears to work when a certain duration is used.
- Use read_poll_timeout() for wakeup patch

Jonas Dreßler (2):
mwifiex: Read a PCI register after writing the TX ring write pointer
mwifiex: Try waking the firmware until we get an interrupt

drivers/net/wireless/marvell/mwifiex/pcie.c | 36 ++++++++++++++++++---
1 file changed, 31 insertions(+), 5 deletions(-)

--
2.31.1