aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-01-10 09:05:31 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-01-10 09:05:31 +0000
commitb9e6e5b3ff47c8ef9b67924626aaa70225218abc (patch)
tree3c408f2039707247906ad33fd0884ebb284ead62 /target/linux
parent6ea3026400acf678ee711b3eb60dd8e9b7d26109 (diff)
downloadupstream-b9e6e5b3ff47c8ef9b67924626aaa70225218abc.tar.gz
upstream-b9e6e5b3ff47c8ef9b67924626aaa70225218abc.tar.bz2
upstream-b9e6e5b3ff47c8ef9b67924626aaa70225218abc.zip
ath9k: add workaround for AR9331 USB host controller hang with USB1.1 devices
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: <https://github.com/8devices/carambola2/commit/b08b59ceb4e7f0bad4c0b17e703e1e5c4e168923> Ported to latest OpenWrt BB branch and tested on TP-Link TL-WR703N by Michel Stempin <michel.stempin@wanadoo.fr>. Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr> [juhosg: refresh and clean up the ath9k patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39212 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
0 files changed, 0 insertions, 0 deletions