Deleted Added
full compact
ieee80211_radiotap.9 (213573) ieee80211_radiotap.9 (233648)
1.\"
2.\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>,
3.\" Darron Broad <darron@kewl.org>,
4.\" David Young <dyoung@pobox.com>.
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
1.\"
2.\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>,
3.\" Darron Broad <darron@kewl.org>,
4.\" David Young <dyoung@pobox.com>.
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/share/man/man9/ieee80211_radiotap.9 213573 2010-10-08 12:40:16Z uqs $
28.\" $FreeBSD: head/share/man/man9/ieee80211_radiotap.9 233648 2012-03-29 05:02:12Z eadler $
29.\"
30.Dd August 4, 2009
31.Dt IEEE80211_RADIOTAP 9
32.Os
33.Sh NAME
34.Nm ieee80211_radiotap
35.Nd 802.11 device packet capture support
36.Sh SYNOPSIS

--- 19 unchanged lines hidden (view full) ---

56.\"
57.Ft void
58.Fn ieee80211_radiotap_tx "struct ieee80211vap *" "struct mbuf *"
59.Sh DESCRIPTION
60The
61.Nm net80211
62layer used by 802.11 drivers includes support for a device-independent
63packet capture format called
29.\"
30.Dd August 4, 2009
31.Dt IEEE80211_RADIOTAP 9
32.Os
33.Sh NAME
34.Nm ieee80211_radiotap
35.Nd 802.11 device packet capture support
36.Sh SYNOPSIS

--- 19 unchanged lines hidden (view full) ---

56.\"
57.Ft void
58.Fn ieee80211_radiotap_tx "struct ieee80211vap *" "struct mbuf *"
59.Sh DESCRIPTION
60The
61.Nm net80211
62layer used by 802.11 drivers includes support for a device-independent
63packet capture format called
64.Nm radiotap
64.Nm radiotap
65that is understood by tools such as
66.Xr tcpdump 1 .
67This facility is designed for capturing 802.11 traffic,
68including information that is not part of the normal 802.11 frame structure.
69.Pp
70Radiotap was designed to balance the desire for a hardware-independent,
71extensible capture format against the need to
72conserve CPU and memory bandwidth on embedded systems.

--- 179 unchanged lines hidden (view full) ---

252 struct ieee80211_radiotap_header wr_ihdr;
253 uint64_t wr_tsf;
254 uint8_t wr_flags;
255 uint8_t wr_rate;
256 uint16_t wr_chan_freq;
257 uint16_t wr_chan_flags;
258 uint8_t wr_antsignal;
259 uint8_t wr_antnoise;
65that is understood by tools such as
66.Xr tcpdump 1 .
67This facility is designed for capturing 802.11 traffic,
68including information that is not part of the normal 802.11 frame structure.
69.Pp
70Radiotap was designed to balance the desire for a hardware-independent,
71extensible capture format against the need to
72conserve CPU and memory bandwidth on embedded systems.

--- 179 unchanged lines hidden (view full) ---

252 struct ieee80211_radiotap_header wr_ihdr;
253 uint64_t wr_tsf;
254 uint8_t wr_flags;
255 uint8_t wr_rate;
256 uint16_t wr_chan_freq;
257 uint16_t wr_chan_flags;
258 uint8_t wr_antsignal;
259 uint8_t wr_antnoise;
260} __packed;
260} __packed;
261.Ed
262.Pp
263and transmit definitions for the Atheros driver:
264.Bd -literal -offset indent
265#define ATH_TX_RADIOTAP_PRESENT ( \\
266 (1 << IEEE80211_RADIOTAP_TSFT) | \\
267 (1 << IEEE80211_RADIOTAP_FLAGS) | \\
268 (1 << IEEE80211_RADIOTAP_RATE) | \\

--- 34 unchanged lines hidden ---
261.Ed
262.Pp
263and transmit definitions for the Atheros driver:
264.Bd -literal -offset indent
265#define ATH_TX_RADIOTAP_PRESENT ( \\
266 (1 << IEEE80211_RADIOTAP_TSFT) | \\
267 (1 << IEEE80211_RADIOTAP_FLAGS) | \\
268 (1 << IEEE80211_RADIOTAP_RATE) | \\

--- 34 unchanged lines hidden ---