source: branches/backfire/package/mac80211/patches/570-ath9k_debugfs_show_xretry.patch @ 26713

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

ath9k: merge powersave fix from r26712

File size: 926 bytes
  • drivers/net/wireless/ath/ath9k/debug.c

    a b static ssize_t read_file_xmit(struct fil 
    543543 
    544544        PR("MPDUs Queued:    ", queued); 
    545545        PR("MPDUs Completed: ", completed); 
     546        PR("MPDUs XRetried:  ", xretries); 
    546547        PR("Aggregates:      ", a_aggr); 
    547548        PR("AMPDUs Queued HW:", a_queued_hw); 
    548549        PR("AMPDUs Queued SW:", a_queued_sw); 
    void ath_debug_stat_tx(struct ath_softc  
    798799                else 
    799800                        TX_STAT_INC(qnum, a_completed); 
    800801        } else { 
    801                 TX_STAT_INC(qnum, completed); 
     802                if (bf_isxretried(bf)) 
     803                        TX_STAT_INC(qnum, xretries); 
     804                else 
     805                        TX_STAT_INC(qnum, completed); 
    802806        } 
    803807 
    804808        if (ts->ts_status & ATH9K_TXERR_FIFO) 
  • drivers/net/wireless/ath/ath9k/debug.h

    a b struct ath_tx_stats { 
    112112        u32 tx_bytes_all; 
    113113        u32 queued; 
    114114        u32 completed; 
     115        u32 xretries; 
    115116        u32 a_aggr; 
    116117        u32 a_queued_hw; 
    117118        u32 a_queued_sw; 
Note: See TracBrowser for help on using the repository browser.