Ignore:
Timestamp:
2011-03-10T14:37:26+01:00 (5 years ago)
Author:
nbd
Message:

ath9k: improve tx dma fixes based on review feedback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/571-ath9k_fix_dma_stop.patch

    r25988 r26005  
    2626--- a/drivers/net/wireless/ath/ath9k/mac.c 
    2727+++ b/drivers/net/wireless/ath/ath9k/mac.c 
    28 @@ -143,6 +143,37 @@ bool ath9k_hw_updatetxtriglevel(struct a 
     28@@ -143,6 +143,33 @@ bool ath9k_hw_updatetxtriglevel(struct a 
    2929 } 
    3030 EXPORT_SYMBOL(ath9k_hw_updatetxtriglevel); 
    3131  
    32 +bool ath9k_hw_abort_tx_dma(struct ath_hw *ah) 
     32+void ath9k_hw_abort_tx_dma(struct ath_hw *ah) 
    3333+{ 
    3434+       int i, q; 
     
    4848+               } 
    4949+       } 
    50 +       if (!i) 
    51 +               return false; 
    5250+ 
    5351+       REG_CLR_BIT(ah, AR_PCU_MISC, AR_PCU_FORCE_QUIET_COLL | AR_PCU_CLEAR_VMF); 
     
    5654+ 
    5755+       REG_WRITE(ah, AR_Q_TXD, 0); 
    58 + 
    59 +       return true; 
    6056+} 
    6157+EXPORT_SYMBOL(ath9k_hw_abort_tx_dma); 
     
    7066 bool ath9k_hw_updatetxtriglevel(struct ath_hw *ah, bool bIncTrigLevel); 
    7167 bool ath9k_hw_stoptxdma(struct ath_hw *ah, u32 q); 
    72 +bool ath9k_hw_abort_tx_dma(struct ath_hw *ah); 
     68+void ath9k_hw_abort_tx_dma(struct ath_hw *ah); 
    7369 void ath9k_hw_gettxintrtxqs(struct ath_hw *ah, u32 *txqs); 
    7470 bool ath9k_hw_set_txq_props(struct ath_hw *ah, int q, 
Note: See TracChangeset for help on using the changeset viewer.