![]() |
Morse Micro IoT SDK
2.10.4
|
Wireless LAN control and datapath.
The following table documents the threads created by the Morse WLAN driver and Upper MAC included in morselib.
| Thread | Thread Name | Priority |
|---|---|---|
| SPI driver | spi_irq | MMOSAL_TASK_PRI_HIGH |
| Morse driver | drv | MMOSAL_TASK_PRI_HIGH |
| WLAN event loop | evtloop | MMOSAL_TASK_PRI_HIGH |
| Morse health check | health | MMOSAL_TASK_PRI_LOW |
Note that to get the best performance, the WLAN driver/UMAC threads run at a high priority while it is expected that application threads run at a lower priority.
Modules | |
| WLAN Regulatory Database API | |
| API for configuration of the regulatory domain. | |
| WLAN General Control API | |
| API for general control and configuration that is not linked to a specific operational mode. | |
| WLAN Control API for Scan | |
| API for performing WLAN Scan operations. | |
| WLAN Control API for Station (STA) mode | |
| API for configuration and control of Station (STA) mode. | |
| WLAN Control API for Device Provisioning Protocol (DPP) | |
| API for executing Device Provisioning Protocol (DPP), also known as Wi-Fi Easy Connect. | |
| WLAN Control API for Access Point (AP) mode | |
| API for configuration and control of Access Point (AP) mode. | |
| WLAN Beacon Vendor Specific IE Filter API | |
| API for accessing Vendor Specific information elements (IEs) in beacons. | |
| WLAN Initialization/Deinitialization API | |
| WLAN Datapath API | |
| Datapath API that is typically hooked up to the network stack. | |
| WLAN Statistics API | |
| API for retrieving statistics information from the WLAN subsystem. | |
| WLAN Test (ATE) API | |
| Extended API particularly intended for test use cases. | |
Macros | |
| #define | MMWLAN_SSID_MAXLEN (32) |
| Maximum allowable length of an SSID. More... | |
| #define | MMWLAN_PASSPHRASE_MAXLEN (100) |
| Maximum allowable length of a passphrase when connecting to an AP. More... | |
| #define | MMWLAN_MAC_ADDR_LEN (6) |
| Length of a WLAN MAC address. More... | |
| #define | MMWLAN_MAX_EC_GROUPS (4) |
| Maximum allowable number of EC Groups. More... | |
| #define | MMWLAN_OUI_SIZE (3) |
| Size of an 802.11 OUI element in octets. More... | |
Enumerations | |
| enum | mmwlan_status { MMWLAN_SUCCESS , MMWLAN_ERROR , MMWLAN_INVALID_ARGUMENT , MMWLAN_UNAVAILABLE , MMWLAN_CHANNEL_LIST_NOT_SET , MMWLAN_NO_MEM , MMWLAN_TIMED_OUT , MMWLAN_SHUTDOWN_BLOCKED , MMWLAN_CHANNEL_INVALID , MMWLAN_NOT_FOUND , MMWLAN_NOT_RUNNING , MMWLAN_NOT_INITIALIZED , MMWLAN_VIF_ERROR } |
| Enumeration of status return codes. More... | |
| enum | mmwlan_vif { MMWLAN_VIF_UNSPECIFIED = 0 , MMWLAN_VIF_STA = 1 , MMWLAN_VIF_AP = 2 } |
| Enumeration of Virtual Interfaces supported by the MMWLAN API. More... | |
| enum | mmwlan_security_type { MMWLAN_OPEN , MMWLAN_OWE , MMWLAN_SAE } |
| Enumeration of supported security types. More... | |
| enum | mmwlan_pmf_mode { MMWLAN_PMF_REQUIRED , MMWLAN_PMF_DISABLED } |
| Enumeration of Protected Management Frame (PMF) modes (802.11w). More... | |
| #define MMWLAN_MAC_ADDR_LEN (6) |
| #define MMWLAN_MAX_EC_GROUPS (4) |
| #define MMWLAN_OUI_SIZE (3) |
| #define MMWLAN_PASSPHRASE_MAXLEN (100) |
| #define MMWLAN_SSID_MAXLEN (32) |
| enum mmwlan_pmf_mode |
| enum mmwlan_security_type |
| enum mmwlan_status |
Enumeration of status return codes.
| Enumerator | |
|---|---|
| MMWLAN_SUCCESS | The operation was successful. |
| MMWLAN_ERROR | The operation failed with an unspecified error. |
| MMWLAN_INVALID_ARGUMENT | The operation failed due to an invalid argument. |
| MMWLAN_UNAVAILABLE | Functionality is temporarily unavailable. |
| MMWLAN_CHANNEL_LIST_NOT_SET | Unable to proceed because channel list has not been set.
|
| MMWLAN_NO_MEM | Failed due to memory allocation failure. |
| MMWLAN_TIMED_OUT | Failed due to timeout. |
| MMWLAN_SHUTDOWN_BLOCKED | Used to indicate that a call to mmwlan_sta_disable() did not shutdown the transceiver. |
| MMWLAN_CHANNEL_INVALID | Attempted to tune to a channel that was not in the regulatory database or not supported. |
| MMWLAN_NOT_FOUND | The request could not be completed because the given resource was not found. |
| MMWLAN_NOT_RUNNING | Indicates that the operation failed because the UMAC was not running (e.g., the device was not booted).
|
| MMWLAN_NOT_INITIALIZED | Indicates that the operation failed because MMWLAN has not been initialized, see mmwlan_init() |
| MMWLAN_VIF_ERROR | Indicates that the specified VIF is not active or that no VIF was specified and a VIF could not be automatically inferred. |
| enum mmwlan_vif |