Changeset 35785


Ignore:
Timestamp:
2013-02-25T20:53:31+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

Location:
trunk/package/mac80211/patches
Files:
5 edited

Legend:

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

    r35761 r35785  
    500500        } 
    501501        rcu_read_unlock(); 
     502--- a/drivers/net/wireless/ath/ath9k/hw.c 
     503+++ b/drivers/net/wireless/ath/ath9k/hw.c 
     504@@ -1463,7 +1463,9 @@ static bool ath9k_hw_chip_reset(struct a 
     505                        reset_type = ATH9K_RESET_POWER_ON; 
     506                else 
     507                        reset_type = ATH9K_RESET_COLD; 
     508-       } 
     509+       } else if (ah->chip_fullsleep || REG_READ(ah, AR_Q_TXE) || 
     510+                  (REG_READ(ah, AR_CR) & AR_CR_RXE)) 
     511+               reset_type = ATH9K_RESET_COLD; 
     512  
     513        if (!ath9k_hw_set_reset_reg(ah, reset_type)) 
     514                return false; 
  • trunk/package/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch

    r35255 r35785  
    11--- a/drivers/net/wireless/ath/ath9k/hw.c 
    22+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    3 @@ -1945,8 +1945,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
     3@@ -1947,8 +1947,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
    44                REG_WRITE(ah, AR_OBS, 8); 
    55  
  • trunk/package/mac80211/patches/524-ath9k_use_configured_antenna_gain.patch

    r35753 r35785  
    1111--- a/drivers/net/wireless/ath/ath9k/hw.c 
    1212+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    13 @@ -2816,7 +2816,7 @@ void ath9k_hw_apply_txpower(struct ath_h 
     13@@ -2818,7 +2818,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); 
  • trunk/package/mac80211/patches/553-ath9k_debugfs_diag.patch

    r35753 r35785  
    9595--- a/drivers/net/wireless/ath/ath9k/hw.c 
    9696+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    97 @@ -1745,6 +1745,20 @@ fail: 
     97@@ -1747,6 +1747,20 @@ fail: 
    9898        return -EINVAL; 
    9999 } 
     
    116116                   struct ath9k_hw_cal_data *caldata, bool fastcc) 
    117117 { 
    118 @@ -2022,6 +2036,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
     118@@ -2024,6 +2038,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
    119119        } 
    120120  
  • trunk/package/mac80211/patches/555-ath9k-allow-to-disable-bands-via-platform-data.patch

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