From cbcea85fb72e29c931b2d3492cf13cb777e5a8ed Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Sat, 14 Jan 2006 12:40:40 +0000 Subject: - give rate to rx radiotap - swap rssi/rate fields in ural_rx_desc --- sys/dev/usb/if_ralvar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/usb/if_ralvar.h') 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)) -- cgit v1.2.3