radiotap.netbsd.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] add channel fields for GSM, turbo, half and quarter rates
@ 2013-06-20  9:58 Simon Wunderlich
  0 siblings, 0 replies; only message in thread
From: Simon Wunderlich @ 2013-06-20  9:58 UTC (permalink / raw)
  To: Johannes Berg; +Cc: radiotap-S783fYmB3Ccdnm+yROfE0A, Simon Wunderlich

Wireshark already implements these fields. As they are not yet taken
according to the official list, add them.

Signed-off-by: Simon Wunderlich <siwu-MaAgPAbsBIVS8oHt8HbXEIQuADTiUCJX@public.gmane.org>
---
 radiotap.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/radiotap.h b/radiotap.h
index 37d7630..1daa257 100644
--- a/radiotap.h
+++ b/radiotap.h
@@ -222,6 +222,10 @@ enum ieee80211_radiotap_type {
 #define	IEEE80211_CHAN_PASSIVE	0x0200	/* Only passive scan allowed */
 #define	IEEE80211_CHAN_DYN	0x0400	/* Dynamic CCK-OFDM channel */
 #define	IEEE80211_CHAN_GFSK	0x0800	/* GFSK channel (FHSS PHY) */
+#define	IEEE80211_CHAN_GSM	0x1000	/* GSM (900 MHz) */
+#define	IEEE80211_CHAN_STURBO	0x2000	/* Static Turbo */
+#define	IEEE80211_CHAN_HALF	0x4000	/* Half channel (10 MHz wide) */
+#define	IEEE80211_CHAN_QUARTER	0x8000	/* Quarter channel (5 MHz wide) */
 
 /* For IEEE80211_RADIOTAP_FLAGS */
 #define	IEEE80211_RADIOTAP_F_CFP	0x01	/* sent/received
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-20  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-20  9:58 [PATCH] add channel fields for GSM, turbo, half and quarter rates Simon Wunderlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).