Changeset 35786


Ignore:
Timestamp:
2013-02-25T20:56:26+01:00 (5 years ago)
Author:
nbd
Message:

ath9k: issue a cold reset after failures or after bringing the chip out of full sleep - fixes many kinds of DMA issues

Backport of r35785

Location:
branches/attitude_adjustment/package/mac80211/patches
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/attitude_adjustment/package/mac80211/patches/300-pending_work.patch

    r35752 r35786  
    11781178--- a/drivers/net/wireless/ath/ath9k/hw.c 
    11791179+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    1180 @@ -2568,7 +2568,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
     1180@@ -1467,7 +1467,9 @@ static bool ath9k_hw_chip_reset(struct a 
     1181                        reset_type = ATH9K_RESET_POWER_ON; 
     1182                else 
     1183                        reset_type = ATH9K_RESET_COLD; 
     1184-       } 
     1185+       } else if (ah->chip_fullsleep || REG_READ(ah, AR_Q_TXE) || 
     1186+                  (REG_READ(ah, AR_CR) & AR_CR_RXE)) 
     1187+               reset_type = ATH9K_RESET_COLD; 
     1188  
     1189        if (!ath9k_hw_set_reset_reg(ah, reset_type)) 
     1190                return false; 
     1191@@ -2568,7 +2570,7 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
    11811192  
    11821193        if (AR_SREV_9300_20_OR_LATER(ah)) { 
  • branches/attitude_adjustment/package/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch

    r33331 r35786  
    11--- a/drivers/net/wireless/ath/ath9k/hw.c 
    22+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    3 @@ -1949,8 +1949,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
     3@@ -1951,8 +1951,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
    44                REG_WRITE(ah, AR_OBS, 8); 
    55  
  • branches/attitude_adjustment/package/mac80211/patches/525-ath9k_use_configured_antenna_gain.patch

    r35153 r35786  
    1111--- a/drivers/net/wireless/ath/ath9k/hw.c 
    1212+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    13 @@ -2828,7 +2828,7 @@ void ath9k_hw_apply_txpower(struct ath_h 
     13@@ -2830,7 +2830,7 @@ void ath9k_hw_apply_txpower(struct ath_h 
    1414        channel = chan->chan; 
    1515        chan_pwr = min_t(int, channel->max_power * 2, MAX_RATE_POWER); 
  • branches/attitude_adjustment/package/mac80211/patches/564-ath9k_debugfs_diag.patch

    r35153 r35786  
    9595--- a/drivers/net/wireless/ath/ath9k/hw.c 
    9696+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    97 @@ -1749,6 +1749,20 @@ fail: 
     97@@ -1751,6 +1751,20 @@ fail: 
    9898        return -EINVAL; 
    9999 } 
     
    116116                   struct ath9k_hw_cal_data *caldata, bool fastcc) 
    117117 { 
    118 @@ -2026,6 +2040,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
     118@@ -2028,6 +2042,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
    119119        } 
    120120  
  • branches/attitude_adjustment/package/mac80211/patches/565-ath9k_disable_paprd.patch

    r35064 r35786  
    1212--- a/drivers/net/wireless/ath/ath9k/hw.c 
    1313+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    14 @@ -2521,10 +2521,6 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
     14@@ -2523,10 +2523,6 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
    1515                pCap->rx_status_len = sizeof(struct ar9003_rxs); 
    1616                pCap->tx_desc_len = sizeof(struct ar9003_txc); 
  • branches/attitude_adjustment/package/mac80211/patches/b01-ath9k-allow-to-disable-bands-via-platform-data.patch

    r33975 r35786  
    1313--- a/drivers/net/wireless/ath/ath9k/hw.c 
    1414+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    15 @@ -2413,17 +2413,25 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
     15@@ -2415,17 +2415,25 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
    1616        } 
    1717  
Note: See TracChangeset for help on using the changeset viewer.