Specifies the enums and Data Structures used by the Wlan APIs.
Data Structures | |
struct | tstr1xAuthCredentials |
struct | tstrAuth1xMschap2 |
struct | tstrAuth1xTls |
struct | tstrAuthPsk |
struct | tstrAuthWep |
struct | tstrConfAutoRate |
Auto TX rate selection parameters passed to m2m_wifi_conf_auto_rate. More... | |
struct | tstrCyptoResp |
crypto response More... | |
struct | tstrEthInitParam |
Structure to hold Ethernet interface parameters. Structure is to be defined and have its attributes set, based on the application's functionality before a call is made to initialize the wi-fi operations by calling the m2m_wifi_init function. Part of the wi-fi configuration structure tstrWifiInitParam. Applications shouldn't need to define this structure, if the bypass mode is not defined. More... | |
struct | tstrM2MAPConfig |
AP Configuration. More... | |
struct | tstrM2MAPConfigExt |
AP Configuration Extension. More... | |
struct | tstrM2MAPModeConfig |
AP Configuration. More... | |
struct | tstrM2mBatteryVoltage |
Battery Voltage. More... | |
struct | tstrM2mClientState |
PS Client State. More... | |
struct | tstrM2mConnCredCmn |
Wi-Fi Connect Credentials Common section. More... | |
struct | tstrM2mConnCredHdr |
Wi-Fi Connect Credentials Header. More... | |
struct | tstrM2MConnInfo |
M2M Provisioning Information obtained from the HTTP Provisioning server. More... | |
struct | tstrM2MDefaultConnResp |
Response error of the m2m_default_connect. More... | |
struct | tstrM2MDeviceNameConfig |
Device name. More... | |
struct | tstrM2mEnableLogs |
Enable Firmware logs. More... | |
struct | tstrM2MGenericResp |
Generic success/error response. More... | |
struct | tstrM2MIPConfig |
IP configuration (static/DHCP). The same structure is used for DCHP callback as well as static IP configuration. More... | |
struct | tstrM2mIpCtrlBuf |
Structure holding the incoming buffer's data size information, indicating the data size of the buffer and the remaining buffer's data size. The data of the buffer which holds the packet sent to the host when in the bypass mode, is placed in the tstrEthInitParam::au8ethRcvBuf attribute. This following information is retrieved in the host when an event M2M_WIFI_RESP_ETHERNET_RX_PACKET is received in the Wi-Fi callback function tpfAppWifiCb. More... | |
struct | tstrM2mIpRsvdPkt |
Received Packet Size and Data Offset. More... | |
struct | tstrM2mLsnInt |
Listen interval. More... | |
struct | tstrM2MMulticastMac |
M2M add/remove multi-cast mac address. More... | |
struct | tstrM2MProvisionInfo |
M2M Provisioning Information obtained from the HTTP Provisioning server. More... | |
struct | tstrM2MProvisionModeConfig |
M2M Provisioning Mode Configuration. More... | |
struct | tstrM2mPsType |
Power Save Configuration. More... | |
struct | tstrM2mPwrMode |
Power Mode. More... | |
struct | tstrM2mReqScanResult |
Scan Result Request. More... | |
struct | tstrM2MScan |
Wi-Fi Scan Request. More... | |
struct | tstrM2mScanDone |
Wi-Fi Scan Result. More... | |
struct | tstrM2MScanOption |
This struct contains the configuration options for Wi-Fi scan. More... | |
struct | tstrM2MScanRegion |
Wi-Fi channel regulation region information. More... | |
struct | tstrM2Mservercmd |
PS Server CMD. More... | |
struct | tstrM2mServerInit |
PS Server initialization. More... | |
struct | tstrM2mSetMacAddress |
Sets the MAC address from application. The WINC load the mac address from the effuse by default to the WINC configuration memory, but that function is used to let the application overwrite the configuration memory with the mac address from the host. More... | |
struct | tstrM2mSlpReqTime |
Manual power save request sleep time. More... | |
struct | tstrM2MSNTPConfig |
SNTP Client Configuration. More... | |
struct | tstrM2MStopScanOption |
This struct holds additional configuration options for Wi-Fi scan. More... | |
struct | tstrM2mTxPwrLevel |
Tx power level. More... | |
struct | tstrM2mWifi1xHdr |
Wi-Fi Authentication 802.1x header for parameters. The parameters (Domain, UserName, PrivateKey/Password) are appended to this structure. More... | |
struct | tstrM2mWifiApId |
Specify an access point (by SSID) More... | |
struct | tstrM2mWifiAuthInfoHdr |
Generic Wi-Fi authentication information to be sent in a separate HIF message of type M2M_WIFI_IND_CONN_PARAM (preceding M2M_WIFI_REQ_CONN). More... | |
struct | tstrM2mWifiConnHdr |
Wi-Fi Connect Request (new format) for use with M2M_WIFI_REQ_CONN. This structure is sent across the HIF along with the relevant auth details. One of: tstrM2mWifiPsk tstrM2mWifiWep tstrM2mWifi1xHdr If further authentication details need to be sent (such as client certificate for 1x TLS), they are sent with header tstrM2mWifiAuthInfoHdr in a preceding HIF message of type M2M_WIFI_IND_CONN_PARAM. More... | |
struct | tstrM2mWiFiGainIdx |
Gain Table index selection corresponding to specific WiFi region. More... | |
struct | tstrM2mWifiGainsParams |
Gain Values. More... | |
struct | tstrM2MWifiMonitorModeCtrl |
Wi-Fi Monitor Mode Filter. More... | |
struct | tstrM2mWifiPsk |
Passphrase and PSK for WPA(2) PSK. More... | |
struct | tstrM2mWiFiRoaming |
Roaming related information . More... | |
struct | tstrM2MWifiRxPacketInfo |
Wi-Fi RX Frame Header. More... | |
struct | tstrM2mWifiscanResult |
Wi-Fi Scan Result. More... | |
struct | tstrM2mWifiStateChanged |
Wi-Fi Connection State. More... | |
struct | tstrM2MWifiTxPacketInfo |
Wi-Fi TX Packet Info. More... | |
struct | tstrM2mWifiWep |
WEP security key header. More... | |
struct | tstrM2mWifiWepParams |
struct | tstrM2mWiFiXOSleepEnable |
Choose to keep the XO on or off over deep sleep. More... | |
struct | tstrM2MWPSConnect |
WPS Configuration parameters. More... | |
struct | tstrM2MWPSInfo |
WPS Result. More... | |
struct | tstrNetworkId |
struct | tstrPrng |
M2M Request PRNG. More... | |
struct | tstrSystemTime |
Used for time storage. More... | |
struct | tstrWifiInitParam |
Structure, holding the Wi-fi configuration attributes such as the wi-fi callback , monitoring mode callback and Ethernet parameter initialization structure.More... | |
Functions | |
_Static_assert ((sizeof(tstrM2mPwrMode)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mTxPwrLevel)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWiFiGainIdx)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mEnableLogs)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mBatteryVoltage)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWiFiRoaming)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWiFiXOSleepEnable)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mConnCredHdr)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mConnCredCmn)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiWep)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiPsk)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifi1xHdr)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiAuthInfoHdr)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiConnHdr)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiApId)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MGenericResp)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MWPSConnect)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MDefaultConnResp)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MScanOption)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MStopScanOption)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MScanRegion)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrCyptoResp)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mScanDone)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mReqScanResult)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiscanResult)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mWifiStateChanged)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mPsType)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mLsnInt)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MWifiMonitorModeCtrl)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MWifiRxPacketInfo)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MAPConfig)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MAPConfigExt)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MAPModeConfig)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mServerInit)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mClientState)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2Mservercmd)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2mSetMacAddress)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MProvisionModeConfig)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MConnInfo)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MSNTPConfig)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrSystemTime)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrM2MMulticastMac)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrPrng)%4)==0,"Structure alignment error") | |
_Static_assert ((sizeof(tstrConfAutoRate)%4)==0,"Structure alignment error") | |
enum tenu1xOption |
Enumerator | |
---|---|
WIFI_1X_BYPASS_SERVER_AUTH |
Server authentication for 802.1x connections. Values are of type int. |
WIFI_1X_SESSION_CACHING |
TLS session caching on/off for 802.1x connections. Values are of type int. |
WIFI_1X_SPECIFIC_ROOTCERT |
SHA1 digest of subject name of the root certificate to be used during server authentication. Values are: |
WIFI_1X_TIME_VERIF_MODE |
Mode for checking expiry of server certificate chain. Values are of type tenuSslCertExpSettings. Default is SSL_CERT_EXP_CHECK_EN_IF_SYS_TIME. |
enum tenuCredStoreOption |
enum tenuFlashLUTEntryID |
enum tenuM2mApCmd |
enum tenuM2mConfigCmd |
This enum contains host commands used to configure the WINC board.
enum tenuM2mConnState |
enum tenuM2mCryptoCmd |
enum tenuM2mGenCmd |
This enum contains additional WINC commands (overflow of previous enums).
Enumerator | |
---|---|
M2M_WIFI_REQ_ROAMING |
Request to enable/disable wifi roaming. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_XO_SLEEP_ENABLE |
Request to enable/disable the crystal oscillator during deep sleep. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_REQ_SET_STOP_SCAN_OPTION |
Set Scan option to stop on first result. (Processing matches tenuM2mConfigCmd.) |
M2M_WIFI_MAX_GEN_ALL |
enum tenuM2mIpCmd |
enum tenuM2mPwrMode |
enum tenuM2mReqGroup |
enum tenuM2mReqpkt |
enum tenuM2mScanCh |
Wi-Fi RF Channels.
enum tenuM2mScanRegion |
enum tenuM2mSecType |
Wi-Fi Supported Security types.
Wi-Fi Supported SSID types.
enum tenuM2mServerCmd |
enum tenuM2mSigmaCmd |
enum tenuM2mSsidMode |
enum tenuM2mStaCmd |
This enum contains WINC commands while in Station mode.
Enumerator | |
---|---|
M2M_WIFI_REQ_CONNECT |
Connect with AP command. This command is deprecated in favour of M2M_WIFI_REQ_CONN. |
M2M_WIFI_REQ_DEFAULT_CONNECT |
Connect with default AP command. |
M2M_WIFI_RESP_DEFAULT_CONNECT |
Request connection information response. |
M2M_WIFI_REQ_DISCONNECT |
Request to disconnect from AP command. |
M2M_WIFI_RESP_CON_STATE_CHANGED |
Connection state changed response. |
M2M_WIFI_REQ_SLEEP |
Set PS mode command. |
M2M_WIFI_REQ_WPS_SCAN |
Request WPS scan command. |
M2M_WIFI_REQ_WPS |
Request WPS start command. |
M2M_WIFI_REQ_START_WPS |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_REQ_DISABLE_WPS |
Request to disable WPS command. |
M2M_WIFI_REQ_DHCP_CONF |
Response indicating that IP address was obtained. |
M2M_WIFI_RESP_IP_CONFIGURED |
This command is for internal use by the WINC and should not be used by the host driver. |
M2M_WIFI_RESP_IP_CONFLICT |
Response indicating a conflict in obtained IP address. The user should re attempt the DHCP request. |
M2M_WIFI_REQ_ENABLE_MONITORING |
Request to enable monitor mode command. |
M2M_WIFI_REQ_DISABLE_MONITORING |
Request to disable monitor mode command. |
M2M_WIFI_RESP_WIFI_RX_PACKET |
Indicate that a packet was received in monitor mode. |
M2M_WIFI_REQ_SEND_WIFI_PACKET |
Send packet in monitor mode. |
M2M_WIFI_REQ_LSN_INT |
Set WiFi listen interval. |
M2M_WIFI_REQ_DOZE |
Used to force the WINC to sleep in manual PS mode. |
M2M_WIFI_REQ_CONN |
New command to connect with AP. This replaces M2M_WIFI_REQ_CONNECT. (Firmware continues to handle M2M_WIFI_REQ_CONNECT for backwards compatibility purposes.) |
M2M_WIFI_IND_CONN_PARAM |
Provide extra information (such as Enterprise client certificate) required for connection. |
M2M_WIFI_REQ_DHCP_FAILURE |
Response indicating that IP address could not be obtained or renewed. If the IP could not be renewed then the previous IP will continue to be used. |
M2M_WIFI_MAX_STA_ALL |
enum tenuM2mTxPwrLevel |
enum tenuM2mWepKeyIndex |
enum tenuM2mWifiMode |
Wi-Fi Operation Mode.
enum tenuPowerSaveModes |
Power Save Modes.
enum tenuSNTPUseDHCP |
enum tenuWifiState |
Enumeration for Wi-Fi state The following is used to track the state of the wifi (not initialized, initialized or started)
Enumerator | |
---|---|
WIFI_STATE_DEINIT |
Wifi is not initialized |
WIFI_STATE_INIT |
Wifi has been initialized |
WIFI_STATE_START |
Wifi has started |
enum tenuWlanTxRate |
All possible supported 802.11 WLAN TX rates.
enum tenuWPSTrigger |
_Static_assert | ( | (sizeof(tstrM2mPwrMode)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mTxPwrLevel)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWiFiGainIdx)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mEnableLogs)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mBatteryVoltage)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWiFiRoaming)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWiFiXOSleepEnable)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mConnCredHdr)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mConnCredCmn)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiWep)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiPsk)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifi1xHdr)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiAuthInfoHdr)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiConnHdr)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiApId)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MGenericResp)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MWPSConnect)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MDefaultConnResp)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MScanOption)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MStopScanOption)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MScanRegion)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrCyptoResp)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mScanDone)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mReqScanResult)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiscanResult)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mWifiStateChanged)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mPsType)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mLsnInt)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MWifiMonitorModeCtrl)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MWifiRxPacketInfo)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MAPConfig)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MAPConfigExt)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MAPModeConfig)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mServerInit)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mClientState)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2Mservercmd)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2mSetMacAddress)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MProvisionModeConfig)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MConnInfo)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MSNTPConfig)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrSystemTime)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrM2MMulticastMac)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrPrng)%4) | = =0 , |
"Structure alignment error" | |||
) |
_Static_assert | ( | (sizeof(tstrConfAutoRate)%4) | = =0 , |
"Structure alignment error" | |||
) |