Commit 689e756f authored by Felix Fietkau's avatar Felix Fietkau Committed by John W. Linville

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: default avatarFelix Fietkau <nbd@openwrt.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 94c84ee6
...@@ -370,7 +370,7 @@ struct ath_vif { ...@@ -370,7 +370,7 @@ struct ath_vif {
* number of beacon intervals, the game's up. * number of beacon intervals, the game's up.
*/ */
#define BSTUCK_THRESH 9 #define BSTUCK_THRESH 9
#define ATH_BCBUF 4 #define ATH_BCBUF 8
#define ATH_DEFAULT_BINTVAL 100 /* TU */ #define ATH_DEFAULT_BINTVAL 100 /* TU */
#define ATH_DEFAULT_BMISS_LIMIT 10 #define ATH_DEFAULT_BMISS_LIMIT 10
#define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024)
......
...@@ -437,8 +437,8 @@ static void ath9k_hw_init_config(struct ath_hw *ah) ...@@ -437,8 +437,8 @@ static void ath9k_hw_init_config(struct ath_hw *ah)
{ {
int i; int i;
ah->config.dma_beacon_response_time = 2; ah->config.dma_beacon_response_time = 1;
ah->config.sw_beacon_response_time = 10; ah->config.sw_beacon_response_time = 6;
ah->config.additional_swba_backoff = 0; ah->config.additional_swba_backoff = 0;
ah->config.ack_6mb = 0x0; ah->config.ack_6mb = 0x0;
ah->config.cwm_ignore_extcca = 0; ah->config.cwm_ignore_extcca = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment