diff options
author | Johannes Berg <johannes.berg@intel.com> | 2011-02-23 09:06:08 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-23 16:25:29 -0500 |
commit | 6ebacbb79d2d05978ba50a24d8cbe2a76ff2014c (patch) | |
tree | d67c83455f81132bbed9c421c55f53e6e61169af /drivers/net/wireless/ath | |
parent | f3e85b9edeaf8ad0446a37a40c873f3f8898c57d (diff) |
mac80211: rename RX_FLAG_TSFT
The flag isn't very descriptive -- the intention
is that the driver provides a TSF timestamp at
the beginning of the MPDU -- make that clearer
by renaming the flag to RX_FLAG_MACTIME_MPDU.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index dbc45e085434..80d9cf0c4cd2 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -1361,7 +1361,7 @@ ath5k_receive_frame(struct ath5k_softc *sc, struct sk_buff *skb, | |||
1361 | * right now, so it's not too bad... | 1361 | * right now, so it's not too bad... |
1362 | */ | 1362 | */ |
1363 | rxs->mactime = ath5k_extend_tsf(sc->ah, rs->rs_tstamp); | 1363 | rxs->mactime = ath5k_extend_tsf(sc->ah, rs->rs_tstamp); |
1364 | rxs->flag |= RX_FLAG_TSFT; | 1364 | rxs->flag |= RX_FLAG_MACTIME_MPDU; |
1365 | 1365 | ||
1366 | rxs->freq = sc->curchan->center_freq; | 1366 | rxs->freq = sc->curchan->center_freq; |
1367 | rxs->band = sc->curchan->band; | 1367 | rxs->band = sc->curchan->band; |
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c index 564ac13596f1..4a4f27ba96af 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c | |||
@@ -616,7 +616,7 @@ static bool ath9k_rx_prepare(struct ath9k_htc_priv *priv, | |||
616 | rx_status->freq = hw->conf.channel->center_freq; | 616 | rx_status->freq = hw->conf.channel->center_freq; |
617 | rx_status->signal = rxbuf->rxstatus.rs_rssi + ATH_DEFAULT_NOISE_FLOOR; | 617 | rx_status->signal = rxbuf->rxstatus.rs_rssi + ATH_DEFAULT_NOISE_FLOOR; |
618 | rx_status->antenna = rxbuf->rxstatus.rs_antenna; | 618 | rx_status->antenna = rxbuf->rxstatus.rs_antenna; |
619 | rx_status->flag |= RX_FLAG_TSFT; | 619 | rx_status->flag |= RX_FLAG_MACTIME_MPDU; |
620 | 620 | ||
621 | return true; | 621 | return true; |
622 | 622 | ||
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index daf171d2f610..cb559e345b86 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -983,7 +983,7 @@ static int ath9k_rx_skb_preprocess(struct ath_common *common, | |||
983 | rx_status->freq = hw->conf.channel->center_freq; | 983 | rx_status->freq = hw->conf.channel->center_freq; |
984 | rx_status->signal = ATH_DEFAULT_NOISE_FLOOR + rx_stats->rs_rssi; | 984 | rx_status->signal = ATH_DEFAULT_NOISE_FLOOR + rx_stats->rs_rssi; |
985 | rx_status->antenna = rx_stats->rs_antenna; | 985 | rx_status->antenna = rx_stats->rs_antenna; |
986 | rx_status->flag |= RX_FLAG_TSFT; | 986 | rx_status->flag |= RX_FLAG_MACTIME_MPDU; |
987 | 987 | ||
988 | return 0; | 988 | return 0; |
989 | } | 989 | } |