Root/package/mac80211/patches/511-ath9k_increase_bcbuf.patch

1--- a/drivers/net/wireless/ath/ath9k/ath9k.h
2+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
3@@ -370,7 +370,7 @@ struct ath_vif {
4  * number of beacon intervals, the game's up.
5  */
6 #define BSTUCK_THRESH 9
7-#define ATH_BCBUF 4
8+#define ATH_BCBUF 8
9 #define ATH_DEFAULT_BINTVAL 100 /* TU */
10 #define ATH_DEFAULT_BMISS_LIMIT 10
11 #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024)
12--- a/drivers/net/wireless/ath/ath9k/hw.c
13+++ b/drivers/net/wireless/ath/ath9k/hw.c
14@@ -389,8 +389,8 @@ static void ath9k_hw_init_config(struct
15 {
16     int i;
17 
18- ah->config.dma_beacon_response_time = 2;
19- ah->config.sw_beacon_response_time = 10;
20+ ah->config.dma_beacon_response_time = 1;
21+ ah->config.sw_beacon_response_time = 6;
22     ah->config.additional_swba_backoff = 0;
23     ah->config.ack_6mb = 0x0;
24     ah->config.cwm_ignore_extcca = 0;
25

Archive Download this file



interactive