aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-02-23 09:06:08 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-02-23 16:25:29 -0500
commit6ebacbb79d2d05978ba50a24d8cbe2a76ff2014c (patch)
treed67c83455f81132bbed9c421c55f53e6e61169af /drivers/staging
parentf3e85b9edeaf8ad0446a37a40c873f3f8898c57d (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/staging')
-rw-r--r--drivers/staging/brcm80211/sys/wlc_mac80211.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/sys/wlc_mac80211.c b/drivers/staging/brcm80211/sys/wlc_mac80211.c
index 1d5d01ac0a9..f305bf94861 100644
--- a/drivers/staging/brcm80211/sys/wlc_mac80211.c
+++ b/drivers/staging/brcm80211/sys/wlc_mac80211.c
@@ -6819,11 +6819,14 @@ prep_mac80211_status(struct wlc_info *wlc, d11rxhdr_t *rxh, struct sk_buff *p,
6819 ratespec_t rspec; 6819 ratespec_t rspec;
6820 unsigned char *plcp; 6820 unsigned char *plcp;
6821 6821
6822#if 0
6823 /* Clearly, this is bogus -- reading the TSF now is wrong */
6822 wlc_read_tsf(wlc, &tsf_l, &tsf_h); /* mactime */ 6824 wlc_read_tsf(wlc, &tsf_l, &tsf_h); /* mactime */
6823 rx_status->mactime = tsf_h; 6825 rx_status->mactime = tsf_h;
6824 rx_status->mactime <<= 32; 6826 rx_status->mactime <<= 32;
6825 rx_status->mactime |= tsf_l; 6827 rx_status->mactime |= tsf_l;
6826 rx_status->flag |= RX_FLAG_TSFT; 6828 rx_status->flag |= RX_FLAG_MACTIME_MPDU; /* clearly wrong */
6829#endif
6827 6830
6828 channel = WLC_CHAN_CHANNEL(rxh->RxChan); 6831 channel = WLC_CHAN_CHANNEL(rxh->RxChan);
6829 6832