Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ebacbb7 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f3e85b9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1361,7 +1361,7 @@ ath5k_receive_frame(struct ath5k_softc *sc, struct sk_buff *skb,
	 * right now, so it's not too bad...
	 */
	rxs->mactime = ath5k_extend_tsf(sc->ah, rs->rs_tstamp);
	rxs->flag |= RX_FLAG_TSFT;
	rxs->flag |= RX_FLAG_MACTIME_MPDU;

	rxs->freq = sc->curchan->center_freq;
	rxs->band = sc->curchan->band;
+1 −1
Original line number Diff line number Diff line
@@ -616,7 +616,7 @@ static bool ath9k_rx_prepare(struct ath9k_htc_priv *priv,
	rx_status->freq = hw->conf.channel->center_freq;
	rx_status->signal =  rxbuf->rxstatus.rs_rssi + ATH_DEFAULT_NOISE_FLOOR;
	rx_status->antenna = rxbuf->rxstatus.rs_antenna;
	rx_status->flag |= RX_FLAG_TSFT;
	rx_status->flag |= RX_FLAG_MACTIME_MPDU;

	return true;

+1 −1
Original line number Diff line number Diff line
@@ -983,7 +983,7 @@ static int ath9k_rx_skb_preprocess(struct ath_common *common,
	rx_status->freq = hw->conf.channel->center_freq;
	rx_status->signal = ATH_DEFAULT_NOISE_FLOOR + rx_stats->rs_rssi;
	rx_status->antenna = rx_stats->rs_antenna;
	rx_status->flag |= RX_FLAG_TSFT;
	rx_status->flag |= RX_FLAG_MACTIME_MPDU;

	return 0;
}
+1 −1
Original line number Diff line number Diff line
@@ -652,7 +652,7 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
		status.mactime += mactime;
		if (low_mactime_now <= mactime)
			status.mactime -= 0x10000;
		status.flag |= RX_FLAG_TSFT;
		status.flag |= RX_FLAG_MACTIME_MPDU;
	}

	chanid = (chanstat & B43_RX_CHAN_ID) >> B43_RX_CHAN_ID_SHIFT;
+1 −1
Original line number Diff line number Diff line
@@ -572,7 +572,7 @@ void b43legacy_rx(struct b43legacy_wldev *dev,
		status.mactime += mactime;
		if (low_mactime_now <= mactime)
			status.mactime -= 0x10000;
		status.flag |= RX_FLAG_TSFT;
		status.flag |= RX_FLAG_MACTIME_MPDU;
	}

	chanid = (chanstat & B43legacy_RX_CHAN_ID) >>
Loading