mirror of https://github.com/hak5/openwrt-owl.git
8384c0dba0
When wifi radio is reset, some bits in (undocumented) USB registers may
flip. Patch adds setting them after radio reset (channel change, up/down).
With this patch stability of USB1.1 full-speed devices, connected directly
to AR9331 host port (no USB2.0 hub) is improved.
See "ar9331's usb stability issue" OpenWrt forum thread for details:
<https://forum.openwrt.org/viewtopic.php?id=39956>
Based on QCA's Open HAL WAR_USB_DISABLE_PLL_LOCK_DETECT() macro:
<https://github.com/qca/qcamain_open_hal_public/blob/master/hal/ar9300/ar9300_reset.c#L74>
Adapted to Linux mac80211 driver for 8Devices Carambola2 board by Mantas Pucka:
<
|
||
---|---|---|
.. | ||
acx-mac80211 | ||
ar7-atm | ||
avila-wdt | ||
brcm2708-gpu-fw | ||
broadcom-diag | ||
broadcom-wl | ||
button-hotplug | ||
ep80579-drivers | ||
gpio-button-hotplug | ||
hostap-driver | ||
i2c-gpio-custom | ||
lantiq | ||
linux | ||
mac80211 | ||
mmc_over_gpio | ||
om-watchdog | ||
rotary-gpio-custom | ||
rtc-rv5c386a | ||
spi-gpio-custom | ||
spi-ks8995 | ||
trelay | ||
w1-gpio-custom | ||
wrt55agv2-spidevs |