source: branches/backfire/package/mac80211/patches/462-ath5k_fix_sifs.patch @ 26610

Last change on this file since 26610 was 26610, checked in by nbd, 6 years ago

mac80211: merge latest changes from trunk, fixes #9227

File size: 757 bytes
  • drivers/net/wireless/ath/ath5k/ath5k.h

    a b  
    224224 
    225225/* SIFS */ 
    226226#define AR5K_INIT_SIFS_TURBO                    6 
    227 /* XXX: 8 from initvals 10 from standard */ 
    228 #define AR5K_INIT_SIFS_DEFAULT_BG               8 
     227#define AR5K_INIT_SIFS_DEFAULT_BG               10 
    229228#define AR5K_INIT_SIFS_DEFAULT_A                16 
    230229#define AR5K_INIT_SIFS_HALF_RATE                32 
    231230#define AR5K_INIT_SIFS_QUARTER_RATE             64 
  • drivers/net/wireless/ath/ath5k/qcu.c

    a b int ath5k_hw_set_ifs_intervals(struct at 
    519519                return -EINVAL; 
    520520 
    521521        sifs = ath5k_hw_get_default_sifs(ah); 
    522         sifs_clock = ath5k_hw_htoclock(ah, sifs); 
     522        sifs_clock = ath5k_hw_htoclock(ah, sifs - 2); 
    523523 
    524524        /* EIFS 
    525525         * Txtime of ack at lowest rate + SIFS + DIFS 
Note: See TracBrowser for help on using the repository browser.