Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Variables
ieee80211_radiotap.h File Reference
#include <linux/if_ether.h>
#include <linux/kernel.h>
#include <asm/unaligned.h>

Go to the source code of this file.

Data Structures

struct  ieee80211_radiotap_header
 

Macros

#define PKTHDR_RADIOTAP_VERSION   0
 
#define IEEE80211_CHAN_TURBO   0x0010 /* Turbo channel */
 
#define IEEE80211_CHAN_CCK   0x0020 /* CCK channel */
 
#define IEEE80211_CHAN_OFDM   0x0040 /* OFDM channel */
 
#define IEEE80211_CHAN_2GHZ   0x0080 /* 2 GHz spectrum channel. */
 
#define IEEE80211_CHAN_5GHZ   0x0100 /* 5 GHz spectrum channel */
 
#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_RADIOTAP_F_CFP
 
#define IEEE80211_RADIOTAP_F_SHORTPRE
 
#define IEEE80211_RADIOTAP_F_WEP
 
#define IEEE80211_RADIOTAP_F_FRAG
 
#define IEEE80211_RADIOTAP_F_FCS   0x10 /* frame includes FCS */
 
#define IEEE80211_RADIOTAP_F_DATAPAD
 
#define IEEE80211_RADIOTAP_F_BADFCS   0x40 /* bad FCS */
 
#define IEEE80211_RADIOTAP_F_RX_BADPLCP   0x0002 /* frame has bad PLCP */
 
#define IEEE80211_RADIOTAP_F_TX_FAIL
 
#define IEEE80211_RADIOTAP_F_TX_CTS   0x0002 /* used cts 'protection' */
 
#define IEEE80211_RADIOTAP_F_TX_RTS   0x0004 /* used rts/cts handshake */
 
#define IEEE80211_RADIOTAP_F_TX_NOACK   0x0008 /* don't expect an ack */
 
#define IEEE80211_RADIOTAP_MCS_HAVE_BW   0x01
 
#define IEEE80211_RADIOTAP_MCS_HAVE_MCS   0x02
 
#define IEEE80211_RADIOTAP_MCS_HAVE_GI   0x04
 
#define IEEE80211_RADIOTAP_MCS_HAVE_FMT   0x08
 
#define IEEE80211_RADIOTAP_MCS_HAVE_FEC   0x10
 
#define IEEE80211_RADIOTAP_MCS_BW_MASK   0x03
 
#define IEEE80211_RADIOTAP_MCS_BW_20   0
 
#define IEEE80211_RADIOTAP_MCS_BW_40   1
 
#define IEEE80211_RADIOTAP_MCS_BW_20L   2
 
#define IEEE80211_RADIOTAP_MCS_BW_20U   3
 
#define IEEE80211_RADIOTAP_MCS_SGI   0x04
 
#define IEEE80211_RADIOTAP_MCS_FMT_GF   0x08
 
#define IEEE80211_RADIOTAP_MCS_FEC_LDPC   0x10
 
#define IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN   0x0001
 
#define IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN   0x0002
 
#define IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN   0x0004
 
#define IEEE80211_RADIOTAP_AMPDU_IS_LAST   0x0008
 
#define IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_ERR   0x0010
 
#define IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_KNOWN   0x0020
 

Enumerations

enum  ieee80211_radiotap_type {
  IEEE80211_RADIOTAP_TSFT = 0, IEEE80211_RADIOTAP_FLAGS = 1, IEEE80211_RADIOTAP_RATE = 2, IEEE80211_RADIOTAP_CHANNEL = 3,
  IEEE80211_RADIOTAP_FHSS = 4, IEEE80211_RADIOTAP_DBM_ANTSIGNAL = 5, IEEE80211_RADIOTAP_DBM_ANTNOISE = 6, IEEE80211_RADIOTAP_LOCK_QUALITY = 7,
  IEEE80211_RADIOTAP_TX_ATTENUATION = 8, IEEE80211_RADIOTAP_DB_TX_ATTENUATION = 9, IEEE80211_RADIOTAP_DBM_TX_POWER = 10, IEEE80211_RADIOTAP_ANTENNA = 11,
  IEEE80211_RADIOTAP_DB_ANTSIGNAL = 12, IEEE80211_RADIOTAP_DB_ANTNOISE = 13, IEEE80211_RADIOTAP_RX_FLAGS = 14, IEEE80211_RADIOTAP_TX_FLAGS = 15,
  IEEE80211_RADIOTAP_RTS_RETRIES = 16, IEEE80211_RADIOTAP_DATA_RETRIES = 17, IEEE80211_RADIOTAP_MCS = 19, IEEE80211_RADIOTAP_AMPDU_STATUS = 20,
  IEEE80211_RADIOTAP_RADIOTAP_NAMESPACE = 29, IEEE80211_RADIOTAP_VENDOR_NAMESPACE = 30, IEEE80211_RADIOTAP_EXT = 31
}
 

Variables

struct ieee80211_radiotap_header __packed
 

Macro Definition Documentation

#define IEEE80211_CHAN_2GHZ   0x0080 /* 2 GHz spectrum channel. */

Definition at line 223 of file ieee80211_radiotap.h.

