]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: disable hardware ad-hoc flag on ar934x rev 3
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Sep 2014 20:49:44 +0000 (22:49 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2014 17:17:39 +0000 (13:17 -0400)
commit7661726d5b4033ce0fbf5689fc64b465ae2b87a4
tree5d91ab087f9062bed49254c03f38381f728a8fe7
parentc48eb616cb59340d06fa091328b80f04f30c8a34
ath9k_hw: disable hardware ad-hoc flag on ar934x rev 3

On AR934x rev 3, settin the ad-hoc flag completely messes up hardware
state - beacons get stuck, almost no packets make it out, hardware is
constantly reset.

When leaving out that flag and setting up the hw like in AP mode, TSF
timers won't be automatically synced, but at least the rest works.

AR934x rev 2 and older are not affected by this bug

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/reg.h