CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/11/11 18:46:16

Modified files:
        sys/dev/ic     : r92creg.h rtwnvar.h 
        sys/dev/usb    : if_urtwn.c 

Log message:
Power the RTL8188CU/8192CU off in urtwn_stop().

urtwn_stop() left the chip running, so the chip was never reset between inits,
and under TX load the device could hang with "device timeout"; only a replug
recovered it.

Power the chip off on stop, ported from FreeBSD urtwn_r92c_power_off()
(R92C path mostly from NetBSD), so each init starts from the same state
as after a replug.  Bring back the APSD_CTRL "Initialize MAC" step in
urtwn_r92c_power_on(), removed in r1.85 when nothing turned the MAC
off.  RTL8188E/8188F/8192E are left alone.

Patch by Mikolaj Kucharski

Also tested by jmc@ and myself

Reply via email to