Changeset 30869


Ignore:
Timestamp:
2012-03-10T14:31:27+01:00 (4 years ago)
Author:
nbd
Message:

ath9k: fix passing MAC time to mac80211

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

Legend:

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

    r30867 r30869  
    14991499  
    15001500 /* 
    1501 @@ -1011,6 +1010,8 @@ static int ath9k_rx_skb_preprocess(struc 
     1501@@ -988,8 +987,6 @@ static int ath9k_rx_skb_preprocess(struc 
     1502 { 
     1503        struct ath_hw *ah = common->ah; 
     1504  
     1505-       memset(rx_status, 0, sizeof(struct ieee80211_rx_status)); 
     1506- 
     1507        /* 
     1508         * everything but the rate is checked here, the rate check is done 
     1509         * separately to avoid doing two lookups for a rate for each frame. 
     1510@@ -1011,6 +1008,8 @@ static int ath9k_rx_skb_preprocess(struc 
    15021511        rx_status->signal = ah->noise + rx_stats->rs_rssi; 
    15031512        rx_status->antenna = rx_stats->rs_antenna; 
     
    15081517        return 0; 
    15091518 } 
     1519@@ -1845,6 +1844,8 @@ int ath_rx_tasklet(struct ath_softc *sc, 
     1520                if (sc->sc_flags & SC_OP_RXFLUSH) 
     1521                        goto requeue_drop_frag; 
     1522  
     1523+               memset(rxs, 0, sizeof(struct ieee80211_rx_status)); 
     1524+ 
     1525                rxs->mactime = (tsf & ~0xffffffffULL) | rs.rs_tstamp; 
     1526                if (rs.rs_tstamp > tsf_lower && 
     1527                    unlikely(rs.rs_tstamp - tsf_lower > 0x10000000)) 
    15101528--- a/drivers/net/wireless/ath/ath9k/beacon.c 
    15111529+++ b/drivers/net/wireless/ath/ath9k/beacon.c 
  • trunk/package/mac80211/patches/550-ath9k_per_chain_signal_strength.patch

    r30865 r30869  
    146146+       int i, j; 
    147147  
    148         memset(rx_status, 0, sizeof(struct ieee80211_rx_status)); 
    149   
    150 @@ -1013,6 +1014,20 @@ static int ath9k_rx_skb_preprocess(struc 
     148        /* 
     149         * everything but the rate is checked here, the rate check is done 
     150@@ -1011,6 +1012,20 @@ static int ath9k_rx_skb_preprocess(struc 
    151151        if (rx_stats->rs_moreaggr) 
    152152                rx_status->flag |= RX_FLAG_NO_SIGNAL_VAL; 
     
    169169 } 
    170170  
    171 @@ -1543,14 +1558,14 @@ static void ath_ant_comb_scan(struct ath 
     171@@ -1541,14 +1556,14 @@ static void ath_ant_comb_scan(struct ath 
    172172        struct ath_ant_comb *antcomb = &sc->ant_comb; 
    173173        int alt_ratio = 0, alt_rssi_avg = 0, main_rssi_avg = 0, curr_alt_set; 
Note: See TracChangeset for help on using the changeset viewer.