#include <wlan/wlan_compat.h>
Include dependency graph for p80211hdr.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | WLAN_ADDR_LEN 6 |
#define | WLAN_CRC_LEN 4 |
#define | WLAN_BSSID_LEN 6 |
#define | WLAN_BSS_TS_LEN 8 |
#define | WLAN_HDR_A3_LEN 24 |
#define | WLAN_HDR_A4_LEN 30 |
#define | WLAN_SSID_MAXLEN 32 |
#define | WLAN_DATA_MAXLEN 2312 |
#define | WLAN_A3FR_MAXLEN (WLAN_HDR_A3_LEN + WLAN_DATA_MAXLEN + WLAN_CRC_LEN) |
#define | WLAN_A4FR_MAXLEN (WLAN_HDR_A4_LEN + WLAN_DATA_MAXLEN + WLAN_CRC_LEN) |
#define | WLAN_BEACON_FR_MAXLEN (WLAN_HDR_A3_LEN + 334) |
#define | WLAN_ATIM_FR_MAXLEN (WLAN_HDR_A3_LEN + 0) |
#define | WLAN_DISASSOC_FR_MAXLEN (WLAN_HDR_A3_LEN + 2) |
#define | WLAN_ASSOCREQ_FR_MAXLEN (WLAN_HDR_A3_LEN + 48) |
#define | WLAN_ASSOCRESP_FR_MAXLEN (WLAN_HDR_A3_LEN + 16) |
#define | WLAN_REASSOCREQ_FR_MAXLEN (WLAN_HDR_A3_LEN + 54) |
#define | WLAN_REASSOCRESP_FR_MAXLEN (WLAN_HDR_A3_LEN + 16) |
#define | WLAN_PROBEREQ_FR_MAXLEN (WLAN_HDR_A3_LEN + 44) |
#define | WLAN_PROBERESP_FR_MAXLEN (WLAN_HDR_A3_LEN + 78) |
#define | WLAN_AUTHEN_FR_MAXLEN (WLAN_HDR_A3_LEN + 261) |
#define | WLAN_DEAUTHEN_FR_MAXLEN (WLAN_HDR_A3_LEN + 2) |
#define | WLAN_WEP_NKEYS 4 |
#define | WLAN_WEP_MAXKEYLEN 13 |
#define | WLAN_CHALLENGE_IE_LEN 130 |
#define | WLAN_CHALLENGE_LEN 128 |
#define | WLAN_WEP_IV_LEN 4 |
#define | WLAN_WEP_ICV_LEN 4 |
#define | WLAN_FTYPE_MGMT 0x00 |
#define | WLAN_FTYPE_CTL 0x01 |
#define | WLAN_FTYPE_DATA 0x02 |
#define | WLAN_FSTYPE_ASSOCREQ 0x00 |
#define | WLAN_FSTYPE_ASSOCRESP 0x01 |
#define | WLAN_FSTYPE_REASSOCREQ 0x02 |
#define | WLAN_FSTYPE_REASSOCRESP 0x03 |
#define | WLAN_FSTYPE_PROBEREQ 0x04 |
#define | WLAN_FSTYPE_PROBERESP 0x05 |
#define | WLAN_FSTYPE_BEACON 0x08 |
#define | WLAN_FSTYPE_ATIM 0x09 |
#define | WLAN_FSTYPE_DISASSOC 0x0a |
#define | WLAN_FSTYPE_AUTHEN 0x0b |
#define | WLAN_FSTYPE_DEAUTHEN 0x0c |
#define | WLAN_FSTYPE_PSPOLL 0x0a |
#define | WLAN_FSTYPE_RTS 0x0b |
#define | WLAN_FSTYPE_CTS 0x0c |
#define | WLAN_FSTYPE_ACK 0x0d |
#define | WLAN_FSTYPE_CFEND 0x0e |
#define | WLAN_FSTYPE_CFENDCFACK 0x0f |
#define | WLAN_FSTYPE_DATAONLY 0x00 |
#define | WLAN_FSTYPE_DATA_CFACK 0x01 |
#define | WLAN_FSTYPE_DATA_CFPOLL 0x02 |
#define | WLAN_FSTYPE_DATA_CFACK_CFPOLL 0x03 |
#define | WLAN_FSTYPE_NULL 0x04 |
#define | WLAN_FSTYPE_CFACK 0x05 |
#define | WLAN_FSTYPE_CFPOLL 0x06 |
#define | WLAN_FSTYPE_CFACK_CFPOLL 0x07 |
#define | WLAN_GET_FC_PVER(n) (((UINT16)(n)) & (BIT0 | BIT1)) |
#define | WLAN_GET_FC_FTYPE(n) ((((UINT16)(n)) & (BIT2 | BIT3)) >> 2) |
#define | WLAN_GET_FC_FSTYPE(n) ((((UINT16)(n)) & (BIT4|BIT5|BIT6|BIT7)) >> 4) |
#define | WLAN_GET_FC_TODS(n) ((((UINT16)(n)) & (BIT8)) >> 8) |
#define | WLAN_GET_FC_FROMDS(n) ((((UINT16)(n)) & (BIT9)) >> 9) |
#define | WLAN_GET_FC_MOREFRAG(n) ((((UINT16)(n)) & (BIT10)) >> 10) |
#define | WLAN_GET_FC_RETRY(n) ((((UINT16)(n)) & (BIT11)) >> 11) |
#define | WLAN_GET_FC_PWRMGT(n) ((((UINT16)(n)) & (BIT12)) >> 12) |
#define | WLAN_GET_FC_MOREDATA(n) ((((UINT16)(n)) & (BIT13)) >> 13) |
#define | WLAN_GET_FC_ISWEP(n) ((((UINT16)(n)) & (BIT14)) >> 14) |
#define | WLAN_GET_FC_ORDER(n) ((((UINT16)(n)) & (BIT15)) >> 15) |
#define | WLAN_SET_FC_PVER(n) ((UINT16)(n)) |
#define | WLAN_SET_FC_FTYPE(n) (((UINT16)(n)) << 2) |
#define | WLAN_SET_FC_FSTYPE(n) (((UINT16)(n)) << 4) |
#define | WLAN_SET_FC_TODS(n) (((UINT16)(n)) << 8) |
#define | WLAN_SET_FC_FROMDS(n) (((UINT16)(n)) << 9) |
#define | WLAN_SET_FC_MOREFRAG(n) (((UINT16)(n)) << 10) |
#define | WLAN_SET_FC_RETRY(n) (((UINT16)(n)) << 11) |
#define | WLAN_SET_FC_PWRMGT(n) (((UINT16)(n)) << 12) |
#define | WLAN_SET_FC_MOREDATA(n) (((UINT16)(n)) << 13) |
#define | WLAN_SET_FC_ISWEP(n) (((UINT16)(n)) << 14) |
#define | WLAN_SET_FC_ORDER(n) (((UINT16)(n)) << 15) |
#define | WLAN_GET_SEQ_FRGNUM(n) (((UINT16)(n)) & (BIT0|BIT1|BIT2|BIT3)) |
#define | WLAN_GET_SEQ_SEQNUM(n) ((((UINT16)(n)) & (~(BIT0|BIT1|BIT2|BIT3))) >> 4) |
#define | WLAN_HDR_A3_DATAP(p) (((UINT8*)(p)) + WLAN_HDR_A3_LEN) |
#define | WLAN_HDR_A4_DATAP(p) (((UINT8*)(p)) + WLAN_HDR_A4_LEN) |
#define | DOT11_RATE5_ISBASIC_GET(r) (((UINT8)(r)) & BIT7) |
#define | WLAN_CTL_FRAMELEN(fstype) |
#define | WLAN_FCS_LEN 4 |
Typedefs | |
typedef UINT8 | wlan_bss_ts_t [8] |
typedef p80211_hdr_a3 | p80211_hdr_a3_t |
typedef p80211_hdr_a4 | p80211_hdr_a4_t |
typedef p80211_hdr | p80211_hdr_t |
Functions | |
void | p802addr_to_str (char *buf, UINT8 *addr) |
static UINT16 | p80211_headerlen (UINT16 fctl) |
|
Definition at line 78 of file p80211hdr.h. Referenced by LogDetectedClient(), LogPutBSSID(), LogPutIsAP(), and p80211_headerlen(). |
|
Definition at line 79 of file p80211hdr.h. |
|
Definition at line 80 of file p80211hdr.h. |
|
Definition at line 81 of file p80211hdr.h. |
|
Definition at line 82 of file p80211hdr.h. Referenced by p80211_headerlen(). |
|
Definition at line 83 of file p80211hdr.h. |
|
Definition at line 84 of file p80211hdr.h. Referenced by LogPutSSID_byAddMac(), and LogPutSSID_byBSSID(). |
|
Definition at line 85 of file p80211hdr.h. |
|
Definition at line 86 of file p80211hdr.h. |
|
Definition at line 87 of file p80211hdr.h. |
|
Definition at line 88 of file p80211hdr.h. |
|
Definition at line 89 of file p80211hdr.h. |
|
Definition at line 90 of file p80211hdr.h. |
|
Definition at line 91 of file p80211hdr.h. |
|
Definition at line 92 of file p80211hdr.h. |
|
Definition at line 93 of file p80211hdr.h. |
|
Definition at line 94 of file p80211hdr.h. |
|
Definition at line 95 of file p80211hdr.h. |
|
Definition at line 96 of file p80211hdr.h. |
|
Definition at line 97 of file p80211hdr.h. |
|
Definition at line 98 of file p80211hdr.h. |
|
Definition at line 99 of file p80211hdr.h. |
|
Definition at line 100 of file p80211hdr.h. |
|
Definition at line 101 of file p80211hdr.h. |
|
Definition at line 102 of file p80211hdr.h. |
|
Definition at line 103 of file p80211hdr.h. |
|
Definition at line 104 of file p80211hdr.h. |
|
Definition at line 108 of file p80211hdr.h. Referenced by p80211_headerlen(), processPacket(), and TypeOfPacketToString(). |
|
Definition at line 109 of file p80211hdr.h. Referenced by p80211_headerlen(), processPacket(), and TypeOfPacketToString(). |
|
Definition at line 110 of file p80211hdr.h. Referenced by p80211_headerlen(), processPacket(), and TypeOfPacketToString(). |
|
Definition at line 114 of file p80211hdr.h. Referenced by processPacket(), ProcessTagBits(), and TypeOfPacketToString(). |
|
Definition at line 115 of file p80211hdr.h. Referenced by processPacket(), ProcessTagBits(), and TypeOfPacketToString(). |
|
Definition at line 116 of file p80211hdr.h. Referenced by processPacket(), ProcessTagBits(), and TypeOfPacketToString(). |
|
Definition at line 117 of file p80211hdr.h. Referenced by processPacket(), ProcessTagBits(), and TypeOfPacketToString(). |
|
Definition at line 118 of file p80211hdr.h. Referenced by analyseProbeReq(), processPacket(), ProcessTagBits(), and TypeOfPacketToString(). |
|
Definition at line 119 of file p80211hdr.h. Referenced by analyseProbeRep(), processPacket(), ProcessTagBits(), and TypeOfPacketToString(). |
|
Definition at line 120 of file p80211hdr.h. Referenced by analyseBeacon(), processPacket(), ProcessTagBits(), and TypeOfPacketToString(). |
|
Definition at line 121 of file p80211hdr.h. Referenced by processPacket(), ProcessTagBits(), and TypeOfPacketToString(). |
|
Definition at line 122 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 123 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 124 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 127 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 128 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 129 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 130 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 131 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 132 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 135 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 136 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 137 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 138 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 139 of file p80211hdr.h. Referenced by analyseData(), processPacket(), and TypeOfPacketToString(). |
|
Definition at line 140 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 141 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 142 of file p80211hdr.h. Referenced by processPacket(), and TypeOfPacketToString(). |
|
Definition at line 167 of file p80211hdr.h. |
|
Definition at line 168 of file p80211hdr.h. Referenced by p80211_headerlen(), processPacket(), and TypeOfPacketToString(). |
|
Definition at line 169 of file p80211hdr.h. Referenced by analyseData(), p80211_headerlen(), processPacket(), and TypeOfPacketToString(). |
|
Definition at line 170 of file p80211hdr.h. Referenced by analyseData(), dataIsCrypted(), and p80211_headerlen(). |
|
Definition at line 171 of file p80211hdr.h. Referenced by analyseData(), dataIsCrypted(), and p80211_headerlen(). |
|
Definition at line 172 of file p80211hdr.h. |
|
Definition at line 173 of file p80211hdr.h. |
|
Definition at line 174 of file p80211hdr.h. |
|
Definition at line 175 of file p80211hdr.h. |
|
Definition at line 176 of file p80211hdr.h. |
|
Definition at line 177 of file p80211hdr.h. |
|
Definition at line 179 of file p80211hdr.h. |
|
Definition at line 180 of file p80211hdr.h. |
|
Definition at line 181 of file p80211hdr.h. |
|
Definition at line 182 of file p80211hdr.h. |
|
Definition at line 183 of file p80211hdr.h. |
|
Definition at line 184 of file p80211hdr.h. |
|
Definition at line 185 of file p80211hdr.h. |
|
Definition at line 186 of file p80211hdr.h. |
|
Definition at line 187 of file p80211hdr.h. |
|
Definition at line 188 of file p80211hdr.h. |
|
Definition at line 189 of file p80211hdr.h. |
|
Definition at line 202 of file p80211hdr.h. Referenced by analyseBeacon(), analyseProbeRep(), and analyseProbeReq(). |
|
Definition at line 203 of file p80211hdr.h. Referenced by analyseBeacon(), analyseProbeRep(), analyseProbeReq(), and LogPutSeqNum(). |
|
Definition at line 209 of file p80211hdr.h. |
|
Definition at line 210 of file p80211hdr.h. |
|
Definition at line 212 of file p80211hdr.h. |
|
Value: (\ (fstype) == WLAN_FSTYPE_PSPOLL ? 20 : \ (fstype) == WLAN_FSTYPE_RTS ? 20 : \ (fstype) == WLAN_FSTYPE_CTS ? 14 : \ (fstype) == WLAN_FSTYPE_ACK ? 14 : \ (fstype) == WLAN_FSTYPE_CFEND ? 20 : \ (fstype) == WLAN_FSTYPE_CFENDCFACK ? 20 : 0) Definition at line 261 of file p80211hdr.h. Referenced by p80211_headerlen(). |
|
Definition at line 269 of file p80211hdr.h. Referenced by p80211_headerlen(). |
|
Definition at line 218 of file p80211hdr.h. |
|
|
|
|
|
|
|
|
|
Definition at line 272 of file p80211hdr.h. References WLAN_ADDR_LEN, WLAN_CTL_FRAMELEN, WLAN_FCS_LEN, WLAN_FTYPE_CTL, WLAN_FTYPE_DATA, WLAN_FTYPE_MGMT, WLAN_GET_FC_FROMDS, WLAN_GET_FC_FSTYPE, WLAN_GET_FC_FTYPE, WLAN_GET_FC_TODS, and WLAN_HDR_A3_LEN. |