Types#

This section provides a reference to Wi-Fi API data types.

Modules#

sl_wifi_buffer_t

sl_wifi_buffer_configuration_t

sl_wifi_channel_t

sl_wifi_ssid_t

sl_wifi_roam_configuration_t

sl_wifi_firmware_version_t

sl_wifi_scan_result_t

sl_wifi_extended_scan_result_t

sl_wifi_extended_scan_result_parameters_t

sl_wifi_scan_configuration_t

sl_wifi_advanced_scan_configuration_t

sl_wifi_ap_configuration_t

sl_wifi_advanced_ap_configuration_t

sl_si91x_ap_reconfiguration_t

sl_wifi_channel_bitmap_t

sl_wifi_client_configuration_t

sl_wifi_advanced_client_configuration_t

sl_wifi_psk_credential_t

sl_wifi_pmk_credential_t

sl_wifi_wep_credential_t

sl_wifi_eap_credential_t

sl_wifi_credential_t

sl_wifi_twt_request_t

sl_wifi_twt_selection_t

sl_wifi_reschedule_twt_config_t

sl_wifi_status_t

sl_wifi_statistics_t

sl_wifi_operational_statistics_t

sl_wifi_p2p_configuration_t

sl_wifi_event_data_t

sl_wifi_wps_pin_t

sl_wifi_listen_interval_t

sl_wifi_client_info_t

sl_wifi_client_info_response_t

sl_wifi_max_tx_power_t

sl_wifi_multicast_filter_info_t

sl_wifi_tsf64_t

sl_wifi_transceiver_tx_data_control_t

sl_wifi_transceiver_cw_config_t

sl_wifi_transceiver_parameters_t

sl_wifi_transceiver_set_channel_t

sl_wifi_transceiver_peer_update_t

sl_wifi_transceiver_mcast_filter_t

sl_wifi_transceiver_configuration_t

sl_wifi_transceiver_tx_data_confirmation_t

sl_wifi_transceiver_rx_data_t

Enumerations#

enum
SL_WIFI_TX_FRAME_BUFFER
SL_WIFI_RX_FRAME_BUFFER
SL_WIFI_CONTROL_BUFFER
SL_WIFI_SCAN_RESULT_BUFFER
}

Enumeration for types of Wi-Fi buffers.

Typedefs#

typedef sl_status_t(*
sl_wifi_event_handler_t)(sl_wifi_event_t event, sl_wifi_buffer_t *buffer)

Generic callback for handling Wi-Fi events.

typedef uint32_t

Wi-Fi credential handle.

Enumeration Documentation#

sl_wifi_buffer_type_t#

sl_wifi_buffer_type_t

Enumeration for types of Wi-Fi buffers.

Enumerator
SL_WIFI_TX_FRAME_BUFFER

Buffer for sending socket data to NWP.

SL_WIFI_RX_FRAME_BUFFER

Buffer for storing response from NWP.

SL_WIFI_CONTROL_BUFFER

Buffer for sending command to NWP.

SL_WIFI_SCAN_RESULT_BUFFER

Buffer for storing scan results.


Definition at line 30 of file components/protocol/wifi/inc/sl_wifi_host_interface.h

Typedef Documentation#

sl_wifi_event_handler_t#

sl_wifi_event_handler_t )(sl_wifi_event_t event, sl_wifi_buffer_t *buffer)

Generic callback for handling Wi-Fi events.

Parameters
N/Aevent

Wi-Fi event of type sl_wifi_event_t.

N/Abuffer

Pointer to a Wi-Fi buffer contains information related to the event, of type sl_wifi_buffer_t

Returns

Note

  • In case of event failure, SL_WIFI_FAIL_EVENT_STATUS_INDICATION bit is set in the event. The data would be of type sl_status_t, and data_length can be ignored.


Definition at line 103 of file components/protocol/wifi/inc/sl_wifi_types.h

sl_wifi_credential_id_t#

typedef uint32_t sl_wifi_credential_id_t

Wi-Fi credential handle.


Definition at line 106 of file components/protocol/wifi/inc/sl_wifi_types.h