Constants#
This section provides a reference to Wi-Fi API constants.
Note
The macros in this section are fixed and are not user configurable.
Enumerations#
Enumeration for Wi-Fi security types.
Enumeration for Wi-Fi encryption methods.
Enumeration for Wi-Fi Transition Disable Indication (TDI).
Enumeration for Wi-Fi Credential Types.
Enumeration of Wi-Fi antenna selections.
Enumeration of Wi-Fi interface indices.
Enumeration of Wi-Fi interfaces.
Enumeration of de-authentication reasons from an access point.
Enumeration of Wi-Fi regulatory regions.
Wi-Fi rate protocols.
Wi-Fi scan types.
Enumeration of Wi-Fi transfer rates.
Enumeration of Wi-Fi Basic Service Set (BSS) types.
Enumeration of Wi-Fi radio bands.
Enumeration of Wi-Fi bandwidth options.
Option flags for Wi-Fi client interfaces.
Enumeration of listen interval time units.
Enumeration of Wi-Fi WPS (Wi-Fi Protected Setup) modes.
Enumeration of Wi-Fi event groups.
Enumeration of Wi-Fi events.
Enumeration defining actions related to Target Wake Time (TWT).
Enumeration of Wi-Fi data rates.
Enumeration of Wi-Fi TX test modes.
Enumeration of High Throughput (HT) capabilities.
Enumeration of multicast filter command types.
Option flags for EAP (Extensible Authentication Protocol) client interfaces.
Macros#
Maximum number of Access Points that can be scanned during a Wi-Fi scan operation.
Maximum number of clients supported when module is running in Access Point mode.
Maximum length of the Wi-Fi Pre-Shared Key (PSK) credential.
Maximum length of the Wi-Fi Pairwise Master Key (PMK) credential.
Maximum length of the key in WEP security.
Maximum number of keys supported for WEP security.
Maximum length of the username in enterprise security.
Maximum length of the password in enterprise security.
Maximum length of the certificate key in enterprise security.
Select Internal Antenna for Wi-Fi.
Select External Antenna for Wi-Fi.
Macro to get the default Wi-Fi interface.
Maximum interval for Wi-Fi roaming trigger in milliseconds.
Macro to enable Auto Channel Selection (ACS).
Macro to define the default channel bitmap for scanning.
Macro to check for null pointers in API inputs.
Macro to check for invalid Wi-Fi interfaces in API inputs.
Wi-Fi transceiver default channel.
Wi-Fi transceiver default TX power.
Wi-Fi transceiver default retransmit count.
Wi-Fi transceiver default BE cwmin contention param value.
Wi-Fi transceiver default BE cwmax contention param value.
Wi-Fi transceiver default BE aifsn contention param value.
Wi-Fi transceiver default BK cwmin contention param value.
Wi-Fi transceiver default BK cwmax contention param value.
Wi-Fi transceiver default BK aifsn contention param value.
Wi-Fi transceiver default VI cwmin contention param value.
Wi-Fi transceiver default VI cwmax contention param value.
Wi-Fi transceiver default VI aifsn contention param value.
Wi-Fi transceiver default VO cwmin contention param value.
Wi-Fi transceiver default VO cwmax contention param value.
Wi-Fi transceiver default VO aifsn contention param value.
Enumeration Documentation#
sl_wifi_security_t#
sl_wifi_security_t
Enumeration for Wi-Fi security types.
Note
WPA3 Transition security type is not currently supported while running as an Access Point (AP).
Enumerator | |
---|---|
SL_WIFI_OPEN | Wi-Fi Open security type. |
SL_WIFI_WPA | Wi-Fi WPA security type. |
SL_WIFI_WPA2 | Wi-Fi WPA2 security type. |
SL_WIFI_WEP | Wi-Fi WEP security type. |
SL_WIFI_WPA_ENTERPRISE | Wi-Fi WPA enterprise security type. |
SL_WIFI_WPA2_ENTERPRISE | Wi-Fi WPA2 enterprise security type. |
SL_WIFI_WPA_WPA2_MIXED | Wi-Fi WPA/WPA2 mixed security type that supports both WPA and WPA2. |
SL_WIFI_WPA3 | Wi-Fi WPA3 security type. |
SL_WIFI_WPA3_TRANSITION | Wi-Fi WPA3 Transition security type (not currently supported in AP mode) |
SL_WIFI_SECURITY_UNKNOWN | Wi-Fi Unknown Security type. |
62
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_encryption_t#
sl_wifi_encryption_t
Enumeration for Wi-Fi encryption methods.
Note
Some encryption types are not currently supported in station (STA) mode.
Enumerator | |
---|---|
SL_WIFI_DEFAULT_ENCRYPTION | Default Wi-Fi encryption. |
SL_WIFI_NO_ENCRYPTION | Wi-Fi with no Encryption (not currently supported in STA mode) |
SL_WIFI_WEP_ENCRYPTION | Wi-Fi with WEP Encryption (not currently supported in STA mode) |
SL_WIFI_TKIP_ENCRYPTION | Wi-Fi with TKIP Encryption (not currently supported in STA mode) |
SL_WIFI_CCMP_ENCRYPTION | Wi-Fi with CCMP Encryption. |
SL_WIFI_EAP_TLS_ENCRYPTION | Wi-Fi with Enterprise TLS Encryption. |
SL_WIFI_EAP_TTLS_ENCRYPTION | Wi-Fi with Enterprise TTLS Encryption. |
SL_WIFI_EAP_FAST_ENCRYPTION | Wi-Fi with Enterprise FAST Encryption. |
SL_WIFI_PEAP_MSCHAPV2_ENCRYPTION | Wi-Fi with Enterprise PEAP Encryption. |
SL_WIFI_EAP_LEAP_ENCRYPTION | Wi-Fi with Enterprise LEAP Encryption. |
82
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_tdi_t#
sl_wifi_tdi_t
Enumeration for Wi-Fi Transition Disable Indication (TDI).
Note
TDI is supported only in WPA3 (Personal or Personal Transition) security in Access Point (AP) mode.
Enumerator | |
---|---|
SL_WIFI_TDI_NONE | Allows stations to transition within AP network. |
SL_WIFI_TDI_SAE | Disallows stations from transitioning within the AP network and only allows connections with WPA3-SAE security mode. |
101
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_credential_type_t#
sl_wifi_credential_type_t
Enumeration for Wi-Fi Credential Types.
Enumerator | |
---|---|
SL_WIFI_PSK_CREDENTIAL | Wi-Fi Personal Credential. |
SL_WIFI_PMK_CREDENTIAL | Wi-Fi Pairwise Master Key. |
SL_WIFI_WEP_CREDENTIAL | Wi-Fi WEP Credential. |
SL_WIFI_EAP_CREDENTIAL | Wi-Fi Enterprise Client Credential. |
112
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_antenna_t#
sl_wifi_antenna_t
Enumeration of Wi-Fi antenna selections.
Note
Only the internal antenna is currently supported.
Enumerator | |
---|---|
SL_WIFI_ANTENNA_1 | Wi-Fi Radio Antenna 1 (not currently supported) |
SL_WIFI_ANTENNA_2 | Wi-Fi Radio Antenna 2 (not currently supported) |
SL_WIFI_ANTENNA_AUTO | Wi-Fi Radio Antenna Auto Selection (not currently supported) |
SL_WIFI_ANTENNA_EXTERNAL | Wi-Fi Radio External Antenna (not currently supported) |
SL_WIFI_ANTENNA_INTERNAL | Wi-Fi Radio Internal Antenna. |
125
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_interface_index_t#
sl_wifi_interface_index_t
Enumeration of Wi-Fi interface indices.
Note
5 GHz interfaces are not currently supported.
Enumerator | |
---|---|
SL_WIFI_CLIENT_2_4GHZ_INTERFACE_INDEX | Wi-Fi client on 2.4 GHz interface. |
SL_WIFI_AP_2_4GHZ_INTERFACE_INDEX | Wi-Fi access point on 2.4 GHz interface. |
SL_WIFI_CLIENT_5GHZ_INTERFACE_INDEX | Wi-Fi client on 5 GHz interface (not currently supported) |
SL_WIFI_AP_5GHZ_INTERFACE_INDEX | Wi-Fi access point on 5 GHz interface (not currently supported) |
SL_WIFI_TRANSCEIVER_INTERFACE_INDEX | Wi-Fi transceiver mode. |
SL_WIFI_MAX_INTERFACE_INDEX | Used for internally by SDK. |
139
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_interface_t#
sl_wifi_interface_t
Enumeration of Wi-Fi interfaces.
Note
5 GHz radio interfaces are not currently supported.
Enumerator | |
---|---|
SL_WIFI_INVALID_INTERFACE | Invalid interface. |
SL_WIFI_CLIENT_INTERFACE | Wi-Fi client interface. |
SL_WIFI_AP_INTERFACE | Wi-Fi access point interface. |
SL_WIFI_2_4GHZ_INTERFACE | 2.4 GHz radio interface |
SL_WIFI_5GHZ_INTERFACE | 5 GHz radio interface (currently not supported for Si91x) |
SL_WIFI_TRANSCEIVER_INTERFACE | Wi-Fi Transceiver mode interface. |
SL_WIFI_CLIENT_2_4GHZ_INTERFACE | Wi-Fi client interface on 2.4 GHz radio. |
SL_WIFI_AP_2_4GHZ_INTERFACE | Wi-Fi access point interface on 2.4 GHz radio. |
SL_WIFI_CLIENT_5GHZ_INTERFACE | Wi-Fi client interface on 5 GHz radio (currently not supported for Si91x) |
SL_WIFI_AP_5GHZ_INTERFACE | Wi-Fi access point interface on 5 GHz radio (currently not supported for Si91x) |
SL_WIFI_ALL_INTERFACES | All available Wi-Fi interfaces (5GHz is currently not supported for Si91x) |
154
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_deauth_reason_t#
sl_wifi_deauth_reason_t
Enumeration of de-authentication reasons from an access point.
Enumerator | |
---|---|
SL_WIFI_DEAUTH | De-Authentication from radius server. |
SL_WIFI_DEAUTH_UNSPECIFIED | Unspecified de-authentication reason. |
186
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_regulatory_region_t#
sl_wifi_regulatory_region_t
Enumeration of Wi-Fi regulatory regions.
Note
Australia and France regions are not currently supported.
Enumerator | |
---|---|
SL_WIFI_REGION_AUSTRALIA | Wi-Fi Region Australia (not currently supported) |
SL_WIFI_REGION_FRANCE | Wi-Fi Region France (not currently supported) |
SL_WIFI_REGION_EUROPEAN_UNION | Wi-Fi Region European Union. |
SL_WIFI_REGION_JAPAN | Wi-Fi Region Japan. |
SL_WIFI_REGION_UNITED_STATES | Wi-Fi Region United States. |
197
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_rate_protocol_t#
sl_wifi_rate_protocol_t
Wi-Fi rate protocols.
Note
Recommended value for default behavior is SL_WIFI_RATE_PROTOCOL_AUTO.
802.11ac not currently supported.
Enumerator | |
---|---|
SL_WIFI_RATE_PROTOCOL_B_ONLY | 802.11b rates only (rates go here) |
SL_WIFI_RATE_PROTOCOL_G_ONLY | 802.11g rates only (rates go here) |
SL_WIFI_RATE_PROTOCOL_N_ONLY | 802.11n rates only (rates go here) |
SL_WIFI_RATE_PROTOCOL_AC_ONLY | 802.11ac rates only (rates go here) (not currently supported) |
SL_WIFI_RATE_PROTOCOL_AX_ONLY | 802.11ax rates only (rates go here) |
SL_WIFI_RATE_PROTOCOL_AUTO | Automatic rate selection. |
210
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_scan_type_t#
sl_wifi_scan_type_t
Wi-Fi scan types.
Enumerator | |
---|---|
SL_WIFI_SCAN_TYPE_ACTIVE | Active scan: Transmit probe requests and listen for responses. |
SL_WIFI_SCAN_TYPE_PASSIVE | Passive scan: No active transmissions, listen for AP beacons and probe responses. |
SL_WIFI_SCAN_TYPE_PROHIBITED_CHANNELS | Scan channels prohibited by regulatory region. |
SL_WIFI_SCAN_TYPE_ADV_SCAN | Advanced scan: Scan for Access Points while the module is in connected state. |
220
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_rate_t#
sl_wifi_rate_t
Enumeration of Wi-Fi transfer rates.
Enumerator | |
---|---|
SL_WIFI_AUTO_RATE | Wi-Fi Auto transfer rate. |
SL_WIFI_RATE_11B_1 | Wi-Fi 1 Mbps transfer rate for 802.11b. |
SL_WIFI_RATE_11B_MIN | Wi-Fi Minimum transfer rate for 802.11b. |
SL_WIFI_RATE_11B_2 | Wi-Fi 2 Mbps transfer rate for 802.11b. |
SL_WIFI_RATE_11B_5_5 | Wi-Fi 5.5 Mbps transfer rate for 802.11b. |
SL_WIFI_RATE_11B_11 | Wi-Fi 11 Mbps transfer rate for 802.11b. |
SL_WIFI_RATE_11B_MAX | Wi-Fi Maximum transfer rate for 802.11b. |
SL_WIFI_RATE_11G_6 | Wi-Fi 6 Mbps transfer rate for 802.11g. |
SL_WIFI_RATE_11G_MIN | Wi-Fi Minimum transfer rate for 802.11g. |
SL_WIFI_RATE_11G_9 | Wi-Fi 9 Mbps transfer rate for 802.11g. |
SL_WIFI_RATE_11G_12 | Wi-Fi 12 Mbps transfer rate for 802.11g. |
SL_WIFI_RATE_11G_18 | Wi-Fi 18 Mbps transfer rate for 802.11g. |
SL_WIFI_RATE_11G_24 | Wi-Fi 24 Mbps transfer rate for 802.11g. |
SL_WIFI_RATE_11G_36 | Wi-Fi 36 Mbps transfer rate for 802.11g. |
SL_WIFI_RATE_11G_48 | Wi-Fi 48 Mbps transfer rate for 802.11g. |
SL_WIFI_RATE_11G_54 | Wi-Fi 54 Mbps transfer rate for 802.11g. |
SL_WIFI_RATE_11G_MAX | Wi-Fi Maximum transfer rate for 802.11g. |
SL_WIFI_RATE_11N_MCS0 | Wi-Fi MCS index 0 transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MIN | Wi-Fi Minimum transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MCS1 | Wi-Fi MCS index 1 transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MCS2 | Wi-Fi MCS index 2 transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MCS3 | Wi-Fi MCS index 3 transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MCS4 | Wi-Fi MCS index 4 transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MCS5 | Wi-Fi MCS index 5 transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MCS6 | Wi-Fi MCS index 6 transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MCS7 | Wi-Fi MCS index 7 transfer rate for 802.11n. |
SL_WIFI_RATE_11N_MAX | Wi-Fi Maximum transfer rate for 802.11n. |
SL_WIFI_RATE_11AX_MCS0 | Wi-Fi MCS index 0 transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MIN | Wi-Fi Minimum transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MCS1 | Wi-Fi MCS index 1 transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MCS2 | Wi-Fi MCS index 2 transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MCS3 | Wi-Fi MCS index 3 transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MCS4 | Wi-Fi MCS index 4 transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MCS5 | Wi-Fi MCS index 5 transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MCS6 | Wi-Fi MCS index 6 transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MCS7 | Wi-Fi MCS index 7 transfer rate for 802.11ax. |
SL_WIFI_RATE_11AX_MAX | Wi-Fi Maximum transfer rate for 802.11ax. |
SL_WIFI_RATE_INVALID | Wi-Fi Invalid transfer rate. |
232
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_bss_type_t#
sl_wifi_bss_type_t
Enumeration of Wi-Fi Basic Service Set (BSS) types.
Enumerator | |
---|---|
SL_WIFI_BSS_TYPE_INFRASTRUCTURE | Infrastructure BSS: Standard Wi-Fi Infrastructure network with an access point. |
SL_WIFI_BSS_TYPE_ADHOC | Ad-hoc BSS: Peer-to-peer Wi-Fi network without an access point. |
SL_WIFI_BSS_TYPE_ANY | Any Wi-Fi BSS type. |
SL_WIFI_BSS_TYPE_UNKNOWN | Unknown Wi-Fi BSS type. |
282
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_band_t#
sl_wifi_band_t
Enumeration of Wi-Fi radio bands.
Note
Only the 2.4 GHz band is currently supported.
Enumerator | |
---|---|
SL_WIFI_AUTO_BAND | Wi-Fi Band Auto. |
SL_WIFI_BAND_900MHZ | Wi-Fi Band 900 MHz (not currently supported) |
SL_WIFI_BAND_2_4GHZ | Wi-Fi Band 2.4 GHz. |
SL_WIFI_BAND_5GHZ | Wi-Fi Band 5 GHz (not currently supported) |
SL_WIFI_BAND_6GHZ | Wi-Fi Band 6 GHz (not currently supported) |
SL_WIFI_BAND_60GHZ | Wi-Fi Band 60 GHz (not currently supported) |
296
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_bandwidth_t#
sl_wifi_bandwidth_t
Enumeration of Wi-Fi bandwidth options.
Note
Only 20 MHz bandwidth is currently supported.
Enumerator | |
---|---|
SL_WIFI_AUTO_BANDWIDTH | Wi-Fi Bandwidth Auto. |
SL_WIFI_BANDWIDTH_10MHz | Wi-Fi Bandwidth 10 MHz (not currently supported) |
SL_WIFI_BANDWIDTH_20MHz | Wi-Fi Bandwidth 20 MHz. |
SL_WIFI_BANDWIDTH_40MHz | Wi-Fi Bandwidth 40 MHz (not currently supported) |
SL_WIFI_BANDWIDTH_80MHz | Wi-Fi Bandwidth 80 MHz (not currently supported) |
SL_WIFI_BANDWIDTH_160MHz | Wi-Fi Bandwidth 160 MHz (not currently supported) |
311
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_client_flag_t#
sl_wifi_client_flag_t
Option flags for Wi-Fi client interfaces.
Enumerator | |
---|---|
SL_WIFI_NO_JOIN_OPTION | Wi-Fi Client Join with no flags. |
SL_WIFI_JOIN_WITH_NO_CSA | Wi-Fi Client Join without Channel Switch Announcement (CSA) |
SL_WIFI_JOIN_WITH_SCAN | Wi-Fi Client Join with Scan. |
324
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_ap_flag_t#
sl_wifi_ap_flag_t
Option flags for Access Point (AP) interfaces.
Enumerator | |
---|---|
SL_WIFI_HIDDEN_SSID | Hide the SSID of the AP. |
334
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_listen_interval_time_unit_t#
sl_wifi_listen_interval_time_unit_t
Enumeration of listen interval time units.
Enumerator | |
---|---|
SL_WIFI_LISTEN_INTERVAL_TIME_UNIT_BEACON | Time units specified in beacon periods. |
SL_WIFI_LISTEN_INTERVAL_TIME_UNIT_DTIM | Time units specified in Delivery Traffic Indication Message (DTIM) periods. |
342
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_wps_mode_t#
sl_wifi_wps_mode_t
Enumeration of Wi-Fi WPS (Wi-Fi Protected Setup) modes.
Enumerator | |
---|---|
SL_WIFI_WPS_PIN_MODE | WPS pin mode: Requires a PIN to be entered on the client device. |
SL_WIFI_WPS_PUSH_BUTTON_MODE | WPS push button mode: Requires the user to press a physical or virtual button on both the AP and the client device. |
351
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_event_group_t#
sl_wifi_event_group_t
Enumeration of Wi-Fi event groups.
Enumerator | |
---|---|
SL_WIFI_SCAN_RESULT_EVENTS | Event group for Wi-Fi scan results. |
SL_WIFI_JOIN_EVENTS | Event group for Wi-Fi join status. |
SL_WIFI_RX_PACKET_EVENTS | Event group for Wi-Fi received packet. This feature is not supported in current release. |
SL_WIFI_COMMAND_RESPONSE_EVENTS | Event group for Wi-Fi command response. This feature is not supported in current release. |
SL_WIFI_STATS_RESPONSE_EVENTS | Event group for Wi-Fi statistics response. |
SL_WIFI_HTTP_OTA_FW_UPDATE_EVENTS | Event group for Wi-Fi OTA firmware update status via HTTP. |
SL_WIFI_NETWORK_DOWN_EVENTS | Event group for Wi-Fi network down. This feature is not supported in current release. |
SL_WIFI_NETWORK_UP_EVENTS | Event group for Wi-Fi network up. This feature is not supported in current release. |
SL_WIFI_CLIENT_CONNECTED_EVENTS | Event group for Wi-Fi client connected status. |
SL_WIFI_TWT_RESPONSE_EVENTS | Event group for Wi-Fi TWT response. |
SL_WIFI_CLIENT_DISCONNECTED_EVENTS | Event group for Wi-Fi client disconnection status. |
SL_WIFI_TRANSCEIVER_EVENTS | Event group for Wi-Fi transceiver events. |
SL_WIFI_EVENT_GROUP_COUNT | Event group for Wi-Fi maximum default group count. Used internally by SDK. |
SL_WIFI_EVENT_FAIL_INDICATION_EVENTS | Event group for Wi-Fi fail indication. |
360
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_event_t#
sl_wifi_event_t
Enumeration of Wi-Fi events.
Note
Each event group has a matching event.
Each event group may be a source of multiple different events.
Enumerator | |
---|---|
SL_WIFI_SCAN_RESULT_EVENT | Event for Wi-Fi scan result. Data would be type of sl_wifi_scan_result_t. |
SL_WIFI_JOIN_EVENT | Event for Wi-Fi join status. Data would be of type string. |
SL_WIFI_RX_PACKET_EVENT | Event for Wi-Fi received packet. This feature is not supported in current release. |
SL_WIFI_COMMAND_RESPONSE_EVENT | Event for Wi-Fi command response. This feature is not supported in current release. |
SL_WIFI_STATS_RESPONSE_EVENT | Event for Wi-Fi statistics response. Data would be NULL. |
SL_WIFI_HTTP_OTA_FW_UPDATE_EVENT | Event for Wi-Fi OTA firmware update status via HTTP. Data would be NULL. |
SL_WIFI_NETWORK_DOWN_EVENT | Event for Wi-Fi network down. This feature is not supported in current release. |
SL_WIFI_NETWORK_UP_EVENT | Event for Wi-Fi network up. This feature is not supported in current release. |
SL_WIFI_CLIENT_CONNECTED_EVENT | Event for Wi-Fi client connected status in Access Point Mode. Data would be of type sl_mac_address_t. |
SL_WIFI_TWT_RESPONSE_EVENT | Event for Wi-Fi TWT response in WiFi Client mode. Data would be NULL. |
SL_WIFI_CLIENT_DISCONNECTED_EVENT | Event for Wi-Fi client disconnection status in Access Point Mode. Data would of type sl_mac_address_t. |
SL_WIFI_TRANSCEIVER_EVENT | Event for Wi-Fi transceiver TX/RX events in WiFi Client mode. |
SL_WIFI_TWT_UNSOLICITED_SESSION_SUCCESS_EVENT | Event for TWT unsolicited session success. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_AP_REJECTED_EVENT | Event for TWT AP rejection. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_OUT_OF_TOLERANCE_EVENT | Event for TWT out of tolerance. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_RESPONSE_NOT_MATCHED_EVENT | Event for TWT response not matched. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_UNSUPPORTED_RESPONSE_EVENT | Event for TWT unsupported response. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_TEARDOWN_SUCCESS_EVENT | Event for TWT teardown success. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_AP_TEARDOWN_SUCCESS_EVENT | Event for TWT AP teardown success. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_FAIL_MAX_RETRIES_REACHED_EVENT | Event for TWT maximum retries reached. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_INACTIVE_DUE_TO_ROAMING_EVENT | Event for TWT inactive due to roaming. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_INACTIVE_DUE_TO_DISCONNECT_EVENT | Event for TWT inactive due to disconnect. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_INACTIVE_NO_AP_SUPPORT_EVENT | Event for TWT inactive due to no AP support. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_RESCHEDULE_TWT_SUCCESS_EVENT | Event for TWT suspend resume success. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_INFO_FRAME_EXCHANGE_FAILED_EVENT | Event for TWT info frame exchange failure. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_TWT_EVENTS_END | Event for TWT event end. Data would be of type sl_si91x_twt_response_t. |
SL_WIFI_STATS_EVENT | Event for Wi-Fi statistics. This feature is not supported in current release. |
SL_WIFI_STATS_AYSNC_EVENT | Event for Wi-Fi asynchronous statistics. Data would be of type sl_si91x_async_stats_response_t |
SL_WIFI_STATS_ADVANCE_EVENT | Event for Wi-Fi advance statistics. Data would be of type sl_si91x_advance_stats_response_t |
SL_WIFI_STATS_TEST_MODE_EVENT | Event for Wi-Fi test mode statistics. This feature is not supported in current release. |
SL_WIFI_STATS_MODULE_STATE_EVENT | Event for Wi-Fi module state statistics. Data would be of type sl_si91x_module_state_stats_response_t |
SL_WIFI_TRANSCEIVER_RX_DATA_RECEIVE_CB | |
SL_WIFI_TRANSCEIVER_TX_DATA_STATUS_CB | |
SL_WIFI_EVENT_FAIL_INDICATION | Event for Wi-Fi event failure indication. |
SL_WIFI_INVALID_EVENT | Invalid Wi-Fi event. Data would be NULL. |
384
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_reschedule_twt_action_t#
sl_wifi_reschedule_twt_action_t
Enumeration defining actions related to Target Wake Time (TWT).
Enumerator | |
---|---|
SL_WIFI_SUSPEND_INDEFINITELY | Suspend TWT indefinitely, effectively disabling TWT functionality until explicitly resumed. |
SL_WIFI_SUSPEND_FOR_DURATION | Suspend TWT for a specified duration, after which it can automatically resume. |
SL_WIFI_RESUME_IMMEDIATELY | Resume TWT immediately, allowing devices to continue adhering to TWT schedules. |
497
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_data_rate_t#
sl_wifi_data_rate_t
Enumeration of Wi-Fi data rates.
Enumerator | |
---|---|
SL_WIFI_DATA_RATE_1 | Wi-Fi 1 Mbps transfer rate. |
SL_WIFI_DATA_RATE_2 | Wi-Fi 2 Mbps transfer rate. |
SL_WIFI_DATA_RATE_5_5 | Wi-Fi 5.5 Mbps transfer rate. |
SL_WIFI_DATA_RATE_11 | Wi-Fi 11 Mbps transfer rate. |
SL_WIFI_DATA_RATE_6 | Wi-Fi 6 Mbps transfer rate. |
SL_WIFI_DATA_RATE_9 | Wi-Fi 9 Mbps transfer rate. |
SL_WIFI_DATA_RATE_12 | Wi-Fi 12 Mbps transfer rate. |
SL_WIFI_DATA_RATE_18 | Wi-Fi 18 Mbps transfer rate. |
SL_WIFI_DATA_RATE_24 | Wi-Fi 24 Mbps transfer rate. |
SL_WIFI_DATA_RATE_36 | Wi-Fi 36 Mbps transfer rate. |
SL_WIFI_DATA_RATE_48 | Wif-Fi 48 Mbps transfer rate. |
SL_WIFI_DATA_RATE_54 | Wi-Fi 54 Mbps transfer rate. |
SL_WIFI_DATA_RATE_MCS0 | Wi-Fi MCS index 0 transfer rate. |
SL_WIFI_DATA_RATE_MCS1 | Wi-Fi MCS index 1 transfer rate. |
SL_WIFI_DATA_RATE_MCS2 | Wi-Fi MCS index 2 transfer rate. |
SL_WIFI_DATA_RATE_MCS3 | Wi-Fi MCS index 3 transfer rate. |
SL_WIFI_DATA_RATE_MCS4 | Wi-Fi MCS index 4 transfer rate. |
SL_WIFI_DATA_RATE_MCS5 | Wi-Fi MCS index 5 transfer rate. |
SL_WIFI_DATA_RATE_MCS6 | Wi-Fi MCS index 6 transfer rate. |
SL_WIFI_DATA_RATE_MCS7 | Wi-Fi MCS index 7 transfer rate. |
SL_WIFI_DATA_RATE_MCS7_SG |
507
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_tx_test_mode_t#
sl_wifi_tx_test_mode_t
Enumeration of Wi-Fi TX test modes.
Enumerator | |
---|---|
SL_WIFI_TEST_BURST_MODE | Burst Mode. |
SL_WIFI_TEST_CONTINOUS_MODE | Continuous Mode. |
SL_WIFI_TEST_CONTINOUS_WAVE_MODE | CW Mode. |
SL_WIFI_TEST_CONTINOUS_WAVE_MODE_OFF_CENTER_LOW | CW Mode center frequency - 2.5 MHZ Mode. |
SL_WIFI_TEST_CONTINOUS_WAVE_MODE_OFF_CENTER_HIGH | CW Mode center frequency + 5 MHZ Mode. |
535
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_high_throughput_capability_types_t#
sl_wifi_high_throughput_capability_types_t
Enumeration of High Throughput (HT) capabilities.
Enumerator | |
---|---|
SL_WIFI_HT_CAPS_NUM_RX_STBC | Number of RX Space-Time Block Coding (STBC) streams supported. |
SL_WIFI_HT_CAPS_SHORT_GI_20MHZ | Support for Short Guard Interval (GI) in 20 MHz channels. |
SL_WIFI_HT_CAPS_GREENFIELD_EN | Support for Greenfield mode, which improves efficiency by eliminating legacy preambles. |
SL_WIFI_HT_CAPS_SUPPORT_CH_WIDTH | Support for wider channel bandwidths. |
547
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_multicast_filter_command_t#
sl_wifi_multicast_filter_command_t
Enumeration of multicast filter command types.
Enumerator | |
---|---|
SL_WIFI_MULTICAST_MAC_ADD_BIT | To set particular bit in multicast bitmap. |
SL_WIFI_MULTICAST_MAC_CLEAR_BIT | To reset particular bit in multicast bitmap. |
SL_WIFI_MULTICAST_MAC_CLEAR_ALL | To clear all the bits in multicast bitmap. |
SL_WIFI_MULTICAST_MAC_SET_ALL | To set all the bits in multicast bitmap. |
559
of file components/protocol/wifi/inc/sl_wifi_constants.h
sl_wifi_eap_client_flag_t#
sl_wifi_eap_client_flag_t
Option flags for EAP (Extensible Authentication Protocol) client interfaces.
Enumerator | |
---|---|
SL_WIFI_EAP_ENABLE_OKC | Wi-Fi EAP Client flag to enable Opportunistic Key Caching (OKC) |
SL_WIFI_EAP_ENABLE_PEAP_CA | Wi-Fi EAP Client flag to enable CA certificate requirement for PEAP connection. |
SL_WIFI_EAP_DHE_RSA_AES256_SHA256 | Wi-Fi EAP Client flag to use DHE-RSA-AES256-SHA256 Cipher for EAP connection. |
SL_WIFI_EAP_DHE_RSA_AES128_SHA256 | Wi-Fi EAP Client flag to use DHE-RSA-AES128-SHA256 Cipher for EAP connection. |
SL_WIFI_EAP_DHE_RSA_AES256_SHA | Wi-Fi EAP Client flag to use DHE-RSA-AES256-SHA Cipher for EAP connection. |
SL_WIFI_EAP_DHE_RSA_AES128_SHA | Wi-Fi EAP Client flag to use DHE-RSA-AES128-SHA Cipher for EAP connection. |
SL_WIFI_EAP_AES256_SHA256 | Wi-Fi EAP Client flag to use AES256-SHA256 Cipher for EAP connection. |
SL_WIFI_EAP_AES128_SHA256 | Wi-Fi EAP Client flag to use AES128-SHA256 Cipher for EAP connection. |
SL_WIFI_EAP_AES256_SHA | Wi-Fi EAP Client flag to use AES256-SHA Cipher for EAP connection. |
SL_WIFI_EAP_AES128_SHA | Wi-Fi EAP Client flag to use AES128-SHA Cipher for EAP connection. |
SL_WIFI_EAP_RC4_SHA | Wi-Fi EAP Client flag to use RC4-SHA Cipher for EAP connection. |
SL_WIFI_EAP_DES_CBC3_SHA | Wi-Fi EAP Client flag to use DES-CBC3-SHA Cipher for EAP connection. |
SL_WIFI_EAP_RC4_MD5 | Wi-Fi EAP Client flag to use RC4-MD5 Cipher for EAP connection. |
570
of file components/protocol/wifi/inc/sl_wifi_constants.h
Macro Definition Documentation#
SL_WIFI_MAX_SCANNED_AP#
#define SL_WIFI_MAX_SCANNED_APValue:
11
Maximum number of Access Points that can be scanned during a Wi-Fi scan operation.
18
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_MAX_CLIENT_COUNT#
#define SL_WIFI_MAX_CLIENT_COUNTValue:
16
Maximum number of clients supported when module is running in Access Point mode.
21
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_MAX_PSK_LENGTH#
#define SL_WIFI_MAX_PSK_LENGTHValue:
32
Maximum length of the Wi-Fi Pre-Shared Key (PSK) credential.
24
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_MAX_PMK_LENGTH#
#define SL_WIFI_MAX_PMK_LENGTHValue:
64
Maximum length of the Wi-Fi Pairwise Master Key (PMK) credential.
27
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_WEP_KEY_LENGTH#
#define SL_WIFI_WEP_KEY_LENGTHValue:
32
Maximum length of the key in WEP security.
30
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_WEP_KEY_COUNT#
#define SL_WIFI_WEP_KEY_COUNTValue:
4
Maximum number of keys supported for WEP security.
33
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_EAP_USER_NAME_LENGTH#
#define SL_WIFI_EAP_USER_NAME_LENGTHValue:
64
Maximum length of the username in enterprise security.
36
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_EAP_PASSWORD_LENGTH#
#define SL_WIFI_EAP_PASSWORD_LENGTHValue:
128
Maximum length of the password in enterprise security.
39
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_EAP_CERTIFICATE_KEY_LENGTH#
#define SL_WIFI_EAP_CERTIFICATE_KEY_LENGTHValue:
80
Maximum length of the certificate key in enterprise security.
42
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_SELECT_INTERNAL_ANTENNA#
#define SL_WIFI_SELECT_INTERNAL_ANTENNAValue:
0
Select Internal Antenna for Wi-Fi.
45
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_SELECT_EXTERNAL_ANTENNA#
#define SL_WIFI_SELECT_EXTERNAL_ANTENNAValue:
1
Select External Antenna for Wi-Fi.
48
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_DEFAULT_INTERFACE#
#define SL_WIFI_DEFAULT_INTERFACEValue:
sl_wifi_get_default_interface()
Macro to get the default Wi-Fi interface.
51
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_NEVER_ROAM#
#define SL_WIFI_NEVER_ROAMValue:
0x7FFFFFFF
Maximum interval for Wi-Fi roaming trigger in milliseconds.
54
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_AUTO_CHANNEL#
#define SL_WIFI_AUTO_CHANNELValue:
0
Macro to enable Auto Channel Selection (ACS).
This macro defines the value to enable the Auto Channel Selection (ACS) feature, which automatically determines the operating channel for the Access Point (AP).
Note
The channel in which the AP operates. A value of zero enables the ACS feature.
If ACS is enabled, AP start may take approximately 9 seconds as the device scans all channels to select the best channel.
601
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_DEFAULT_CHANNEL_BITMAP#
#define SL_WIFI_DEFAULT_CHANNEL_BITMAPValue:
0
Macro to define the default channel bitmap for scanning.
Note
The selected or preferred channels to be scanned before the client connects to the AP. A value of zero means to scan on all available channels.
610
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_ARGS_CHECK_NULL_POINTER#
#define SL_WIFI_ARGS_CHECK_NULL_POINTERValue:
Macro to check for null pointers in API inputs.
616
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_WIFI_ARGS_CHECK_INVALID_INTERFACE#
#define SL_WIFI_ARGS_CHECK_INVALID_INTERFACEValue:
Macro to check for invalid Wi-Fi interfaces in API inputs.
627
of file components/protocol/wifi/inc/sl_wifi_constants.h
SL_CHANNEL_NO#
#define SL_CHANNEL_NOValue:
14
Wi-Fi transceiver default channel.
68
of file components/protocol/wifi/inc/sl_wifi_types.h
SL_TX_POWER#
#define SL_TX_POWERValue:
20
Wi-Fi transceiver default TX power.
69
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_RETRANSMIT_COUNT#
#define DEFAULT_RETRANSMIT_COUNTValue:
15
Wi-Fi transceiver default retransmit count.
70
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_BE_CWMIN#
#define DEFAULT_QOS_BE_CWMINValue:
4
Wi-Fi transceiver default BE cwmin contention param value.
71
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_BE_CWMAX#
#define DEFAULT_QOS_BE_CWMAXValue:
6
Wi-Fi transceiver default BE cwmax contention param value.
72
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_BE_AIFSN#
#define DEFAULT_QOS_BE_AIFSNValue:
3
Wi-Fi transceiver default BE aifsn contention param value.
73
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_BK_CWMIN#
#define DEFAULT_QOS_BK_CWMINValue:
4
Wi-Fi transceiver default BK cwmin contention param value.
74
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_BK_CWMAX#
#define DEFAULT_QOS_BK_CWMAXValue:
10
Wi-Fi transceiver default BK cwmax contention param value.
75
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_BK_AIFSN#
#define DEFAULT_QOS_BK_AIFSNValue:
7
Wi-Fi transceiver default BK aifsn contention param value.
76
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_VI_CWMIN#
#define DEFAULT_QOS_VI_CWMINValue:
3
Wi-Fi transceiver default VI cwmin contention param value.
77
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_VI_CWMAX#
#define DEFAULT_QOS_VI_CWMAXValue:
4
Wi-Fi transceiver default VI cwmax contention param value.
78
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_VI_AIFSN#
#define DEFAULT_QOS_VI_AIFSNValue:
1
Wi-Fi transceiver default VI aifsn contention param value.
79
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_VO_CWMIN#
#define DEFAULT_QOS_VO_CWMINValue:
2
Wi-Fi transceiver default VO cwmin contention param value.
80
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_VO_CWMAX#
#define DEFAULT_QOS_VO_CWMAXValue:
3
Wi-Fi transceiver default VO cwmax contention param value.
81
of file components/protocol/wifi/inc/sl_wifi_types.h
DEFAULT_QOS_VO_AIFSN#
#define DEFAULT_QOS_VO_AIFSNValue:
1
Wi-Fi transceiver default VO aifsn contention param value.
82
of file components/protocol/wifi/inc/sl_wifi_types.h