source: branches/backfire/package/mac80211/patches/545-ath9k_aggr_padding_fix.patch @ 28138

Last change on this file since 28138 was 28138, checked in by nbd, 5 years ago

mac80211: backport latest version from trunk (as of r28137)

File size: 946 bytes
  • drivers/net/wireless/ath/ath9k/xmit.c

    a b static int ath_compute_num_delims(struct 
    709709         * Add delimiter when using RTS/CTS with aggregation 
    710710         * and non enterprise AR9003 card 
    711711         */ 
    712         if (first_subfrm) 
     712        if (first_subfrm && (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) && 
     713            !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && 
     714            (sc->sc_ah->ent_mode & AR_ENT_OTP_MIN_PKT_SIZE_DISABLE)) 
    713715                ndelim = max(ndelim, FIRST_DESC_NDELIMS); 
    714716 
    715717        /* 
  • drivers/net/wireless/ath/ath9k/reg.h

    a b enum { 
    11321132#define AR_INTR_PRIO_ASYNC_ENABLE (AR_SREV_9340(ah) ? 0x4094 : 0x40d4) 
    11331133#define AR_ENT_OTP                0x40d8 
    11341134#define AR_ENT_OTP_CHAIN2_DISABLE               0x00020000 
    1135 #define AR_ENT_OTP_MPSD         0x00800000 
     1135#define AR_ENT_OTP_MIN_PKT_SIZE_DISABLE         0x00800000 
    11361136 
    11371137#define AR_CH0_BB_DPLL1          0x16180 
    11381138#define AR_CH0_BB_DPLL1_REFDIV   0xF8000000 
Note: See TracBrowser for help on using the repository browser.