ath9k: cleanup slot time and ack/cts timeout handling
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jan 2010 01:33:40 +0000 (02:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Jan 2010 22:02:08 +0000 (17:02 -0500)
commit0005baf4a31efe6de6f922f73ccbd3762a110062
treea5eb0a5e336c17be79c3a3ca1ac823064155ed84
parent145b6d1a56f224d15c61aa7ecfda9a1171b47b6a
ath9k: cleanup slot time and ack/cts timeout handling

Previously ath9k left the initialization of slot timing and ACK/CTS
timeout to the mode specific initvals. This does not handle short vs
long slot in 2.4 GHz and uses a rather strange value for the 2.4 GHz
ACK timeout (64 usec).
This patch uses the proper ath9k_hw functions for setting slot time and
timeouts and also implements the switch between short and long slot
time in 2.4 GHz

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