Microchip® Advanced Software Framework

tstrM2MWifiRxPacketInfo Struct Reference

Wi-Fi RX Frame Header.

This struct contains the Wi-Fi RX Frame Header. The M2M application has the ability to allow Wi-Fi monitoring mode for receiving all Wi-Fi Raw frames matching a well defined filtering criteria. When a target Wi-Fi packet is received, the header information are extracted and assigned in this structure.

The M2M application has the ability to allow Wi-Fi monitoring mode for receiving all Wi-Fi Raw frames matching a well defined filtering criteria. When a target Wi-Fi packet is received, the header information are extracted and assigned in this structure.

#include <m2m_types.h>

Data Fields

uint8 __PAD24__ [3]
 
uint8 __PAD__ [PAD_SZ(4+6+7+6+6+6)]
 
uint8 au8BSSID [6]
 
uint8 au8DstMacAddress [6]
 
uint8 au8SrcMacAddress [6]
 
sint8 s8RSSI
 
uint16 u16DataLength
 
uint16 u16FrameLength
 
uint16 u16SeqNo
 
uint32 u32DataRateKbps
 
uint8 u8CipherType
 
uint8 u8FrameSubtype
 
uint8 u8FrameType
 
uint8 u8HeaderLength
 
uint8 u8Priority
 
uint8 u8ServiceClass
 

uint8 tstrM2MWifiRxPacketInfo::__PAD24__

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MWifiRxPacketInfo::__PAD__[PAD_SZ(4+6+7+6+6+6)]

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MWifiRxPacketInfo::au8BSSID

ZERO means DO NOT FILTER BSSID.

uint8 tstrM2MWifiRxPacketInfo::au8DstMacAddress

ZERO means DO NOT FILTER Destination address.

Referenced by wifi_monitoring_cb().

uint8 tstrM2MWifiRxPacketInfo::au8SrcMacAddress

ZERO means DO NOT FILTER Source address.

Referenced by wifi_monitoring_cb().

sint8 tstrM2MWifiRxPacketInfo::s8RSSI

RSSI.

uint16 tstrM2MWifiRxPacketInfo::u16DataLength

Data payload length (Header excluded).

uint16 tstrM2MWifiRxPacketInfo::u16FrameLength

Total frame length (Header + Data).

uint16 tstrM2MWifiRxPacketInfo::u16SeqNo

Frame Seq Number.

uint32 tstrM2MWifiRxPacketInfo::u32DataRateKbps

Data Rate in Kbps.

uint8 tstrM2MWifiRxPacketInfo::u8CipherType

Encryption type for the rx packet.

uint8 tstrM2MWifiRxPacketInfo::u8FrameSubtype

It must use values from tenuSubTypes.

Referenced by wifi_monitoring_cb().

uint8 tstrM2MWifiRxPacketInfo::u8FrameType

It must use values from tenuWifiFrameType.

Referenced by wifi_monitoring_cb().

uint8 tstrM2MWifiRxPacketInfo::u8HeaderLength

Frame Header length.

uint8 tstrM2MWifiRxPacketInfo::u8Priority

Priority from Wi-Fi header.

uint8 tstrM2MWifiRxPacketInfo::u8ServiceClass

Service class from Wi-Fi header.