source: trunk/package/mac80211/patches/545-ath9k_aggr_padding_fix.patch @ 28113

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

ath9k: fix a tx aggregation padding issue

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

    a b static int ath_compute_num_delims(struct 
    728728         * Add delimiter when using RTS/CTS with aggregation 
    729729         * and non enterprise AR9003 card 
    730730         */ 
    731         if (first_subfrm) 
     731        if (first_subfrm && (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) && 
     732            !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && 
     733            (sc->sc_ah->ent_mode & AR_ENT_OTP_MIN_PKT_SIZE_DISABLE)) 
    732734                ndelim = max(ndelim, FIRST_DESC_NDELIMS); 
    733735 
    734736        /* 
  • 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_MIN_PKT_SIZE_DISABLE         0x00800000 
    11351136#define AR_ENT_OTP_MPSD         0x00800000 
    11361137 
    11371138#define AR_CH0_BB_DPLL1          0x16180 
Note: See TracBrowser for help on using the repository browser.