ath9k: Add recovery mechanism for hw TSF timer
authorFelix Fietkau <nbd@openwrt.org>
Wed, 11 Jun 2014 10:48:14 +0000 (16:18 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:20 +0000 (15:49 -0400)
commit42eda11558559104c09f0d0924bbb210edfcf487
tree70877f8508b0848b5655c4ddeb7003d455383dad
parenta899b678d92fcd25215192dae26913cdb8a9b96d
ath9k: Add recovery mechanism for hw TSF timer

Configure the TSF based hardware timer for a channel switch.
Also set up backup software timer, in case the gen timer fails.
This could be caused by a hardware reset.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/channel.c
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/main.c