Commit Graph

7 Commits

Author SHA1 Message Date
Oleksij Rempel
35cafedff2 tcpdump: add STBC Rx support
Information will be represented as:
- Rx-STBC0 - mean, Rx-STBC is supported by driver but packet was not encoded in STBC
- Rx-STBC1 - 1 Nss stream was encoded in STBC
- Rx-STBC2 - 2 Nss streams
- Rx-STBC3 - 3

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
2013-06-06 11:39:24 +02:00
Guy Harris
54db122321 Support RX flags, MCS and the vendor namespace, and fix Rate.
Based on patches from an anonymous donor, support the radiotap RX flags and
MCS fields, and the vendor namespace, and, if Channel and XChannel are
both present, use XChannel, not Channel.

Do not try to look up a rate for an MCS value from the Rate field; you
cannot map an MCS value to a rate without also knowing the channel width
and guard interval length.
2011-04-27 12:08:27 -07:00
Guy Harris
aae14f93d9 Merge in stuff from the current top-of-tree FreeBSD tcpdump; this picks
up changes from Sam Leffler for 802.11n and 802.11s.

Clean up ieee802_11_radio.h a bit.
2009-07-14 18:23:06 -07:00
Guy Harris
4ba67d9a00 Get rid of __attribute__((__packed__)) - not all compilers support it,
so we can't rely on it, and it shouldn't be necessary in any case (all
items in that structure are aligned on their natural boundaries, and the
structure length is a multiple of the natural boundary of the most
strictly aligned member).
2009-05-24 13:25:35 -07:00
mcr
05b7f224d8 Patches from NetBSD tree. 2007-08-29 02:31:44 +00:00
guy
17deff7968 Update from current NetBSD version of ieee80211_radiotap.h. 2006-06-13 22:24:06 +00:00
dyoung
cbde1974a7 Define the radiotap capture header, and the flags that mark the
presence of radio information fields.
2004-09-23 21:33:10 +00:00