Changeset 25056


Ignore:
Timestamp:
2011-01-21T02:43:32+01:00 (5 years ago)
Author:
nbd
Message:

ath9k: disable PA predistortion on AR93xx for now until it is properly fixed

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

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/310-ath9k_pending_work.patch

    r25054 r25056  
    8989 } 
    9090  
     91--- a/drivers/net/wireless/ath/ath9k/hw.c 
     92+++ b/drivers/net/wireless/ath/ath9k/hw.c 
     93@@ -369,6 +369,9 @@ static void ath9k_hw_init_config(struct  
     94        else 
     95                ah->config.ht_enable = 0; 
     96  
     97+       /* PAPRD needs some more work to be enabled */ 
     98+       ah->config.paprd_disable = 1; 
     99+ 
     100        ah->config.rx_intr_mitigation = true; 
     101        ah->config.pcieSerDesWrite = true; 
     102  
     103@@ -1949,7 +1952,8 @@ int ath9k_hw_fill_cap_info(struct ath_hw 
     104                pCap->rx_status_len = sizeof(struct ar9003_rxs); 
     105                pCap->tx_desc_len = sizeof(struct ar9003_txc); 
     106                pCap->txs_len = sizeof(struct ar9003_txs); 
     107-               if (ah->eep_ops->get_eeprom(ah, EEP_PAPRD)) 
     108+               if (!ah->config.paprd_disable && 
     109+                   ah->eep_ops->get_eeprom(ah, EEP_PAPRD)) 
     110                        pCap->hw_caps |= ATH9K_HW_CAP_PAPRD; 
     111        } else { 
     112                pCap->tx_desc_len = sizeof(struct ath_desc); 
     113--- a/drivers/net/wireless/ath/ath9k/hw.h 
     114+++ b/drivers/net/wireless/ath/ath9k/hw.h 
     115@@ -228,6 +228,7 @@ struct ath9k_ops_config { 
     116        u32 pcie_waen; 
     117        u8 analog_shiftreg; 
     118        u8 ht_enable; 
     119+       u8 paprd_disable; 
     120        u32 ofdm_trig_low; 
     121        u32 ofdm_trig_high; 
     122        u32 cck_trig_high; 
  • trunk/package/mac80211/patches/403-ath9k-fix-invalid-mac-address-handling.patch

    r24502 r25056  
    99  
    1010 #include "hw.h" 
    11 @@ -428,8 +429,16 @@ static int ath9k_hw_init_macaddr(struct  
     11@@ -431,8 +432,16 @@ static int ath9k_hw_init_macaddr(struct  
    1212                common->macaddr[2 * i] = eeval >> 8; 
    1313                common->macaddr[2 * i + 1] = eeval & 0xff; 
  • trunk/package/mac80211/patches/409-ath9k_platform_settings.patch

    r25053 r25056  
    1919--- a/drivers/net/wireless/ath/ath9k/hw.h 
    2020+++ b/drivers/net/wireless/ath/ath9k/hw.h 
    21 @@ -793,7 +793,7 @@ struct ath_hw { 
     21@@ -794,7 +794,7 @@ struct ath_hw { 
    2222        u32 originalGain[22]; 
    2323        int initPDADC; 
  • trunk/package/mac80211/patches/520-ath9k_intr_mitigation_tweak.patch

    r25053 r25056  
    11--- a/drivers/net/wireless/ath/ath9k/hw.c 
    22+++ b/drivers/net/wireless/ath/ath9k/hw.c 
    3 @@ -1426,8 +1426,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
     3@@ -1429,8 +1429,8 @@ int ath9k_hw_reset(struct ath_hw *ah, st 
    44        REG_WRITE(ah, AR_OBS, 8); 
    55  
Note: See TracChangeset for help on using the changeset viewer.