Microchip® Advanced Software Framework

tstrM2MAPConfig Struct Reference

AP Configuration.

This structure holds the configuration parameters for the M2M AP mode. It should be set by the application when it requests to enable the M2M AP operation mode. The M2M AP mode currently supports only WEP security (with the NO Security option availabe of course).

#include <m2m_types.h>

Data Fields

uint8 __PAD__ [PAD_SZ(2+M2M_MAX_SSID_LEN+5+sizeof(tuniM2MWifiAuth))]
 
uint8 au8SSID [M2M_MAX_SSID_LEN]
 
uint16 u16BeaconInterval
 
uint8 u8IsPMKUsed
 
uint8 u8ListenChannel
 
uint8 u8MaxSupportedSta
 
uint8 u8SecType
 
uint8 u8SsidHide
 
tuniM2MWifiAuth uniAuth
 

uint8 tstrM2MAPConfig::__PAD__[PAD_SZ(2+M2M_MAX_SSID_LEN+5+sizeof(tuniM2MWifiAuth))]

Padding bytes for forcing 4-byte alignment

uint8 tstrM2MAPConfig::au8SSID[M2M_MAX_SSID_LEN]

AP SSID

uint16 tstrM2MAPConfig::u16BeaconInterval

< Configuration parameters for the WiFi AP. Time between two consecutive beacons in TUs (1024 usec). A value of 0 would use the FW default

uint8 tstrM2MAPConfig::u8IsPMKUsed

set to true if the PMK is calculated on the host .

Referenced by m2m_wifi_enable_ap().

uint8 tstrM2MAPConfig::u8ListenChannel

Wi-Fi RF Channel which the AP will operate on

uint8 tstrM2MAPConfig::u8MaxSupportedSta

Max supported stations for AP. Val 0 considered as default 8 stations Val > 8 are considered upto 8 stations

uint8 tstrM2MAPConfig::u8SecType

Security type: Open, WEP and WPA2 modes supported as defined in tenuM2mSecType

uint8 tstrM2MAPConfig::u8SsidHide

SSID Status "Hidden(1)/Visible(0)"

tuniM2MWifiAuth tstrM2MAPConfig::uniAuth

Union holding all possible authentication parameters corresponding the current security types.

Referenced by m2m_wifi_enable_ap().