Classes | |
struct | tstrM2mWifiWepParams |
WEP security key parameters. More... | |
struct | tstr1xAuthCredentials |
Credentials for the user to authenticate with the AAA server (WPA-Enterprise Mode IEEE802.1x). More... | |
union | tuniM2MWifiAuth |
Wi-Fi Security Parameters for all supported security modes. More... | |
struct | tstrM2MWifiSecInfo |
Authentication credentials to connect to a Wi-Fi network. More... | |
struct | tstrM2mWifiConnect |
Wi-Fi Connect Request. More... | |
struct | tstrM2MWPSConnect |
WPS Configuration parameters. More... | |
struct | tstrM2MWPSInfo |
WPS Result. More... | |
struct | tstrM2MScanRegion |
Wi-Fi channel regulation region information. More... | |
struct | tstrM2MScanList |
Wi-Fi channel list regulation. More... | |
struct | tstrM2MScan |
Wi-Fi Scan Request. More... | |
struct | tstrM2mScanDone |
Wi-Fi Scan Result. More... | |
struct | tstrM2mReqScanResult |
Scan Result Request. More... | |
struct | tstrM2mWifiscanResult |
Wi-Fi Scan Result. More... | |
struct | tstrM2mWifiStateChanged |
Wi-Fi Connection State. More... | |
struct | tstrM2mPsType |
Power Save Configuration. More... | |
struct | tstrM2mLsnInt |
Listen interval. More... | |
struct | tstrM2MWifiMonitorModeCtrl |
Wi-Fi Monitor Mode Filter. More... | |
struct | tstrM2MWifiRxPacketInfo |
Wi-Fi RX Frame Header. More... | |
struct | tstrM2MWifiTxPacketInfo |
Wi-Fi Tx Packet Info. More... | |
struct | tstrM2MP2PConnect |
Set the device to operate in the Wi-Fi Direct (P2P) mode. More... | |
struct | tstrM2MAPConfig |
AP Configuration. More... | |
struct | tstrM2mSetMacAddress |
Sets the MAC address from application. It is only intended for testing purpose. This method is not used for production SW. Production SW reads MAC Address from EFUSE. More... | |
struct | tstrM2MDeviceNameConfig |
Device name. More... | |
struct | tstrM2MUserMaxTxRate |
User specified Max Tx Rate. More... | |
struct | tstrM2MIPConfig |
Static IP configuration. More... | |
struct | tstrM2mIpRsvdPkt |
Received Packet Size and Data Offset. More... | |
struct | tstrM2MConnInfo |
M2M Provisioning Information obtained from the HTTP Provisioning server. More... | |
struct | tstrM2MAssocEntryInfo |
M2M association information of of an assoicated entry in the AP mode. More... | |
struct | tstrM2MAPAssocInfo |
M2M association information of the connected station in the AP mode. More... | |
struct | tstrSystemTime |
Used for time storage. More... | |
struct | tstrM2MMulticastMac |
M2M add/remove multicast mac address. More... | |
struct | tstrM2MIfId |
Set Intrface ID. More... | |
struct | tstrM2mTxPwrLevel |
Tx power level. More... | |
struct | tstrEthInitParam |
Structure to hold ethernet interface parameters. Structure is to be defined and have its attributes set,based on the application's functiality before a call is made to the initialize the wi-fi operations by calling the m2m_wifi_init function. Part of the wi-fi configuration structure tstrWifiInitParam. More... | |
struct | tstrM2MDataBufCtrl |
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 is placed in the tstrEthInitParam structure in the au8ethRcvBuf attribute. This following information is retreived in the host when an event M2M_WIFI_RESP_ETHERNET_RX_PACKET is received in the wi-fi callback function tpfAppWifiCb. More... | |
struct | tstrWifiInitParam |
Structure, holding the Wi-Fi configuration attributes such as the Wi-Fi callback, monitoring mode callback and Ethernet parameter initialization structure. Such configuration parameters are required to be set before calling the Wi-Fi initialization function pfAppWifiCb attribute must be set to handle the wi-fi callback operations. pfAppMonCb attribute, is optional based on wether the application requires the monitoring mode configuration, and can there not be set before the initialization. strEthInitParam structure must be set to handle ethernet packet. More... | |
Typedefs | |
typedef void(* | tpfAppWifiCb) (uint8 u8MsgType, void *pvMsg) |
Wi-Fi's main callback function handler, for handling the M2M_WIFI events received on the Wi-Fi interface. Such notifications are received in response to Wi-Fi/P2P operations such as m2m_wifi_request_scan, m2m_wifi_connect. Wi-Fi/P2P operations are implemented in an asynchronous mode, and all incoming information/status are to be handled through this callback function when the corresponding notification is received. Applications are expected to assign this wi-fi callback function by calling m2m_wifi_init. More... | |
typedef void(* | tpfAppEthCb) (uint8 u8MsgType, void *pvMsg, void *pvCtrlBuf) |
Ethernet notification callback function receiving events as defined in the Wi-Fi reponses enumeration tenuM2mStaCmd. More... | |
typedef void(* | tpfAppMonCb) (tstrM2MWifiRxPacketInfo *pstrWifiRxPacket, uint8 *pu8Payload, uint16 u16PayloadSize) |
Wi-Fi monitoring mode callback function. This function delivers all received wi-Fi packets through the Wi-Fi interface. Applications requiring to operate in the monitoring should call the asynchronous function m2m_wifi_enable_monitoring_mode and expect to receive the wi-fi packets through this callback function, when the event ....is received. To disable the monitoring mode a call to m2m_wifi_disable_monitoring_mode should be made. More... | |
tpfAppEthCb |
Ethernet notification callback function receiving events as defined in the Wi-Fi reponses enumeration tenuM2mStaCmd.
[in] | u8MsgType | Type of notification. Possible types are: |
[in] | pvMsg | A pointer to a buffer containing the notification parameters (if any). It should be casted to the correct data type corresponding to the notification type. For example, it could be a pointer to the buffer holding the received frame in case of M2M_WIFI_RESP_ETHERNET_RX_PACKET event. |
[in] | pvControlBuf | A pointer to control buffer describing the accompanied message. To be casted to tstrM2MDataBufCtrl in case of M2M_WIFI_RESP_ETHERNET_RX_PACKET event. |
tpfAppMonCb |
Wi-Fi monitoring mode callback function. This function delivers all received wi-Fi packets through the Wi-Fi interface. Applications requiring to operate in the monitoring should call the asynchronous function m2m_wifi_enable_monitoring_mode and expect to receive the wi-fi packets through this callback function, when the event ....is received. To disable the monitoring mode a call to m2m_wifi_disable_monitoring_mode should be made.
[in] | pstrWifiRxPacket | Pointer to a structure holding the Wi-Fi packet header parameters. |
[in] | pu8Payload | Pointer to the buffer holding the Wi-Fi packet payload information required by the application starting from the defined OFFSET by the application (when calling m2m_wifi_enable_monitoring_mode). Could hold a value of NULL, if the application does not need any data from the payload. |
[in] | u16PayloadSize | The size of the payload in bytes. |
tpfAppWifiCb |
Wi-Fi's main callback function handler, for handling the M2M_WIFI events received on the Wi-Fi interface. Such notifications are received in response to Wi-Fi/P2P operations such as m2m_wifi_request_scan, m2m_wifi_connect. Wi-Fi/P2P operations are implemented in an asynchronous mode, and all incoming information/status are to be handled through this callback function when the corresponding notification is received. Applications are expected to assign this wi-fi callback function by calling m2m_wifi_init.
[in] | u8MsgType | Type of notification. Possible types are: /ref M2M_WIFI_RESP_CON_STATE_CHANGED /ref M2M_WIFI_RESP_CONN_INFO /ref M2M_WIFI_REQ_WPS /ref M2M_WIFI_RESP_SCAN_DONE /ref M2M_WIFI_RESP_SCAN_RESULT /ref M2M_WIFI_RESP_CURRENT_RSSI /ref M2M_WIFI_RESP_DEFAULT_CONNECT /ref M2M_WIFI_RESP_ETHERNET_RX_PACKET |
In case Monitoring mode is used: M2M_WIFI_RESP_WIFI_RX_PACKET
[in] | pvMsg | A pointer to a buffer containing the notification parameters (if any). It should be Casted to the correct data type corresponding to the notification type. |
enum tenuM2mApCmd |
This enum contains all the WILC commands while in AP mode.
enum tenuM2mConfigCmd |
This enum contains all the host commands used to configure the WILC board.
enum tenuM2mConnState |
enum tenuM2mP2pCmd |
enum tenuM2mSecType |
Wi-Fi Supported Security types.
Wi-Fi Supported SSID types.
enum tenuM2mSsidMode |
enum tenuM2mStaCmd |
This enum contains all the WILC commands while in Station mode.
enum tenuM2mTxPwrLevel |
enum tenuM2mWepKeyIndex |
enum holding P2P Control interface for different concurrency modes
enum tenuPowerSaveModes |
enum tenuSubTypes |
Enumeration for Wi-Fi MAC Frame subtype code (6-bit). The frame subtypes fall into one of the three frame type groups as defined in tenuWifiFrameType (MANAGEMENT, CONTROL & DATA). Values are defined as per the IEEE 802.11 standard.
Enumerator | |
---|---|
ASSOC_REQ | Sub-Types related to Management Sub-Types |
enum tenuWifiFrameType |
Enumeration for Wi-Fi MAC frame type codes (2-bit) The following types are used to identify the type of frame sent or received. Each frame type constitues a number of frame subtypes as defined in tenuSubTypes to specify the exact type of frame. Values are defined as per the IEEE 802.11 standard.
Enumerator | |
---|---|
MANAGEMENT | Wi-Fi Management frame (Probe Req/Resp, Beacon, Association Req/Resp ...etc). |
CONTROL | Wi-Fi Control frame (eg. ACK frame). |
DATA_BASICTYPE | Wi-Fi Data frame. |
enum tenuWPSTrigger |