diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-12 16:35:56 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-16 14:19:28 -0400 |
commit | 689e756fad5b89d25bb47d40a0e08e3aba79510f (patch) | |
tree | 7faf88ec50578fa5302675022bd1d8a2b2315eb6 /drivers | |
parent | 94c84ee61478ff19411fb684d42e3c4f84ae7e88 (diff) |
ath9k_hw: add support for 8 AP mode interfaces
Also tweak beacon response times for better stability with the shorter
timer intervals.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 0a37631390db..a277cf6f339d 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -370,7 +370,7 @@ struct ath_vif { | |||
370 | * number of beacon intervals, the game's up. | 370 | * number of beacon intervals, the game's up. |
371 | */ | 371 | */ |
372 | #define BSTUCK_THRESH 9 | 372 | #define BSTUCK_THRESH 9 |
373 | #define ATH_BCBUF 4 | 373 | #define ATH_BCBUF 8 |
374 | #define ATH_DEFAULT_BINTVAL 100 /* TU */ | 374 | #define ATH_DEFAULT_BINTVAL 100 /* TU */ |
375 | #define ATH_DEFAULT_BMISS_LIMIT 10 | 375 | #define ATH_DEFAULT_BMISS_LIMIT 10 |
376 | #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) | 376 | #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) |
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 2aaa1fd4df2f..72c5bcd4886d 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/drivers/net/wireless/ath/ath9k/hw.c | |||
@@ -437,8 +437,8 @@ static void ath9k_hw_init_config(struct ath_hw *ah) | |||
437 | { | 437 | { |
438 | int i; | 438 | int i; |
439 | 439 | ||
440 | ah->config.dma_beacon_response_time = 2; | 440 | ah->config.dma_beacon_response_time = 1; |
441 | ah->config.sw_beacon_response_time = 10; | 441 | ah->config.sw_beacon_response_time = 6; |
442 | ah->config.additional_swba_backoff = 0; | 442 | ah->config.additional_swba_backoff = 0; |
443 | ah->config.ack_6mb = 0x0; | 443 | ah->config.ack_6mb = 0x0; |
444 | ah->config.cwm_ignore_extcca = 0; | 444 | ah->config.cwm_ignore_extcca = 0; |