gmcgarry
0de5da9678
Replace most gcc-specific __attribute__ uses with BSD-style sys/cdef.h
...
preprocessor macros.
2008-09-08 23:36:53 +00:00
christos
eda454c1f4
- trailing commas in enums
...
- arithmetic on enums needs cast
from Anon Ymous
2008-07-28 17:54:02 +00:00
dyoung
b0bb6c2505
Reference the right flag,
...
s/IEEE80211_RADIOTAP_F_FCS/IEEE80211_RADIOTAP_F_BADFCS/.
2007-03-26 21:22:35 +00:00
dyoung
9ff230d3d6
Define four new radiotap fields per discussions with John Bicket, Sam
...
Leffler, and others:
IEEE80211_RADIOTAP_RX_FLAGS = 14,
IEEE80211_RADIOTAP_TX_FLAGS = 15,
IEEE80211_RADIOTAP_RTS_RETRIES = 16,
IEEE80211_RADIOTAP_DATA_RETRIES = 17,
I describe the fields in the manual page and in comments in the
header file (cross-referenced by the manual page).
2007-03-26 04:32:14 +00:00
dyoung
f5e353f96f
Add a hint to the compiler that the radiotap header requires 8-byte
...
alignment. This
1 helps GCC make better code for architectures such as ARM
where it would otherwise do a lot of byte-loads and shifts
to load a multi-byte word, and
2 ensures that the compiler will add no padding between a
radiotap header and a 64-bit or narrower field that
follows it.
2007-01-06 05:51:15 +00:00
dyoung
c205496a96
Note in radiotap header file and manual page that radiotap fields
...
are little-endian. Fix wi(4) and atw(4) to reflect this fact.
2006-03-12 03:22:02 +00:00
elad
976bf6cfdd
Multiple inclusion protection, as suggested by christos@ on tech-kern@
...
few days ago.
2005-12-10 23:21:38 +00:00
dyoung
da04ad7825
Add flag IEEE80211_RADIOTAP_F_BADFCS for packets whose checksum
...
doesn't match their contents. While I'm here, remove the mention
of field IEEE80211_RADIOTAP_FCS, which wasn't adopted.
2005-12-08 20:13:27 +00:00
dyoung
61fb42b78a
Resolve conflicts.
2005-07-26 22:52:48 +00:00
dyoung
9063402978
Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
...
from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
2005-06-22 06:14:51 +00:00
dyoung
eeb33155cd
Fix a typo.
2005-01-04 00:34:58 +00:00
dyoung
50c193fc53
Define IEEE80211_RADIOTAP_HDRLEN, the length of a radiotap header.
2004-06-06 04:13:28 +00:00
dyoung
5c35c045ac
Sync with FreeBSD. Some apps get confused when the FCS comes at
...
the end of the tapped frame, so stick it into the radiotap header.
2004-04-30 22:22:53 +00:00
dyoung
f37c61d56c
Add missing flags IEEE80211_CHAN_DYN and IEEE80211_CHAN_GFSK, needed
...
by userland programs to interpret radiotap channel indications.
2004-03-29 04:08:14 +00:00
dyoung
440b1e7e7f
Whitespace nits, esp. change #define<SPACE> to #define<TAB>.
2004-03-29 04:04:48 +00:00
dyoung
1131c0f5f6
Forget the tcpdump $Header$.
2003-12-08 04:48:58 +00:00
dyoung
9270de9dc4
Updates to 802.11 radiotap. The _DB_ flags were used everywhere to
...
denote a signed dBm Rx power, so rename them to _DBM_ and change
the signedness. Add new _DB_ flags for unsigned Rx power measured
from an arbitrary reference.
Try to synchronize net80211/ieee80211_radiotap.h with my tcpdump
sources (which public tcpdump has not seen, yet) and with FreeBSD.
2003-12-07 04:49:17 +00:00
dyoung
23d8f48692
Add data-link type DLT_IEEE802_11_RADIO to wi and atw. DLT_IEEE802_11_RADIO
...
lets you monitor radio stats like received signal strength, which
diversity antenna was used, channel/frequency, modulation, and data
rate.
2003-11-16 09:02:42 +00:00
dyoung
6e8d0b71c8
Insert RCSIDs.
2003-09-14 01:14:54 +00:00
dyoung
76b1cd5bf9
Bring net80211/ sources up-to-date with FreeBSD.
...
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
2003-09-07 04:05:33 +00:00