aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-12-11 15:33:42 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:58:25 -0500
commitc49e5ea322c2fb43f430abb3c4a49eae1394287e (patch)
tree53188c8aab638c95ed489eab0c796c8ba9543847 /include/net/mac80211.h
parenta07a5a86d091699fd5e791765b8a79e6b1ef96cb (diff)
mac80211: conditionally include timestamp in radiotap information
This makes mac80211 include the low-level MAC timestamp in the radiotap header if the driver indicated (by a new RX flag) that the timestamp is valid. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 0d67b331ee72..3bd970f29f29 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -350,6 +350,8 @@ struct ieee80211_tx_control {
350 * the frame. 350 * the frame.
351 * @RX_FLAG_FAILED_PLCP_CRC: Set this flag if the PCLP check failed on 351 * @RX_FLAG_FAILED_PLCP_CRC: Set this flag if the PCLP check failed on
352 * the frame. 352 * the frame.
353 * @RX_FLAG_TSFT: The timestamp passed in the RX status (@mactime field)
354 * is valid.
353 */ 355 */
354enum mac80211_rx_flags { 356enum mac80211_rx_flags {
355 RX_FLAG_MMIC_ERROR = 1<<0, 357 RX_FLAG_MMIC_ERROR = 1<<0,
@@ -359,6 +361,7 @@ enum mac80211_rx_flags {
359 RX_FLAG_IV_STRIPPED = 1<<4, 361 RX_FLAG_IV_STRIPPED = 1<<4,
360 RX_FLAG_FAILED_FCS_CRC = 1<<5, 362 RX_FLAG_FAILED_FCS_CRC = 1<<5,
361 RX_FLAG_FAILED_PLCP_CRC = 1<<6, 363 RX_FLAG_FAILED_PLCP_CRC = 1<<6,
364 RX_FLAG_TSFT = 1<<7,
362}; 365};
363 366
364/** 367/**