Microchip® Advanced Software Framework

tstrM2MWifiMonitorModeCtrl Struct Reference

Wi-Fi Monitor Mode Filter.

This struct contains the Wi-Fi Monitor Mode Filter. It sets the filtering criteria for WLAN packets when monitoring mode is enabled. The received packets matching the filtering parameters, are passed directly to the application.

This structure sets the filtering criteria for Wlan packets when monitoring mode is enable. The received packets
matching the filtering parameters, are passed directly to the application.
See Also
tenuM2mScanCh tenuWifiFrameType tenuSubType

This structure sets the filtering criteria for WLAN packets when monitoring mode is enable. The received packets matching the filtering parameters, are passed directly to the application.

#include <m2m_types.h>

Data Fields

uint8 __PAD16__ [2]
 
uint8 __PAD__ [PAD_SZ(3+6+6+6+1)]
 
uint8 au8BSSID [6]
 
uint8 au8DstMacAddress [6]
 
uint8 au8SrcMacAddress [6]
 
uint8 u8ChannelID
 
uint8 u8EnRecvHdr
 
uint8 u8FrameSubtype
 
uint8 u8FrameType
 

uint8 tstrM2MWifiMonitorModeCtrl::__PAD16__

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MWifiMonitorModeCtrl::__PAD__[PAD_SZ(3+6+6+6+1)]

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MWifiMonitorModeCtrl::au8BSSID

Receive packets only with the specified BSSID. Set to zero to disable this filter.

ZERO means DO NOT FILTER BSSID.

Referenced by atCmd_MonEn_Handler().

uint8 tstrM2MWifiMonitorModeCtrl::au8DstMacAddress

Receive packets only with the specified destination mac address. Set to zero to disable this filter.

ZERO means DO NOT FILTER Destination address.

Referenced by atCmd_MonEn_Handler().

uint8 tstrM2MWifiMonitorModeCtrl::au8SrcMacAddress

Receive packets only with the specified source mac address. Set to zero to disable this filter.

ZERO means DO NOT FILTER Source address.

Referenced by atCmd_MonEn_Handler().

uint8 tstrM2MWifiMonitorModeCtrl::u8ChannelID

RF Channel ID. It must use values from tenuM2mScanCh

Referenced by atCmd_MonEn_Handler(), and m2m_wifi_enable_monitoring_mode().

uint8 tstrM2MWifiMonitorModeCtrl::u8EnRecvHdr

Enable reception of the full mac header before the payload

Enable recv the full header before the payload

Referenced by atCmd_MonEn_Handler().

uint8 tstrM2MWifiMonitorModeCtrl::u8FrameSubtype

Receive packets with the specified frame subtype as per tenuSubType. Set to M2M_WIFI_FRAME_SUB_TYPE_ANY to disable this filter

It must use values from tenuSubTypes.

Referenced by atCmd_MonEn_Handler().

uint8 tstrM2MWifiMonitorModeCtrl::u8FrameType

Receive packets with the specified frame type as per tenuWifiFrameType. Set to M2M_WIFI_FRAME_TYPE_ANY to disable this filter

It must use values from tenuWifiFrameType.

Referenced by atCmd_MonEn_Handler().