Changeset 19638


Ignore:
Timestamp:
2010-02-15T18:28:52+01:00 (8 years ago)
Author:
nbd
Message:

ath9k: adjust ack timeout workaround patch based on upstream submission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/520-ath9k_ack_timeout_workaround.patch

    r19501 r19638  
    11--- a/drivers/net/wireless/ath/ath9k/hw.c 
    22+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    3 @@ -1233,6 +1233,11 @@ void ath9k_hw_init_global_settings(struc 
     3@@ -1233,6 +1233,17 @@ void ath9k_hw_init_global_settings(struc 
    44        /* As defined by IEEE 802.11-2007 17.3.8.6 */ 
    55        slottime = ah->slottime + 3 * ah->coverage_class; 
    66        acktimeout = slottime + sifstime; 
    77+ 
    8 +       /* Workaround for a hw issue */ 
     8+       /* 
     9+        * Workaround for early ACK timeouts, add an offset to match the 
     10+        * initval's 64us ack timeout value. 
     11+        * This was initially only meant to work around an issue with delayed 
     12+        * BA frames in some implementations, but it has been found to fix ACK 
     13+        * timeout issues in other cases as well. 
     14+        */ 
    915+       if (conf->channel && conf->channel->band == IEEE80211_BAND_2GHZ) 
    10 +               acktimeout = max(64, acktimeout); 
     16+               acktimeout += 64 - sifstime - ah->slottime; 
    1117+ 
    1218        ath9k_hw_setslottime(ah, slottime); 
Note: See TracChangeset for help on using the changeset viewer.