mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 16:54:59 +02:00
58dfdd9138
Add patches from Hauke adding linux 3.0 compatibility. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27187 3c298f89-4303-0410-b956-a3cf2f4a3e73
25 lines
869 B
Diff
25 lines
869 B
Diff
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
|
|
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
|
|
@@ -365,7 +365,7 @@ struct ath_vif {
|
|
* number of beacon intervals, the game's up.
|
|
*/
|
|
#define BSTUCK_THRESH 9
|
|
-#define ATH_BCBUF 4
|
|
+#define ATH_BCBUF 8
|
|
#define ATH_DEFAULT_BINTVAL 100 /* TU */
|
|
#define ATH_DEFAULT_BMISS_LIMIT 10
|
|
#define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024)
|
|
--- a/drivers/net/wireless/ath/ath9k/hw.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/hw.c
|
|
@@ -355,8 +355,8 @@ static void ath9k_hw_init_config(struct
|
|
{
|
|
int i;
|
|
|
|
- ah->config.dma_beacon_response_time = 2;
|
|
- ah->config.sw_beacon_response_time = 10;
|
|
+ ah->config.dma_beacon_response_time = 1;
|
|
+ ah->config.sw_beacon_response_time = 6;
|
|
ah->config.additional_swba_backoff = 0;
|
|
ah->config.ack_6mb = 0x0;
|
|
ah->config.cwm_ignore_extcca = 0;
|