diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2006-01-14 12:43:28 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2006-01-14 12:43:28 +0000 |
commit | 6853f9a1e6456e59edad87964e51b253a552b6bb (patch) | |
tree | c436f01276310aac1a3a44df34d63dfbbfd8eed0 /sys/dev/ic/rt2661var.h | |
parent | cbcea85fb72e29c931b2d3492cf13cb777e5a8ed (diff) |
- give rate to rx radiotap
- read TSF high 32bit word before low 32bit word to avoid wraparounds
Diffstat (limited to 'sys/dev/ic/rt2661var.h')
-rw-r--r-- | sys/dev/ic/rt2661var.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/rt2661var.h b/sys/dev/ic/rt2661var.h index 0f911753810..e7bae7400de 100644 --- a/sys/dev/ic/rt2661var.h +++ b/sys/dev/ic/rt2661var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661var.h,v 1.2 2006/01/10 21:20:46 damien Exp $ */ +/* $OpenBSD: rt2661var.h,v 1.3 2006/01/14 12:43:27 damien Exp $ */ /*- * Copyright (c) 2006 @@ -21,6 +21,7 @@ struct rt2661_rx_radiotap_header { struct ieee80211_radiotap_header wr_ihdr; uint64_t wr_tsf; uint8_t wr_flags; + uint8_t wr_rate; uint16_t wr_chan_freq; uint16_t wr_chan_flags; uint8_t wr_antsignal; @@ -29,6 +30,7 @@ struct rt2661_rx_radiotap_header { #define RT2661_RX_RADIOTAP_PRESENT \ ((1 << IEEE80211_RADIOTAP_TSFT) | \ (1 << IEEE80211_RADIOTAP_FLAGS) | \ + (1 << IEEE80211_RADIOTAP_RATE) | \ (1 << IEEE80211_RADIOTAP_CHANNEL) | \ (1 << IEEE80211_RADIOTAP_DB_ANTSIGNAL)) |