[PATCH v2 0/3] wifi: rt2x00: improve watchdog support

From: Shiji Yang
Date: Sat Nov 04 2023 - 04:58:37 EST


This series patches will introduce a new designed DMA busy watchdog
and fix two small issues when calling ieee80211_restart_hw().

Changes in v2:
* Disable DMA watchdog for USB NICs because they don't have relevant
register.
* Extend 'watchdog' module parameter to support different watchdogs.
* Clear the 'intf->enable_beacon' flag instead of hacking the
conditions of the 'else if' block. The logic still the same but
should be easy to understand what happened there.
* Clear the beacon before restarting the beacon queue. It should be
like this.
* Unconditional stop the beacon queue in rt2x00lib_disable_radio().
It is no need to check the reset status because there is a flag in
rt2x00 queue struct to record the queue start/stop status. It won't
be stopped twice. The procedure still the same as patch v1.


P.S. It seems that this cover letter won't be included in the patch
series in https://lore.kernel.org/. It's an issue with the Outlook
email or I missed something?


Shiji Yang (3):
wifi: rt2x00: introduce DMA busy check watchdog for rt2800
wifi: rt2x00: disable RTS threshold for rt2800 by default
wifi: rt2x00: restart beacon queue when hardware reset

drivers/net/wireless/ralink/rt2x00/rt2800.h | 4 +
.../net/wireless/ralink/rt2x00/rt2800lib.c | 81 ++++++++++++++++---
drivers/net/wireless/ralink/rt2x00/rt2x00.h | 3 +
.../net/wireless/ralink/rt2x00/rt2x00dev.c | 3 +
.../net/wireless/ralink/rt2x00/rt2x00mac.c | 11 +++
5 files changed, 89 insertions(+), 13 deletions(-)

--
2.39.2