summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_ralvar.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-01-14 12:40:40 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-01-14 12:40:40 +0000
commitcbcea85fb72e29c931b2d3492cf13cb777e5a8ed (patch)
tree577ff5a924b74354e139af3d4eff9b7712e875e0 /sys/dev/usb/if_ralvar.h
parente16b2d8bff470be957d02471a8a2bc856d817a08 (diff)
- give rate to rx radiotap
- swap rssi/rate fields in ural_rx_desc
Diffstat (limited to 'sys/dev/usb/if_ralvar.h')
-rw-r--r--sys/dev/usb/if_ralvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/if_ralvar.h b/sys/dev/usb/if_ralvar.h
index 6c9eb9eefd6..b3f5ba8b0de 100644
--- a/sys/dev/usb/if_ralvar.h
+++ b/sys/dev/usb/if_ralvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ralvar.h,v 1.3 2005/11/23 20:23:48 damien Exp $ */
+/* $OpenBSD: if_ralvar.h,v 1.4 2006/01/14 12:40:39 damien Exp $ */
/*-
* Copyright (c) 2005
@@ -23,6 +23,7 @@
struct ural_rx_radiotap_header {
struct ieee80211_radiotap_header wr_ihdr;
uint8_t wr_flags;
+ uint8_t wr_rate;
uint16_t wr_chan_freq;
uint16_t wr_chan_flags;
uint8_t wr_antenna;
@@ -31,6 +32,7 @@ struct ural_rx_radiotap_header {
#define RAL_RX_RADIOTAP_PRESENT \
((1 << IEEE80211_RADIOTAP_FLAGS) | \
+ (1 << IEEE80211_RADIOTAP_RATE) | \
(1 << IEEE80211_RADIOTAP_CHANNEL) | \
(1 << IEEE80211_RADIOTAP_ANTENNA) | \
(1 << IEEE80211_RADIOTAP_DB_ANTSIGNAL))