Microchip® Advanced Software Framework

tstrM2MWifiRxPacketInfo Struct Reference

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.

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.

#include <m2m_types.h>

Data Fields

uint8 __PAD24__ [3]
 
uint8 au8BSSID [6]
 
uint8 au8DstMacAddress [6]
 
uint8 au8SrcMacAddress [6]
 
sint8 s8RSSI
 
uint16 u16DataLength
 
uint16 u16FrameLength
 
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::au8BSSID

ZERO means DO NOT FILTER BSSID.

uint8 tstrM2MWifiRxPacketInfo::au8DstMacAddress

ZERO means DO NOT FILTER Destination address.

uint8 tstrM2MWifiRxPacketInfo::au8SrcMacAddress

ZERO means DO NOT FILTER Source address.

sint8 tstrM2MWifiRxPacketInfo::s8RSSI

RSSI.

uint16 tstrM2MWifiRxPacketInfo::u16DataLength

Data payload length (Header excluded).

uint16 tstrM2MWifiRxPacketInfo::u16FrameLength

Total frame length (Header + Data).

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.

uint8 tstrM2MWifiRxPacketInfo::u8FrameType

It must use values from tenuWifiFrameType.

uint8 tstrM2MWifiRxPacketInfo::u8HeaderLength

Frame Header length.

uint8 tstrM2MWifiRxPacketInfo::u8Priority

Priority from Wi-Fi header.

uint8 tstrM2MWifiRxPacketInfo::u8ServiceClass

Service class from Wi-Fi header.