opnsense-src/sys/dev/rtwn
Adrian Chadd 8838f3c32a rtwn: ensure TX work isn't scheduled during reset / abort
Don't schedule work during reset / abort.  For USB NICs, work
must not be scheduled during a call to rtwn_usb_abort_xfers(),
as then it'll cause the call to usbd_transfer_drain() to hang.

This fixes a hang I've been seeing where the NIC hits a TX timeout
and then the reset/re-init path is called.  If data is scheduled
to be transmitted in that window, the call to usbd_transfer_drain()
would hang and require a hard reboot to recover.

Differential Revision: https://reviews.freebsd.org/D47479
2024-11-08 08:26:05 -08:00
..
pci
rtl8188e
rtl8192c
rtl8192e
rtl8812a
rtl8821a
usb
if_rtwn.c
if_rtwn_beacon.c
if_rtwn_beacon.h
if_rtwn_calib.c
if_rtwn_calib.h
if_rtwn_cam.c
if_rtwn_cam.h
if_rtwn_debug.h
if_rtwn_efuse.c
if_rtwn_efuse.h
if_rtwn_fw.c
if_rtwn_fw.h
if_rtwn_nop.h
if_rtwn_ridx.h
if_rtwn_rx.c
if_rtwn_rx.h
if_rtwn_task.c
if_rtwn_task.h
if_rtwn_tx.c rtwn: ensure TX work isn't scheduled during reset / abort 2024-11-08 08:26:05 -08:00
if_rtwn_tx.h
if_rtwnreg.h
if_rtwnvar.h