ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
WifiFrameInfo Struct Reference

Decoded 802.11 MAC header. src / dst / bssid point into the frame (6 bytes) or null. More...

#include <promisc.h>

Public Attributes

WifiFrameType type
 WifiFrameType.
uint8_t subtype
 0..15
embed_bool to_ds
embed_bool from_ds
embed_bool protected_frame
 the Protected-Frame (WEP/CCMP) bit
embed_bool is_qos
 QoS data subtype (adds 2 header bytes).
uint16_t seq
 12-bit sequence number
uint16_t hdr_len
 MAC header length (bytes).
const uint8_t * dst
 destination (receiver) MAC, per the to/from-DS layout
const uint8_t * src
 source (transmitter) MAC
const uint8_t * bssid
 BSSID (null for a WDS 4-address frame).

Detailed Description

Decoded 802.11 MAC header. src / dst / bssid point into the frame (6 bytes) or null.

Definition at line 42 of file promisc.h.

Member Data Documentation

◆ type

WifiFrameType WifiFrameInfo::type

WifiFrameType.

Definition at line 44 of file promisc.h.

◆ subtype

uint8_t WifiFrameInfo::subtype

0..15

Definition at line 45 of file promisc.h.

◆ to_ds

embed_bool WifiFrameInfo::to_ds

Definition at line 46 of file promisc.h.

◆ from_ds

embed_bool WifiFrameInfo::from_ds

Definition at line 47 of file promisc.h.

◆ protected_frame

embed_bool WifiFrameInfo::protected_frame

the Protected-Frame (WEP/CCMP) bit

Definition at line 48 of file promisc.h.

◆ is_qos

embed_bool WifiFrameInfo::is_qos

QoS data subtype (adds 2 header bytes).

Definition at line 49 of file promisc.h.

◆ seq

uint16_t WifiFrameInfo::seq

12-bit sequence number

Definition at line 50 of file promisc.h.

◆ hdr_len

uint16_t WifiFrameInfo::hdr_len

MAC header length (bytes).

Definition at line 51 of file promisc.h.

◆ dst

const uint8_t* WifiFrameInfo::dst

destination (receiver) MAC, per the to/from-DS layout

Definition at line 52 of file promisc.h.

◆ src

const uint8_t* WifiFrameInfo::src

source (transmitter) MAC

Definition at line 53 of file promisc.h.

◆ bssid

const uint8_t* WifiFrameInfo::bssid

BSSID (null for a WDS 4-address frame).

Definition at line 54 of file promisc.h.


The documentation for this struct was generated from the following file: