35#ifndef IEEE80211RADIOTAP_H
36#define IEEE80211RADIOTAP_H
38#include <linux/if_ether.h>
39#include <linux/kernel.h>
43#define PKTHDR_RADIOTAP_VERSION 0
211#define IEEE80211_CHAN_TURBO 0x0010
212#define IEEE80211_CHAN_CCK 0x0020
213#define IEEE80211_CHAN_OFDM 0x0040
214#define IEEE80211_CHAN_2GHZ 0x0080
215#define IEEE80211_CHAN_5GHZ 0x0100
216#define IEEE80211_CHAN_PASSIVE 0x0200
217#define IEEE80211_CHAN_DYN 0x0400
218#define IEEE80211_CHAN_GFSK 0x0800
221#define IEEE80211_RADIOTAP_F_CFP 0x01
224#define IEEE80211_RADIOTAP_F_SHORTPRE 0x02
228#define IEEE80211_RADIOTAP_F_WEP 0x04
231#define IEEE80211_RADIOTAP_F_FRAG 0x08
234#define IEEE80211_RADIOTAP_F_FCS 0x10
235#define IEEE80211_RADIOTAP_F_DATAPAD 0x20
239#define IEEE80211_RADIOTAP_F_BADFCS 0x40
242#define IEEE80211_RADIOTAP_F_RX_BADPLCP 0x0002
245#define IEEE80211_RADIOTAP_F_TX_FAIL 0x0001
247#define IEEE80211_RADIOTAP_F_TX_CTS 0x0002
248#define IEEE80211_RADIOTAP_F_TX_RTS 0x0004
253#define ieee80211chan2mhz(x) \
255 (((x) == 14) ? 2484 : ((x) * 5) + 2407) : \
262 return p[0] |
p[1] << 8;
static char * data
The data to insert into the dht.
static struct GNUNET_OS_Process * p
Helper process we started.
struct ieee80211_radiotap_header __packed
static int ieee80211_get_radiotap_len(unsigned char *data)
@ IEEE80211_RADIOTAP_DB_TX_ATTENUATION
@ IEEE80211_RADIOTAP_DATA_RETRIES
@ IEEE80211_RADIOTAP_DBM_TX_POWER
@ IEEE80211_RADIOTAP_RADIOTAP_NAMESPACE
@ IEEE80211_RADIOTAP_TX_FLAGS
@ IEEE80211_RADIOTAP_RTS_RETRIES
@ IEEE80211_RADIOTAP_LOCK_QUALITY
@ IEEE80211_RADIOTAP_VENDOR_NAMESPACE
@ IEEE80211_RADIOTAP_CHANNEL
@ IEEE80211_RADIOTAP_FLAGS
@ IEEE80211_RADIOTAP_TX_ATTENUATION
@ IEEE80211_RADIOTAP_DB_ANTNOISE
@ IEEE80211_RADIOTAP_DB_ANTSIGNAL
@ IEEE80211_RADIOTAP_TSFT
@ IEEE80211_RADIOTAP_RATE
@ IEEE80211_RADIOTAP_FHSS
@ IEEE80211_RADIOTAP_DBM_ANTNOISE
@ IEEE80211_RADIOTAP_ANTENNA
@ IEEE80211_RADIOTAP_DBM_ANTSIGNAL
@ IEEE80211_RADIOTAP_RX_FLAGS
static u16 get_unaligned_le16(const u8 *p)