#define IEEE80211_CHAN_5GHZ   0x0100 /* 5 GHz spectrum channel */

Definition at line 224 of file ieee80211_radiotap.h.

#define IEEE80211_CHAN_CCK   0x0020 /* CCK channel */

Definition at line 221 of file ieee80211_radiotap.h.

#define IEEE80211_CHAN_DYN   0x0400 /* Dynamic CCK-OFDM channel */

Definition at line 226 of file ieee80211_radiotap.h.

#define IEEE80211_CHAN_GFSK   0x0800 /* GFSK channel (FHSS PHY) */

Definition at line 227 of file ieee80211_radiotap.h.

#define IEEE80211_CHAN_OFDM   0x0040 /* OFDM channel */

Definition at line 222 of file ieee80211_radiotap.h.

#define IEEE80211_CHAN_PASSIVE   0x0200 /* Only passive scan allowed */

Definition at line 225 of file ieee80211_radiotap.h.

#define IEEE80211_CHAN_TURBO   0x0010 /* Turbo channel */

Definition at line 220 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_ERR   0x0010

Definition at line 269 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_AMPDU_DELIM_CRC_KNOWN   0x0020

Definition at line 270 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_AMPDU_IS_LAST   0x0008

Definition at line 268 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_AMPDU_IS_ZEROLEN   0x0002

Definition at line 266 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_AMPDU_LAST_KNOWN   0x0004

Definition at line 267 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_AMPDU_REPORT_ZEROLEN   0x0001

Definition at line 265 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_BADFCS   0x40 /* bad FCS */

Definition at line 236 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_CFP
Value:
0x01 /* sent/received
* during CFP
*/

Definition at line 230 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_DATAPAD
Value:
0x20 /* frame has padding between
* 802.11 header and payload
* (to 32-bit boundary)
*/

Definition at line 235 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_FCS   0x10 /* frame includes FCS */

Definition at line 234 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_FRAG
Value:
0x08 /* sent/received
* with fragmentation
*/

Definition at line 233 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_RX_BADPLCP   0x0002 /* frame has bad PLCP */

Definition at line 239 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_SHORTPRE
Value:
0x02 /* sent/received
* with short
* preamble
*/

Definition at line 231 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_TX_CTS   0x0002 /* used cts 'protection' */

Definition at line 243 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_TX_FAIL
Value:
0x0001 /* failed due to excessive
* retries */

Definition at line 242 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_TX_NOACK   0x0008 /* don't expect an ack */

Definition at line 245 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_TX_RTS   0x0004 /* used rts/cts handshake */

Definition at line 244 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_F_WEP
Value:
0x04 /* sent/received
* with WEP encryption
*/

Definition at line 232 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_BW_20   0

Definition at line 256 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_BW_20L   2

Definition at line 258 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_BW_20U   3

Definition at line 259 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_BW_40   1

Definition at line 257 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_BW_MASK   0x03

Definition at line 255 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_FEC_LDPC   0x10

Definition at line 262 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_FMT_GF   0x08

Definition at line 261 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_HAVE_BW   0x01

Definition at line 249 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_HAVE_FEC   0x10

Definition at line 253 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_HAVE_FMT   0x08

Definition at line 252 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_HAVE_GI   0x04

Definition at line 251 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_HAVE_MCS   0x02

Definition at line 250 of file ieee80211_radiotap.h.

#define IEEE80211_RADIOTAP_MCS_SGI   0x04

Definition at line 260 of file ieee80211_radiotap.h.

#define PKTHDR_RADIOTAP_VERSION   0

Definition at line 43 of file ieee80211_radiotap.h.

Enumeration Type Documentation

Enumerator:
IEEE80211_RADIOTAP_TSFT 
IEEE80211_RADIOTAP_FLAGS 
IEEE80211_RADIOTAP_RATE 
IEEE80211_RADIOTAP_CHANNEL 
IEEE80211_RADIOTAP_FHSS 
IEEE80211_RADIOTAP_DBM_ANTSIGNAL 
IEEE80211_RADIOTAP_DBM_ANTNOISE 
IEEE80211_RADIOTAP_LOCK_QUALITY 
IEEE80211_RADIOTAP_TX_ATTENUATION 
IEEE80211_RADIOTAP_DB_TX_ATTENUATION 
IEEE80211_RADIOTAP_DBM_TX_POWER 
IEEE80211_RADIOTAP_ANTENNA 
IEEE80211_RADIOTAP_DB_ANTSIGNAL 
IEEE80211_RADIOTAP_DB_ANTNOISE 
IEEE80211_RADIOTAP_RX_FLAGS 
IEEE80211_RADIOTAP_TX_FLAGS 
IEEE80211_RADIOTAP_RTS_RETRIES 
IEEE80211_RADIOTAP_DATA_RETRIES 
IEEE80211_RADIOTAP_MCS 
IEEE80211_RADIOTAP_AMPDU_STATUS 
IEEE80211_RADIOTAP_RADIOTAP_NAMESPACE 
IEEE80211_RADIOTAP_VENDOR_NAMESPACE 
IEEE80211_RADIOTAP_EXT 

Definition at line 190 of file ieee80211_radiotap.h.

Variable Documentation