!
unsigned bssidmatch0:1;
unsigned bssidmatch1:1;
unsigned MCS:7;
modulation
unsigned CWB:1; // if is 11n packet, shows if is HT40 packet or
not
unsigned HT_length:16;// if is 11n packet, shows length of
packet.
unsigned Smoothing:1;
unsigned Not_Sounding:1;
unsigned:1;
unsigned Aggregation:1;
unsigned STBC:2;
unsigned FEC_CODING:1; // if is 11n packet, shows if is LDPC
packet or not.
unsigned SGI:1;
unsigned rxend_state:8;
unsigned ampdu_cnt:8;
unsigned channel:4; //which channel this packet in.
unsigned:12;
};
struct LenSeq{
u16 len; // length of packet
u16 seq; // serial number of packet, the high 12bits are serial
number,
u8 addr3[6]; // the third address in packet
};
struct sniffer_buf{
struct RxControl rx_ctrl;
u8 buf[36]; // head of ieee80211 packet
u16 cnt;
struct LenSeq lenseq[1];
Espressif
//
low 14 bits are Fragment number (usually be 0)
// number count of packet
//length of packet
81 86
!
/!
// if is 11n packet, shows the
// and code used (range from 0 to 76)
14. Sniffer Introduction
2016.05
Need help?
Do you have a question about the ESP8266 and is the answer not in the manual?
Questions and answers