API messagesFULL_MAC_API

WFM API messages.

Data Structures

struct sl_wfx_set_mac_address_req_body_t
Request message body for sl_wfx_set_mac_address_req_t .
struct sl_wfx_set_mac_address_req_t
Request message to set MAC address of the interface.
struct sl_wfx_set_mac_address_cnf_body_t
Confirmation message body for sl_wfx_set_mac_address_cnf_t .
struct sl_wfx_set_mac_address_cnf_t
Confirmation message for sl_wfx_set_mac_address_req_t .
struct sl_wfx_connect_req_body_t
Request message body for sl_wfx_connect_req_t .
struct sl_wfx_connect_req_t
Request message for connecting to a Wi-Fi network.
struct sl_wfx_connect_cnf_body_t
Confirmation message body for sl_wfx_connect_cnf_t .
struct sl_wfx_connect_cnf_t
Confirmation message for sl_wfx_connect_req_t .
struct sl_wfx_connect_ind_body_t
Indication message body for sl_wfx_connect_ind_t .
struct sl_wfx_connect_ind_t
Indication message used to signal the completion of a connection operation.
struct sl_wfx_disconnect_cnf_body_t
Confirmation message body for sl_wfx_disconnect_cnf_t .
struct sl_wfx_disconnect_cnf_t
Confirmation message for sl_wfx_disconnect_req_t .
struct sl_wfx_disconnect_ind_body_t
Indication message body for sl_wfx_disconnect_ind_t .
struct sl_wfx_disconnect_ind_t
Indication message used to signal the completion of a disconnection operation.
struct sl_wfx_get_signal_strength_cnf_body_t
Confirmation message body for sl_wfx_get_signal_strength_cnf_t .
struct sl_wfx_get_signal_strength_cnf_t
Confirmation message for sl_wfx_get_signal_strength_req_t .
struct sl_wfx_set_pm_mode_req_body_t
Request message body for sl_wfx_set_pm_mode_req_t .
struct sl_wfx_set_pm_mode_req_t
Request message for setting the power management mode of the device.
struct sl_wfx_set_pm_mode_cnf_body_t
Confirmation message body for sl_wfx_set_pm_mode_cnf_t .
struct sl_wfx_set_pm_mode_cnf_t
Confirmation message for sl_wfx_set_pm_mode_req_t .
struct sl_wfx_start_ap_req_body_t
Request message body for sl_wfx_start_ap_req_t .
struct sl_wfx_start_ap_req_t
Request message for starting a Wi-Fi network.
struct sl_wfx_start_ap_cnf_body_t
Confirmation message body for sl_wfx_start_ap_cnf_t .
struct sl_wfx_start_ap_cnf_t
Confirmation message for sl_wfx_start_ap_req_t .
struct sl_wfx_start_ap_ind_body_t
Indication message body for sl_wfx_start_ap_ind_t .
struct sl_wfx_start_ap_ind_t
Indication message used to signal the completion of a start request.
struct sl_wfx_update_ap_req_body_t
Request message body for sl_wfx_update_ap_req_t .
struct sl_wfx_update_ap_req_t
Request message for updating parameters of the started Wi-Fi network.
struct sl_wfx_update_ap_cnf_body_t
Confirmation message body for sl_wfx_update_ap_cnf_t .
struct sl_wfx_update_ap_cnf_t
Confirmation message for sl_wfx_update_ap_req_t .
struct sl_wfx_stop_ap_cnf_body_t
Confirmation message body for sl_wfx_stop_ap_cnf_t .
struct sl_wfx_stop_ap_cnf_t
Confirmation message for sl_wfx_stop_ap_req_t .
struct sl_wfx_ap_client_connected_ind_body_t
Indication message body for sl_wfx_ap_client_connected_ind_t .
struct sl_wfx_ap_client_connected_ind_t
Indication message used to signal a connected station.
struct sl_wfx_ap_client_rejected_ind_body_t
Indication message body for sl_wfx_ap_client_rejected_ind_t .
struct sl_wfx_ap_client_rejected_ind_t
Indication message used to signal a rejected connection attempt from a station.
struct sl_wfx_disconnect_ap_client_req_body_t
Request message body for sl_wfx_disconnect_ap_client_req_t .
struct sl_wfx_disconnect_ap_client_req_t
Request message for disconnecting a client from the started Wi-Fi network.
struct sl_wfx_disconnect_ap_client_cnf_body_t
Confirmation message body for sl_wfx_disconnect_ap_client_cnf_t .
struct sl_wfx_disconnect_ap_client_cnf_t
Confirmation message for sl_wfx_disconnect_ap_client_req_t .
struct sl_wfx_ap_client_disconnected_ind_body_t
Indication message body for sl_wfx_ap_client_disconnected_ind_t .
struct sl_wfx_ap_client_disconnected_ind_t
Indication message used to signal a disconnected station.
struct sl_wfx_send_frame_req_body_t
Request message body for sl_wfx_send_frame_req_t .
struct sl_wfx_send_frame_req_t
Request message for sending a packet to the network.
struct sl_wfx_send_frame_cnf_body_t
Confirmation message body for sl_wfx_send_frame_cnf_t .
struct sl_wfx_send_frame_cnf_t
Confirmation message for sl_wfx_send_frame_req_t .
struct sl_wfx_received_ind_body_t
Indication message body for sl_wfx_received_ind_t .
struct sl_wfx_received_ind_t
Indication message used to signal a received packet.
struct sl_wfx_start_scan_req_body_t
Request message body for sl_wfx_start_scan_req_t .
struct sl_wfx_start_scan_req_t
Request message for starting a scan to detect near-by access points.
struct sl_wfx_start_scan_cnf_body_t
Confirmation message body for sl_wfx_start_scan_cnf_t .
struct sl_wfx_start_scan_cnf_t
Confirmation message for sl_wfx_start_scan_req_t .
struct sl_wfx_stop_scan_cnf_body_t
Confirmation message body for sl_wfx_stop_scan_cnf_t .
struct sl_wfx_stop_scan_cnf_t
Confirmation message for sl_wfx_stop_scan_req_t .
struct sl_wfx_scan_result_ind_body_t
Indication message body for sl_wfx_scan_result_ind_t .
struct sl_wfx_scan_result_ind_t
Indication message used to signal an access point has been detected.
struct sl_wfx_scan_complete_ind_body_t
Indication message body for sl_wfx_scan_complete_ind_t .
struct sl_wfx_scan_complete_ind_t
Indication message used to signal a scan was completed.
struct sl_wfx_join_ibss_req_body_t
Request message body for sl_wfx_join_ibss_req_t .
struct sl_wfx_join_ibss_req_t
Request message for connecting to or starting an IBSS network.
struct sl_wfx_join_ibss_cnf_body_t
Confirmation message body for sl_wfx_join_ibss_cnf_t .
struct sl_wfx_join_ibss_cnf_t
Confirmation message for sl_wfx_join_ibss_req_t .
struct sl_wfx_join_ibss_ind_body_t
Indication message body for sl_wfx_join_ibss_ind_t .
struct sl_wfx_join_ibss_ind_t
Indication message used to signal the completion of a join request.
struct sl_wfx_leave_ibss_cnf_body_t
Confirmation message body for sl_wfx_leave_ibss_cnf_t .
struct sl_wfx_leave_ibss_cnf_t
Confirmation message for sl_wfx_leave_ibss_req_t .
struct sl_wfx_add_multicast_addr_req_body_t
Request message body for sl_wfx_add_multicast_addr_req_t .
struct sl_wfx_add_multicast_addr_req_t
Request message for adding a multicast address to the multicast filter whitelist.
struct sl_wfx_add_multicast_addr_cnf_body_t
Confirmation message body for sl_wfx_add_multicast_addr_cnf_t .
struct sl_wfx_add_multicast_addr_cnf_t
Confirmation message for sl_wfx_add_multicast_addr_req_t .
struct sl_wfx_remove_multicast_addr_req_body_t
Request message body for sl_wfx_remove_multicast_addr_req_t .
struct sl_wfx_remove_multicast_addr_req_t
Request message for removing a multicast address from the multicast filter whitelist.
struct sl_wfx_remove_multicast_addr_cnf_body_t
Confirmation message body for sl_wfx_remove_multicast_addr_cnf_t .
struct sl_wfx_remove_multicast_addr_cnf_t
Confirmation message for sl_wfx_remove_multicast_addr_req_t .
struct sl_wfx_set_max_ap_client_count_req_body_t
Request message body for sl_wfx_set_max_ap_client_count_req_t .
struct sl_wfx_set_max_ap_client_count_req_t
Request message for setting the maximum number of connected clients.
struct sl_wfx_set_max_ap_client_count_cnf_body_t
Confirmation message body for sl_wfx_set_max_ap_client_count_cnf_t .
struct sl_wfx_set_max_ap_client_count_cnf_t
Confirmation message for sl_wfx_set_max_ap_client_count_req_t .
struct sl_wfx_set_max_ap_client_inactivity_req_body_t
Request message body for sl_wfx_set_max_ap_client_inactivity_req_t .
struct sl_wfx_set_max_ap_client_inactivity_req_t
Request message for setting the maximum number of connected clients.
struct sl_wfx_set_max_ap_client_inactivity_cnf_body_t
Confirmation message body for sl_wfx_set_max_ap_client_count_cnf_t .
struct sl_wfx_set_max_ap_client_inactivity_cnf_t
Confirmation message for sl_wfx_set_max_ap_client_inactivity_req_t .
struct sl_wfx_set_roam_parameters_req_body_t
Request message body for sl_wfx_set_roam_parameters_req_t .
struct sl_wfx_set_roam_parameters_req_t
Request message for setting the roaming parameters.
struct sl_wfx_set_roam_parameters_cnf_body_t
Confirmation message body for sl_wfx_set_roam_parameters_cnf_t .
struct sl_wfx_set_roam_parameters_cnf_t
Confirmation message for sl_wfx_set_roam_parameters_req_t .
struct sl_wfx_set_tx_rate_parameters_req_body_t
Request message body for sl_wfx_set_tx_rate_parameters_req_t .
struct sl_wfx_set_tx_rate_parameters_req_t
Request message for setting the TX rate set parameters.
struct sl_wfx_set_tx_rate_parameters_cnf_body_t
Confirmation message body for sl_wfx_set_tx_rate_parameters_cnf_t .
struct sl_wfx_set_tx_rate_parameters_cnf_t
Confirmation message for sl_wfx_set_tx_rate_parameters_req_t .
struct sl_wfx_set_arp_ip_address_req_body_t
Request message body for sl_wfx_set_arp_ip_address_req_t .
struct sl_wfx_set_arp_ip_address_req_t
Request message for setting the Address Resolution Protocol (ARP) offloading state.
struct sl_wfx_set_arp_ip_address_cnf_body_t
Confirmation message body for sl_wfx_set_arp_ip_address_cnf_t .
struct sl_wfx_set_arp_ip_address_cnf_t
Confirmation message for sl_wfx_set_arp_ip_address_req_t .
struct sl_wfx_set_ns_ip_address_req_body_t
Request message body for sl_wfx_set_ns_ip_address_req_t .
struct sl_wfx_set_ns_ip_address_req_t
Request message for setting the Neighbor Discovery Protocol (NDP) offloading state.
struct sl_wfx_set_ns_ip_address_cnf_body_t
Confirmation message body for sl_wfx_set_ns_ip_address_cnf_t .
struct sl_wfx_set_ns_ip_address_cnf_t
Confirmation message for sl_wfx_set_ns_ip_address_req_t .
struct sl_wfx_set_broadcast_filter_req_body_t
Request message body for sl_wfx_set_broadcast_filter_req_t .
struct sl_wfx_set_broadcast_filter_req_t
Request message for setting broadcast filter state.
struct sl_wfx_set_broadcast_filter_cnf_body_t
Confirmation message body for sl_wfx_set_broadcast_filter_cnf_t .
struct sl_wfx_set_broadcast_filter_cnf_t
Confirmation message for sl_wfx_set_broadcast_filter_req_t .
struct sl_wfx_set_scan_parameters_req_body_t
Request message body for sl_wfx_set_scan_parameters_req_t .
struct sl_wfx_set_scan_parameters_req_t
Request message for setting scan parameters.
struct sl_wfx_set_scan_parameters_cnf_body_t
Confirmation message body for sl_wfx_set_scan_parameters_cnf_t .
struct sl_wfx_set_scan_parameters_cnf_t
Confirmation message for sl_wfx_set_scan_parameters_req_t .
struct sl_wfx_set_unicast_filter_req_body_t
Request message body for sl_wfx_set_unicast_filter_req_t .
struct sl_wfx_set_unicast_filter_req_t
Request message for setting unicast filter state.
struct sl_wfx_set_unicast_filter_cnf_body_t
Confirmation message body for sl_wfx_set_unicast_filter_cnf_t .
struct sl_wfx_set_unicast_filter_cnf_t
Confirmation message for sl_wfx_set_unicast_filter_req_t .
struct sl_wfx_add_whitelist_addr_req_body_t
Request message body for sl_wfx_add_whitelist_addr_req_t .
struct sl_wfx_add_whitelist_addr_req_t
Request message for adding a MAC address to the device whitelist.
struct sl_wfx_add_whitelist_addr_cnf_body_t
Confirmation message body for sl_wfx_add_whitelist_addr_cnf_t .
struct sl_wfx_add_whitelist_addr_cnf_t
Confirmation message for sl_wfx_add_whitelist_addr_req_t .
struct sl_wfx_add_blacklist_addr_req_body_t
Request message body for sl_wfx_add_blacklist_addr_req_t .
struct sl_wfx_add_blacklist_addr_req_t
Request message for adding a MAC address to the device blacklist.
struct sl_wfx_add_blacklist_addr_cnf_body_t
Confirmation message body for sl_wfx_add_blacklist_addr_cnf_t .
struct sl_wfx_add_blacklist_addr_cnf_t
Confirmation message for sl_wfx_add_blacklist_addr_req_t .
struct sl_wfx_set_max_tx_power_req_body_t
Request message body for sl_wfx_set_max_tx_power_req_t .
struct sl_wfx_set_max_tx_power_req_t
Request message for setting the maximum transmit power of the device.
struct sl_wfx_set_max_tx_power_cnf_body_t
Confirmation message body for sl_wfx_set_max_tx_power_cnf_t .
struct sl_wfx_set_max_tx_power_cnf_t
Confirmation message for sl_wfx_set_max_tx_power_req_t .
struct sl_wfx_get_max_tx_power_cnf_body_t
Confirmation message body for sl_wfx_get_max_tx_power_cnf_t .
struct sl_wfx_get_max_tx_power_cnf_t
Confirmation message for sl_wfx_get_max_tx_power_req_t .
struct sl_wfx_get_pmk_cnf_body_t
Confirmation message body for sl_wfx_get_pmk_cnf_t .
struct sl_wfx_get_pmk_cnf_t
Confirmation message for sl_wfx_get_pmk_req_t .
struct sl_wfx_get_ap_client_signal_strength_req_body_t
Request message body for sl_wfx_get_ap_client_signal_strength_req_t .
struct sl_wfx_get_ap_client_signal_strength_req_t
Request message for retrieving the signal strength of a client of the started Wi-Fi network.
struct sl_wfx_get_ap_client_signal_strength_cnf_body_t
Confirmation message body for sl_wfx_get_ap_client_signal_strength_cnf_t .
struct sl_wfx_get_ap_client_signal_strength_cnf_t
Confirmation message for sl_wfx_get_ap_client_signal_strength_cnf_t .
struct sl_wfx_disconnect_req_t
Request message for disconnecting from a Wi-Fi network.
struct sl_wfx_get_signal_strength_req_t
Request message for retrieving the signal strength of connection.
struct sl_wfx_stop_ap_req_t
Request message for stopping the started Wi-Fi network.
struct sl_wfx_stop_ap_ind_t
Indication message used to signal the completion of a stop operation.
struct sl_wfx_stop_scan_req_t
Request message for stopping an ongoing scan.
struct sl_wfx_leave_ibss_req_t
Request message for disconnecting from an IBSS network.
struct sl_wfx_leave_ibss_ind_t
Indication message used to signal the completion of a disconnect operation.
struct sl_wfx_get_max_tx_power_req_t
Request message for getting the maximum transmit power.
struct sl_wfx_get_pmk_req_t
Request message for getting the Pairwise Master Key (PMK).

Detailed Description

WFM API messages.


Data Structure Documentation

sl_wfx_set_mac_address_req_body_t

struct sl_wfx_set_mac_address_req_body_t

Request message body for sl_wfx_set_mac_address_req_t .

Field Default value Reset to default value
MAC address device dependent when device reset


Definition at line 712 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac_addr[6] MAC address of the interface.
uint16_t reserved Reserved, set to zero.

sl_wfx_set_mac_address_req_t

struct sl_wfx_set_mac_address_req_t

Request message to set MAC address of the interface.

The host can use this request to set the MAC address of an interface. If not set, the device will use a built-in MAC address. Note that if multiple interfaces are used, the MAC address MUST be different on each interface.

Interface mode Request allowed
idle Yes
station No
AP No
IBSS No


Definition at line 734 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_mac_address_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_mac_address_cnf_body_t

struct sl_wfx_set_mac_address_cnf_body_t

Confirmation message body for sl_wfx_set_mac_address_cnf_t .

Definition at line 744 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_mac_address_cnf_t

struct sl_wfx_set_mac_address_cnf_t

Confirmation message for sl_wfx_set_mac_address_req_t .

Definition at line 758 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_mac_address_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_connect_req_body_t

struct sl_wfx_connect_req_body_t

Request message body for sl_wfx_connect_req_t .

Definition at line 768 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t bssid[6] Basic Service Set Identifier (BSSID) of the Access Point.

broadcast address : The device will connect to any matching access point.
unicast address : The device will only connect to the given Access Point.
See Basic Service Set Identifier for further details.

uint16_t channel Channel of the Access Point.

0 : The device will connect to a matching Access Point on any channel.
1 - 13 : The device will only connect to a matching Access Point on the given channel.

uint8_t ie_data[] Vendor-specific IE data added to the 802.11 Association Request frames.

The IE data must be in 802.11 Vendor-Specific Element format. It may contain multiple concatenated IEs, up to the maximum length.
See Vendor-Specific IE for further details.

uint16_t ie_data_length Length of vendor-specific Information Element (IE) data.

0 - 255 : The amount of bytes.

uint16_t mgmt_frame_protection Protected Management Frames (PMF) mode.

WFM_MGMT_FRAME_PROTECTION_DISABLED : The device will not use PMF even if supported by the access point.
WFM_MGMT_FRAME_PROTECTION_OPTIONAL : The device will use PMF if supported by the access point.
WFM_MGMT_FRAME_PROTECTION_MANDATORY : The device will only connect to an access point supporting PMF.
See wfm_mgmt_frame_protection for enumeration values.

uint8_t password[64] Password of the network.

64-bit WEP key : 5 bytes in ASCII format or 10 bytes in HEX format.
128-bit WEP key : 13 bytes in ASCII format or 26 bytes in HEX format.
WPA pass phrase : 8 - 63 bytes in ASCII format.
WPA PMK : 64 bytes in HEX format.
See Passwords and pass phrases for further details.

uint16_t password_length Length of the network password.

0 - 64 : The amount of bytes.

uint8_t prevent_roaming Boolean option to prevent roaming between access points.

0 : The device may roam to any matching access point within the same network.
1 : The device will not roam to any other access point.

uint8_t security_mode Security mode of the network.

WFM_SECURITY_MODE_OPEN : The device will only connect to an unsecured Access Point.
WFM_SECURITY_MODE_WEP : The device will only connect to a WEP Access Point.
WFM_SECURITY_MODE_WPA2_WPA1_PSK : The device will only connect to a WPA-Personal or a WPA2-Personal Access Point.
WFM_SECURITY_MODE_WPA2_PSK : The device will only connect to a WPA2-Personal access point.
See wfm_security_mode for enumeration values.

sl_wfx_ssid_def_t ssid_def Service Set Identifier (SSID) of the network.

sl_wfx_connect_req_t

struct sl_wfx_connect_req_t

Request message for connecting to a Wi-Fi network.

The host can use this request to initiate a connection to a Wi-Fi network. An ongoing connection attempt can be canceled by sending sl_wfx_disconnect_req_t message. Completion of the connection request will be signaled by sl_wfx_connect_ind_t message. It may take up to 10 seconds to receive the message.

Interface mode Request allowed
idle Yes
station No
AP No
IBSS No


Definition at line 852 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_connect_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_connect_cnf_body_t

struct sl_wfx_connect_cnf_body_t

Confirmation message body for sl_wfx_connect_cnf_t .

Definition at line 862 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the connection request.

WFM_STATUS_SUCCESS : the connection request was accepted. It will be completed by sl_wfx_connect_ind_t .
any other value : the connection request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_connect_cnf_t

struct sl_wfx_connect_cnf_t

Confirmation message for sl_wfx_connect_req_t .

Definition at line 876 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_connect_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_connect_ind_body_t

struct sl_wfx_connect_ind_body_t

Indication message body for sl_wfx_connect_ind_t .

Definition at line 886 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t beacon_interval Beacon Interval of the connected access point.
uint16_t channel Channel of the connected access point.

1 - 13 : Channel number.

uint8_t dtim_period DTIM period of the connected access point.

1 - 255 : DTIM period.

uint8_t mac[6] MAC address of the connected access point.
uint16_t max_phy_rate Maximum PHY data rate supported by the connection.

See sl_wfx_rate_index_t for enumeration values.

uint32_t status Status of the connection request.

WFM_STATUS_SUCCESS : the connection request was completed successfully.
any other value : the connection request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_connect_ind_t

struct sl_wfx_connect_ind_t

Indication message used to signal the completion of a connection operation.

The device will send this indication to signal the connection request initiated with sl_wfx_connect_req_t has been completed. The indication is also sent when the device autonomously roams to another access point.

Definition at line 926 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_connect_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_disconnect_cnf_body_t

struct sl_wfx_disconnect_cnf_body_t

Confirmation message body for sl_wfx_disconnect_cnf_t .

Definition at line 950 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the disconnection request.

WFM_STATUS_SUCCESS : the disconnection request was accepted. It will be completed by sl_wfx_disconnect_ind_t .
any other value : the disconnection request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_disconnect_cnf_t

struct sl_wfx_disconnect_cnf_t

Confirmation message for sl_wfx_disconnect_req_t .

Definition at line 964 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_disconnect_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_disconnect_ind_body_t

struct sl_wfx_disconnect_ind_body_t

Indication message body for sl_wfx_disconnect_ind_t .

Definition at line 974 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address of the access point.
uint16_t reason Reason for disconnection.

WFM_REASON_UNSPECIFIED : The device was disconnected or it disconnected on its own.
See sl_wfx_reason_t for enumeration values.

sl_wfx_disconnect_ind_t

struct sl_wfx_disconnect_ind_t

Indication message used to signal the completion of a disconnection operation.

The device will send this indication to signal the disconnection request initiated with sl_wfx_disconnect_req_t has been completed. The indication is also sent when the device has lost the connection to an access point and has been unable to regain it.

Definition at line 994 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_disconnect_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_get_signal_strength_cnf_body_t

struct sl_wfx_get_signal_strength_cnf_body_t

Confirmation message body for sl_wfx_get_signal_strength_cnf_t .

Definition at line 1018 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t rcpi Received Channel Power Indicator (RCPI) of the connection.

See Received Channel Power Indicator for further details.

uint32_t status Status of the get request.

WFM_STATUS_SUCCESS : the get request was completed.
any other value : the get request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_get_signal_strength_cnf_t

struct sl_wfx_get_signal_strength_cnf_t

Confirmation message for sl_wfx_get_signal_strength_req_t .

Definition at line 1037 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_get_signal_strength_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_pm_mode_req_body_t

struct sl_wfx_set_pm_mode_req_body_t

Request message body for sl_wfx_set_pm_mode_req_t .

Field Default value Reset to default value
power_mode WFM_PM_MODE_ACTIVE when interface stopped
listen_interval 0 when interface stopped


Definition at line 1053 of file sl_wfx_cmd_api.h .

Data Fields
uint16_t listen_interval Number of beacons/DTIMs to skip while sleeping.

0 : wake-up on every beacon/DTIM.
1 - 600 : the number of beacon/DTIMs to skip.
See Power management for further details.

uint16_t power_mode Power management mode.

WFM_PM_MODE_ACTIVE : the device will not use Wi-Fi power management mechanisms.
WFM_PM_MODE_BEACON : the device will wake-up on beacons.
WFM_PM_MODE_DTIM : the device will wake-up on DTIMs.
See wfm_pm_mode for enumeration values.

sl_wfx_set_pm_mode_req_t

struct sl_wfx_set_pm_mode_req_t

Request message for setting the power management mode of the device.

The host can use this request to enable or disable Wi-Fi power management mechanisms.

Interface mode Request allowed
idle No
station Yes
AP No
IBSS No


Definition at line 1083 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_pm_mode_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_pm_mode_cnf_body_t

struct sl_wfx_set_pm_mode_cnf_body_t

Confirmation message body for sl_wfx_set_pm_mode_cnf_t .

Definition at line 1093 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the power management request.

WFM_STATUS_SUCCESS : the power management request was completed.
any other value : the power management request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_pm_mode_cnf_t

struct sl_wfx_set_pm_mode_cnf_t

Confirmation message for sl_wfx_set_pm_mode_req_t .

Definition at line 1107 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_pm_mode_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_start_ap_req_body_t

struct sl_wfx_start_ap_req_body_t

Request message body for sl_wfx_start_ap_req_t .

Definition at line 1117 of file sl_wfx_cmd_api.h .

Data Fields
uint16_t beacon_ie_data_length Length of vendor-specific Information Element (IE) data in 802.11 Beacon frames.

0 - 255 : The amount of bytes.

uint16_t channel Channel of the Access Point.

1 - 13 : The device will create the access point on the given channel.

uint8_t client_isolation Boolean option to isolate connected clients from each other.

0 : The device will allow connected clients to communicate with each other.
1 : The device will prevent multiple connected clients from communicating.
Regardless of the value, the connected stations will always be able to communicate with the device.
See Client isolation for further details.

uint8_t hidden_ssid Boolean option to hide the network.

0 : The device will advertise the SSID of the network to any near-by stations.
1 : The device will hide the SSID of the network and will only respond to stations that specify the SSID.
See Hidden network for further details.

uint8_t ie_data[] Vendor-specific IE data added to the 802.11 Beacon frames and Probe Response frames.

The IE data must be in 802.11 Vendor-Specific Element format. It may contain multiple concatenated IEs, up to the maximum length. First part of the IE data, up to the amount of bytes specified in BeaconIeDataLength, is added to the Beacon frames. The remaining part whose length is defined in ProbeRespIeDataLength is added to the Probe Response frames.
See Vendor-Specific IE for further details.

uint8_t mgmt_frame_protection Protected Management Frames (PMF) mode.

WFM_MGMT_FRAME_PROTECTION_DISABLED : The device will not use PMF even if supported by the connecting station.
WFM_MGMT_FRAME_PROTECTION_OPTIONAL : The device will use PMF if supported by the connecting station.
WFM_MGMT_FRAME_PROTECTION_MANDATORY : The device will only allow connecting stations that support PMF.
See wfm_mgmt_frame_protection for enumeration values.

uint8_t password[64] Password of the network.

64-bit WEP key : 5 bytes in ASCII format or 10 bytes in HEX format.
128-bit WEP key : 13 bytes in ASCII format or 26 bytes in HEX format.
WPA pass phrase : 8 - 63 bytes in ASCII format.
WPA PMK : 64 bytes in HEX format.
See Passwords and pass phrases for further details.

uint16_t password_length Length of the network password.

0 - 64 : The amount of bytes.

uint16_t probe_resp_ie_data_length Length of vendor-specific Information Element (IE) data in 802.11 Probe Response frames.

0 - 255 : The amount of bytes.

uint8_t security_mode Security mode of the Access Point.

WFM_SECURITY_MODE_OPEN : The device will only allow unsecured connections.
WFM_SECURITY_MODE_WEP : The device will only allow WEP connections.
WFM_SECURITY_MODE_WPA2_WPA1_PSK : The device will only allow WPA-Personal and WPA2-Personal connections.
WFM_SECURITY_MODE_WPA2_PSK : The device will only allow WPA2-Personal connections.
See wfm_security_mode for enumeration values.

sl_wfx_ssid_def_t ssid_def Service Set Identifier (SSID) of the network.

sl_wfx_start_ap_req_t

struct sl_wfx_start_ap_req_t

Request message for starting a Wi-Fi network.

The host can use this request to initiate a Wi-Fi network.

Interface mode Request allowed
idle Yes
station No
AP No
IBSS No


Definition at line 1208 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_start_ap_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_start_ap_cnf_body_t

struct sl_wfx_start_ap_cnf_body_t

Confirmation message body for sl_wfx_start_ap_cnf_t .

Definition at line 1218 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the start request.

WFM_STATUS_SUCCESS : the start request was accepted. It will be completed by sl_wfx_start_ap_ind_t .
any other value : the start request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_start_ap_cnf_t

struct sl_wfx_start_ap_cnf_t

Confirmation message for sl_wfx_start_ap_req_t .

Definition at line 1232 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_start_ap_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_start_ap_ind_body_t

struct sl_wfx_start_ap_ind_body_t

Indication message body for sl_wfx_start_ap_ind_t .

Definition at line 1242 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the start request.

WFM_STATUS_SUCCESS : the start request was completed successfully.
any other value : the start request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_start_ap_ind_t

struct sl_wfx_start_ap_ind_t

Indication message used to signal the completion of a start request.

The device will send this indication to signal the start request initiated with sl_wfx_start_ap_req_t has been completed.

Definition at line 1258 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_start_ap_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_update_ap_req_body_t

struct sl_wfx_update_ap_req_body_t

Request message body for sl_wfx_update_ap_req_t .

Definition at line 1268 of file sl_wfx_cmd_api.h .

Data Fields
uint16_t beacon_ie_data_length Length of vendor-specific Information Element (IE) data in 802.11 Beacon frames.

0 - 255 : The amount of bytes.

uint8_t ie_data[] Vendor-specific IE data added to the 802.11 Beacon frames and Probe Response frames.

The IE data must be in 802.11 Vendor-Specific Element format. It may contain multiple concatenated IEs, up to the maximum length. First part of the IE data, up to the amount of bytes specified in BeaconIeDataLength, is added to the Beacon frames. The remaining part whose length is defined in ProbeRespIeDataLength is added to the Probe Response frames.
See Vendor-Specific IE for further details.

uint16_t probe_resp_ie_data_length Length of vendor-specific Information Element (IE) data in 802.11 Probe Response frames.

0 - 255 : The amount of bytes.

sl_wfx_update_ap_req_t

struct sl_wfx_update_ap_req_t

Request message for updating parameters of the started Wi-Fi network.

The host can use this request to update parameters of the started Wi-Fi network.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No


Definition at line 1303 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_update_ap_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_update_ap_cnf_body_t

struct sl_wfx_update_ap_cnf_body_t

Confirmation message body for sl_wfx_update_ap_cnf_t .

Definition at line 1313 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the update request.

WFM_STATUS_SUCCESS : the update request was completed.
any other value : the update request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_update_ap_cnf_t

struct sl_wfx_update_ap_cnf_t

Confirmation message for sl_wfx_update_ap_req_t .

Definition at line 1327 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_update_ap_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_stop_ap_cnf_body_t

struct sl_wfx_stop_ap_cnf_body_t

Confirmation message body for sl_wfx_stop_ap_cnf_t .

Definition at line 1351 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the stop request.

WFM_STATUS_SUCCESS : the stop request was accepted. It will be completed by sl_wfx_stop_ap_ind_t .
any other value : the stop request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_stop_ap_cnf_t

struct sl_wfx_stop_ap_cnf_t

Confirmation message for sl_wfx_stop_ap_req_t .

Definition at line 1365 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_stop_ap_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_ap_client_connected_ind_body_t

struct sl_wfx_ap_client_connected_ind_body_t

Indication message body for sl_wfx_ap_client_connected_ind_t .

Definition at line 1385 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address of the station.

sl_wfx_ap_client_connected_ind_t

struct sl_wfx_ap_client_connected_ind_t

Indication message used to signal a connected station.

The device will send this indication to signal a station has connected to the started network.

Definition at line 1398 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_ap_client_connected_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_ap_client_rejected_ind_body_t

struct sl_wfx_ap_client_rejected_ind_body_t

Indication message body for sl_wfx_ap_client_rejected_ind_t .

Definition at line 1408 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address of the station.
uint16_t reason Reason for rejection.

WFM_REASON_TIMEOUT : A timeout occurred during a station connection attempt.
WFM_REASON_LEAVING_BSS : The device sent a deauth before completing the connection.
WFM_REASON_UNKNOWN_STA : The device received data from a non-connected station.
WFM_REASON_AP_FULL : The device was not able to accommodate any more stations.
WFM_REASON_AUTHENTICATION_FAILURE : The device did not complete the WPA authentication successfully.
See wfm_reason for enumeration values.

sl_wfx_ap_client_rejected_ind_t

struct sl_wfx_ap_client_rejected_ind_t

Indication message used to signal a rejected connection attempt from a station.

The device will send this indication to signal a station has attempted connection to the started network and was rejected by the device.

Definition at line 1431 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_ap_client_rejected_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_disconnect_ap_client_req_body_t

struct sl_wfx_disconnect_ap_client_req_body_t

Request message body for sl_wfx_disconnect_ap_client_req_t .

Definition at line 1441 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address of the station.

sl_wfx_disconnect_ap_client_req_t

struct sl_wfx_disconnect_ap_client_req_t

Request message for disconnecting a client from the started Wi-Fi network.

The host can use this request to disconnect a client from the started Wi-Fi network.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No


Definition at line 1460 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_disconnect_ap_client_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_disconnect_ap_client_cnf_body_t

struct sl_wfx_disconnect_ap_client_cnf_body_t

Confirmation message body for sl_wfx_disconnect_ap_client_cnf_t .

Definition at line 1470 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the disconnect request.

WFM_STATUS_SUCCESS : the disconnect request was completed.
any other value : the disconnect request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_disconnect_ap_client_cnf_t

struct sl_wfx_disconnect_ap_client_cnf_t

Confirmation message for sl_wfx_disconnect_ap_client_req_t .

Definition at line 1484 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_disconnect_ap_client_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_ap_client_disconnected_ind_body_t

struct sl_wfx_ap_client_disconnected_ind_body_t

Indication message body for sl_wfx_ap_client_disconnected_ind_t .

Definition at line 1494 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address of the station.
uint16_t reason Reason for disconnection.

WFM_REASON_LEAVING_BSS : The station was disconnected or it disconnected on its own.
See wfm_reason for enumeration values.

sl_wfx_ap_client_disconnected_ind_t

struct sl_wfx_ap_client_disconnected_ind_t

Indication message used to signal a disconnected station.

The device will send this indication to signal a station has left the started network.

Definition at line 1513 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_ap_client_disconnected_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_send_frame_req_body_t

struct sl_wfx_send_frame_req_body_t

Request message body for sl_wfx_send_frame_req_t .

Definition at line 1523 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t frame_type Packet type.

0 : Data packet with Ethernet II frame header.

uint8_t packet_data[] Data of the packet.

See Packet types for further details.

uint32_t packet_data_length Length of packet data.

1 - 1604 : The amount of bytes.

uint16_t packet_id Packet ID number.

0 - 65535 : Host-assigned unique number for the packet.
The number is returned in the corresponding confirmation message.

uint8_t priority User Priority level.

0 - 7 : 802.1D Priority field value.

sl_wfx_send_frame_req_t

struct sl_wfx_send_frame_req_t

Request message for sending a packet to the network.

The host can use this request to send a packet to the network.

Interface mode Request allowed
idle No
station Yes
AP Yes
IBSS Yes


Definition at line 1566 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_send_frame_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_send_frame_cnf_body_t

struct sl_wfx_send_frame_cnf_body_t

Confirmation message body for sl_wfx_send_frame_cnf_t .

Definition at line 1576 of file sl_wfx_cmd_api.h .

Data Fields
uint16_t packet_id Packet ID number from the corresponding request.
uint16_t reserved Reserved.
uint32_t status Status of the send request.

WFM_STATUS_SUCCESS : the send request was completed.
any other value : the send request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_send_frame_cnf_t

struct sl_wfx_send_frame_cnf_t

Confirmation message for sl_wfx_send_frame_req_t .

Definition at line 1600 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_send_frame_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_received_ind_body_t

struct sl_wfx_received_ind_body_t

Indication message body for sl_wfx_received_ind_t .

Definition at line 1610 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t frame[] Packet data, including the padding bytes before the packet data.

See Packet types for further details.

uint16_t frame_length Length of packet data excluding the padding bytes.

1 - 2310 : The amount of bytes.

uint8_t frame_padding The amount of padding bytes before the packet data.

0 - 3 : The amount of bytes.

uint8_t frame_type Packet type.

0 : Data packet with Ethernet II frame header.

sl_wfx_received_ind_t

struct sl_wfx_received_ind_t

Indication message used to signal a received packet.

The device will send this indication to signal a packet has been received.

Definition at line 1641 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_received_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_start_scan_req_body_t

struct sl_wfx_start_scan_req_body_t

Request message body for sl_wfx_start_scan_req_t .

Definition at line 1651 of file sl_wfx_cmd_api.h .

Data Fields
uint16_t channel_list_count The amount of specific channels to scan.

0 : The device will scan all channels
1 - 13 : The amount of specific channels to scan.

uint8_t data[] Data for the variable-length scan parameters.

The variable-length scan parameters are concatenated together without any padding between the different parameters.

1. List of specific channels to scan.

1 - 13 : The channel number to scan per byte.
Must contain the same number of channels as specified in ChannelListCount.
See Scanning for further details.

2. List of specific SSIDs to scan.

Must contain the same number of WfmHiSsidDef_t elements as specified in SsidListCount.
This parameter is applicable only for an active scan. See Scanning for further details.

3. Vendor-specific IE data added to the 802.11 Probe Request frames.

The IE data must be in 802.11 Vendor-Specific Element format. It may contain multiple concatenated IEs, up to the maximum length.
This parameter is applicable only for an active scan. See Vendor-Specific IE for further details.

4. Basic Service Set Identifier (BSSID) to scan.

broadcast address : The device will send Probe Request frames to all devices.
unicast address : The device will send Probe Request frames to a specific device.
This parameter is applicable only for an active scan. If not specified, broadcast address is assumed.
Note that an SSID list must be specified when using the unicast address, otherwise the received scan results may contain unexpected additional networks.
See Basic Service Set Identifier for further details.

uint16_t ie_data_length Length of vendor-specific Information Element (IE) data in 802.11 Probe Request frames.

0 - 255 : The amount of bytes.

uint16_t scan_mode Scan mode.

WFM_SCAN_MODE_PASSIVE : The device will perform a passive scan.
WFM_SCAN_MODE_ACTIVE : The device will perform an active scan.
See wfm_scan_mode for enumeration values.
See Scanning for further details.

uint16_t ssid_list_count The amount of specific SSIDs to scan.

0 : The device will perform a broadcast scan
1 - 2 : The amount of specific SSIDs to scan.

sl_wfx_start_scan_req_t

struct sl_wfx_start_scan_req_t

Request message for starting a scan to detect near-by access points.

The host can use this request to start a scan operation to detect near-by access points.

Interface mode Request allowed
idle Yes
station Yes
AP No
IBSS No


Definition at line 1716 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_start_scan_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_start_scan_cnf_body_t

struct sl_wfx_start_scan_cnf_body_t

Confirmation message body for sl_wfx_start_scan_cnf_t .

Definition at line 1726 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the scan request.

WFM_STATUS_SUCCESS : the scan request was accepted. It will be completed by sl_wfx_scan_complete_ind_t .
any other value : the scan request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_start_scan_cnf_t

struct sl_wfx_start_scan_cnf_t

Confirmation message for sl_wfx_start_scan_req_t .

Definition at line 1741 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_start_scan_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_stop_scan_cnf_body_t

struct sl_wfx_stop_scan_cnf_body_t

Confirmation message body for sl_wfx_stop_scan_cnf_t .

Definition at line 1766 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the stop request.

WFM_STATUS_SUCCESS : the stop request was accepted. It will be completed by WFM_HI_SCAN_COMPLETE_IND.
any other value : the stop request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_stop_scan_cnf_t

struct sl_wfx_stop_scan_cnf_t

Confirmation message for sl_wfx_stop_scan_req_t .

Definition at line 1781 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_stop_scan_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_scan_result_ind_body_t

struct sl_wfx_scan_result_ind_body_t

Indication message body for sl_wfx_scan_result_ind_t .

Definition at line 1791 of file sl_wfx_cmd_api.h .

Data Fields
uint16_t channel Channel of the access point.

1 - 13 : Channel number.

uint8_t ie_data[] Access point IE data from the 802.11 Beacon or Probe Response frame.
uint16_t ie_data_length Length of access point Information Element (IE) data in bytes.
uint8_t mac[6] MAC address of the access point.
uint16_t rcpi Received Channel Power Indicator (RCPI) of the access point.

See Received Channel Power Indicator for further details.

uint8_t reserved1 Reserved.
uint16_t reserved2 Reserved.
sl_wfx_security_mode_bitmask_t security_mode Security Capabilities of the network.
sl_wfx_ssid_def_t ssid_def Service Set Identifier (SSID) of the network.

sl_wfx_scan_result_ind_t

struct sl_wfx_scan_result_ind_t

Indication message used to signal an access point has been detected.

The device will send this indication to signal an access point has has been detected during the scan operation.

Definition at line 1839 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_scan_result_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_scan_complete_ind_body_t

struct sl_wfx_scan_complete_ind_body_t

Indication message body for sl_wfx_scan_complete_ind_t .

Definition at line 1849 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the scan request.

WFM_STATUS_SUCCESS : the scan request was completed.
any other value : the scan request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_scan_complete_ind_t

struct sl_wfx_scan_complete_ind_t

Indication message used to signal a scan was completed.

The device will send this indication to signal a scan operation has been completed.

Definition at line 1866 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_scan_complete_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_join_ibss_req_body_t

struct sl_wfx_join_ibss_req_body_t

Request message body for sl_wfx_join_ibss_req_t .

Definition at line 1876 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t channel Channel of the network.

0 : The device will connect to a matching network on any channel.
1 - 13 : The device will only connect to a matching network on the given channel.

uint8_t password[64] Password of the network.

64-bit WEP key : 5 bytes in ASCII format or 10 bytes in HEX format.
128-bit WEP key : 13 bytes in ASCII format or 26 bytes in HEX format.
See Passwords and pass phrases for further details.

uint16_t password_length Length of the network password.

0 - 26 : The amount of bytes.

uint16_t security_mode Security mode of the network.

WFM_SECURITY_MODE_OPEN : The device will only use unsecured connections.
WFM_SECURITY_MODE_WEP : The device will only use WEP connections.
See wfm_security_mode for enumeration values.

sl_wfx_ssid_def_t ssid_def Service Set Identifier (SSID) of the network.

sl_wfx_join_ibss_req_t

struct sl_wfx_join_ibss_req_t

Request message for connecting to or starting an IBSS network.

The host can use this request to connect to an IBSS network. If no existing network is found, the device will start a new network.

Interface mode Request allowed
idle Yes
station No
AP No
IBSS No


Definition at line 1921 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_join_ibss_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_join_ibss_cnf_body_t

struct sl_wfx_join_ibss_cnf_body_t

Confirmation message body for sl_wfx_join_ibss_cnf_t .

Definition at line 1931 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the join request.

WFM_STATUS_SUCCESS : the join request was accepted. It will be completed by sl_wfx_join_ibss_ind_t .
any other value : the join request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_join_ibss_cnf_t

struct sl_wfx_join_ibss_cnf_t

Confirmation message for sl_wfx_join_ibss_req_t .

Definition at line 1945 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_join_ibss_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_join_ibss_ind_body_t

struct sl_wfx_join_ibss_ind_body_t

Indication message body for sl_wfx_join_ibss_ind_t .

Definition at line 1955 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t bssid[6] Basic Service Set Identifier (BSSID) of the network.


See Basic Service Set Identifier for further details.

uint16_t reserved Reserved.
uint32_t status Status of the join request.

WFM_STATUS_SUCCESS : the join request was completed successfully.
any other value : the join request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_join_ibss_ind_t

struct sl_wfx_join_ibss_ind_t

Indication message used to signal the completion of a join request.

The device will send this indication to signal the join request initiated with sl_wfx_join_ibss_req_t has been completed.

Definition at line 1980 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_join_ibss_ind_body_t body Indication message body.
sl_wfx_header_t header Common message header.

sl_wfx_leave_ibss_cnf_body_t

struct sl_wfx_leave_ibss_cnf_body_t

Confirmation message body for sl_wfx_leave_ibss_cnf_t .

Definition at line 2004 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the disconnect request.

WFM_STATUS_SUCCESS : the disconnect request was accepted. It will be completed by sl_wfx_leave_ibss_ind_t .
any other value : the disconnect request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_leave_ibss_cnf_t

struct sl_wfx_leave_ibss_cnf_t

Confirmation message for sl_wfx_leave_ibss_req_t .

Definition at line 2018 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_leave_ibss_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_add_multicast_addr_req_body_t

struct sl_wfx_add_multicast_addr_req_body_t

Request message body for sl_wfx_add_multicast_addr_req_t .

Definition at line 2038 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address to add.

broadcast address : The device will empty the whitelist and allow all multicast addresses.
zero address : The device will empty the whitelist and deny all multicast addresses.
multicast address : The device will add the given address to the whitelist.
See Basic Service Set Identifier for further details.

sl_wfx_add_multicast_addr_req_t

struct sl_wfx_add_multicast_addr_req_t

Request message for adding a multicast address to the multicast filter whitelist.

The host can use this request to add a multicast address to the multicast filter whitelist. When the first address is added the whitelist, the device will discard all multicast frames whose destination address does not match any of the addresses on the list. The default state is to allow all multicast addresses. The whitelist is reset to the default state when the interface is reset. Up to 8 multicast addresses may be added.
See Filtering for further details.

Interface mode Request allowed
idle No
station Yes
AP Yes
IBSS No


Definition at line 2068 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_add_multicast_addr_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_add_multicast_addr_cnf_body_t

struct sl_wfx_add_multicast_addr_cnf_body_t

Confirmation message body for sl_wfx_add_multicast_addr_cnf_t .

Definition at line 2078 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the add request.

WFM_STATUS_SUCCESS : the add request was completed successfully.
any other value : the add request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_add_multicast_addr_cnf_t

struct sl_wfx_add_multicast_addr_cnf_t

Confirmation message for sl_wfx_add_multicast_addr_req_t .

Definition at line 2093 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_add_multicast_addr_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_remove_multicast_addr_req_body_t

struct sl_wfx_remove_multicast_addr_req_body_t

Request message body for sl_wfx_remove_multicast_addr_req_t .

Definition at line 2103 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address to remove.

multicast address : The device will remove the given address from the whitelist.
See Basic Service Set Identifier for further details.

sl_wfx_remove_multicast_addr_req_t

struct sl_wfx_remove_multicast_addr_req_t

Request message for removing a multicast address from the multicast filter whitelist.

The host can use this request to remove a multicast address from the multicast filter whitelist.

Interface mode Request allowed
idle No
station Yes
AP Yes
IBSS No


Definition at line 2126 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_remove_multicast_addr_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_remove_multicast_addr_cnf_body_t

struct sl_wfx_remove_multicast_addr_cnf_body_t

Confirmation message body for sl_wfx_remove_multicast_addr_cnf_t .

Definition at line 2136 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the remove request.

WFM_STATUS_SUCCESS : the remove request was completed successfully.
any other value : the remove request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_remove_multicast_addr_cnf_t

struct sl_wfx_remove_multicast_addr_cnf_t

Confirmation message for sl_wfx_remove_multicast_addr_req_t .

Definition at line 2151 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_remove_multicast_addr_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_max_ap_client_count_req_body_t

struct sl_wfx_set_max_ap_client_count_req_body_t

Request message body for sl_wfx_set_max_ap_client_count_req_t .

Field Default value Reset to default value
Count 8 when interface stopped


Definition at line 2166 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t count Maximum number of connected clients.

0 : The device will set the limit value to the device default.
1 - 8 : The maximum number of connected clients.

sl_wfx_set_max_ap_client_count_req_t

struct sl_wfx_set_max_ap_client_count_req_t

Request message for setting the maximum number of connected clients.

The host can use this request to limit the number of stations that can connect the started Wi-Fi network.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No


Definition at line 2188 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_max_ap_client_count_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_max_ap_client_count_cnf_body_t

struct sl_wfx_set_max_ap_client_count_cnf_body_t

Confirmation message body for sl_wfx_set_max_ap_client_count_cnf_t .

Definition at line 2198 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_max_ap_client_count_cnf_t

struct sl_wfx_set_max_ap_client_count_cnf_t

Confirmation message for sl_wfx_set_max_ap_client_count_req_t .

Definition at line 2212 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_max_ap_client_count_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_max_ap_client_inactivity_req_body_t

struct sl_wfx_set_max_ap_client_inactivity_req_body_t

Request message body for sl_wfx_set_max_ap_client_inactivity_req_t .

Field Default value Reset to default value
inactivity_timeout 65 when interface stopped


Definition at line 2227 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t inactivity_timeout Maximum amount of client idle time.

0 : The device will set the limit value to the device default.
1 - 240 : The maximum number of seconds.

sl_wfx_set_max_ap_client_inactivity_req_t

struct sl_wfx_set_max_ap_client_inactivity_req_t

Request message for setting the maximum number of connected clients.

The host can use this request to limit the number of stations that can connect the started Wi-Fi network.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No


Definition at line 2249 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_max_ap_client_inactivity_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_max_ap_client_inactivity_cnf_body_t

struct sl_wfx_set_max_ap_client_inactivity_cnf_body_t

Confirmation message body for sl_wfx_set_max_ap_client_count_cnf_t .

Definition at line 2259 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_max_ap_client_inactivity_cnf_t

struct sl_wfx_set_max_ap_client_inactivity_cnf_t

Confirmation message for sl_wfx_set_max_ap_client_inactivity_req_t .

Definition at line 2273 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_max_ap_client_inactivity_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_roam_parameters_req_body_t

struct sl_wfx_set_roam_parameters_req_body_t

Request message body for sl_wfx_set_roam_parameters_req_t .

Field Default value Reset to default value
rcpi_threshold 60 when device reset
rcpi_hysteresis 120 when device reset
beacon_lost_count 10 when device reset
channel_list_count 13 when device reset
channel_number 1 to 13 when device reset


Definition at line 2292 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t beacon_lost_count Beacon loss limit for a roaming attempt.

0 : The device will set the limit value to the device default.
1 - 255 : Beacon loss limit for a roaming attempt.

uint8_t channel_list_count The amount of specific channels to scan.

0 : The device will set the channel list to the device default.
1 - 13 : The amount of specific channels to scan.

uint8_t channel_number[] List of specific channels to scan.

1 - 13 : The channel number to scan per byte.
Must contain the same number of channels as specified in channel_list_count.
See Scanning for further details.

uint8_t rcpi_hysteresis Upper RCPI limit that must be attained before triggering roaming again.

0 : The device will set the limit value to the device default.
1 - 220 : RCPI limit to re-enable automatic roaming based on RCPI. This value is used to prevent automatic roaming from triggering again and again while the signal strength stays close to the rcpi_threshold value. rcpi_hysteresis should be set to a value grater than rcpi_threshold.
See Received Channel Power Indicator for further details.

uint8_t rcpi_threshold Received Channel Power Indicator (RCPI) limit for a roaming attempt.

0 : The device will set the limit value to the device default.
1 - 220 : RCPI limit for a roaming attempt.
See Received Channel Power Indicator for further details.

sl_wfx_set_roam_parameters_req_t

struct sl_wfx_set_roam_parameters_req_t

Request message for setting the roaming parameters.

The host can use this request to configure the roaming parameters used by the device.
See Roaming for further details.

Interface mode Request allowed
idle Yes
station Yes
AP No
IBSS No


Definition at line 2346 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_roam_parameters_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_roam_parameters_cnf_body_t

struct sl_wfx_set_roam_parameters_cnf_body_t

Confirmation message body for sl_wfx_set_roam_parameters_cnf_t .

Definition at line 2356 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_roam_parameters_cnf_t

struct sl_wfx_set_roam_parameters_cnf_t

Confirmation message for sl_wfx_set_roam_parameters_req_t .

Definition at line 2371 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_roam_parameters_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_tx_rate_parameters_req_body_t

struct sl_wfx_set_tx_rate_parameters_req_body_t

Request message body for sl_wfx_set_tx_rate_parameters_req_t .

Field Default value Reset to default value
rate_set_bitmask all 802.11bg rates, MCS 0 - 7 when device reset


Definition at line 2386 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_rate_set_bitmask_t rate_set_bitmask TX rate set parameters.
uint32_t reserved Reserved, set to zero.

sl_wfx_set_tx_rate_parameters_req_t

struct sl_wfx_set_tx_rate_parameters_req_t

Request message for setting the TX rate set parameters.

The host can use this request to configure the TX rate set parameters of the device. The rate set determines what data rates will be used by the device to transmit data frames.

Interface mode Request allowed
idle Yes
station Yes
AP No
IBSS No


Definition at line 2413 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_tx_rate_parameters_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_tx_rate_parameters_cnf_body_t

struct sl_wfx_set_tx_rate_parameters_cnf_body_t

Confirmation message body for sl_wfx_set_tx_rate_parameters_cnf_t .

Definition at line 2423 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_tx_rate_parameters_cnf_t

struct sl_wfx_set_tx_rate_parameters_cnf_t

Confirmation message for sl_wfx_set_tx_rate_parameters_req_t .

Definition at line 2438 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_tx_rate_parameters_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_arp_ip_address_req_body_t

struct sl_wfx_set_arp_ip_address_req_body_t

Request message body for sl_wfx_set_arp_ip_address_req_t .

Definition at line 2448 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t arp_ip_addr[2] List of offloaded ARP IP addresses.

The device will automatically reply to an ARP request that matches one the addresses on the list. Note that addresses not in use must be set to zero. Offloading is disabled by setting all addresses to zero.
See Offloading for further details.

sl_wfx_set_arp_ip_address_req_t

struct sl_wfx_set_arp_ip_address_req_t

Request message for setting the Address Resolution Protocol (ARP) offloading state.

The host can use this request to offload handling of ARP requests to the device. When offloading is enabled, the device will automatically respond to ARP requests with an ARP reply. By default offloading is disabled. Offloading is reset to the default state when the interface is reset.
See Offloading for further details.

Interface mode Request allowed
idle No
station Yes
AP No
IBSS No


Definition at line 2476 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_arp_ip_address_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_arp_ip_address_cnf_body_t

struct sl_wfx_set_arp_ip_address_cnf_body_t

Confirmation message body for sl_wfx_set_arp_ip_address_cnf_t .

Definition at line 2486 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_arp_ip_address_cnf_t

struct sl_wfx_set_arp_ip_address_cnf_t

Confirmation message for sl_wfx_set_arp_ip_address_req_t .

Definition at line 2500 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_arp_ip_address_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_ns_ip_address_req_body_t

struct sl_wfx_set_ns_ip_address_req_body_t

Request message body for sl_wfx_set_ns_ip_address_req_t .

Definition at line 2510 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_ns_ip_addr_t ns_ip_addr[2] List of offloaded NS IP addresses.

The device will automatically reply to a NS that matches one the addresses on the list. Note that addresses not in use must be set to zero. Offloading is disabled by setting all addresses to zero.
See Offloading for further details.

sl_wfx_set_ns_ip_address_req_t

struct sl_wfx_set_ns_ip_address_req_t

Request message for setting the Neighbor Discovery Protocol (NDP) offloading state.

The host can use this request to offload handling of IPv6 Neighbor Solicitations to the device. When offloading is enabled, the device will automatically respond to a solicitation with a Neighbor Advertisement. By default offloading is disabled. Offloading is reset to the default state when the interface is reset.
See Offloading for further details.

Interface mode Request allowed
idle No
station Yes
AP No
IBSS No


Definition at line 2537 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_ns_ip_address_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_ns_ip_address_cnf_body_t

struct sl_wfx_set_ns_ip_address_cnf_body_t

Confirmation message body for sl_wfx_set_ns_ip_address_cnf_t .

Definition at line 2547 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_ns_ip_address_cnf_t

struct sl_wfx_set_ns_ip_address_cnf_t

Confirmation message for sl_wfx_set_ns_ip_address_req_t .

Definition at line 2561 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_ns_ip_address_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_broadcast_filter_req_body_t

struct sl_wfx_set_broadcast_filter_req_body_t

Request message body for sl_wfx_set_broadcast_filter_req_t .

Field Default value Reset to default value
Filter 0 when interface stopped


Definition at line 2576 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t filter Boolean option for broadcast filtering.

0 : The device will forward all received broadcast frames to the host.
1 : The device will only forward ARP and DHCP frames to the host, other broadcast frames are discarded.
See Filtering for further details.

sl_wfx_set_broadcast_filter_req_t

struct sl_wfx_set_broadcast_filter_req_t

Request message for setting broadcast filter state.

The host can use this request to configure the state of the broadcast filter. When enabled, the device will only forward certain broadcast frames to the host and automatically discard the rest.
See Filtering for further details.

Interface mode Request allowed
idle No
station Yes
AP No
IBSS No


Definition at line 2602 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_broadcast_filter_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_broadcast_filter_cnf_body_t

struct sl_wfx_set_broadcast_filter_cnf_body_t

Confirmation message body for sl_wfx_set_broadcast_filter_cnf_t .

Definition at line 2612 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_broadcast_filter_cnf_t

struct sl_wfx_set_broadcast_filter_cnf_t

Confirmation message for sl_wfx_set_broadcast_filter_req_t .

Definition at line 2626 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_broadcast_filter_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_scan_parameters_req_body_t

struct sl_wfx_set_scan_parameters_req_body_t

Request message body for sl_wfx_set_scan_parameters_req_t .

Field Default value Reset to default value
active_channel_time 50 when device reset
passive_channel_time 110 when device reset
num_of_probe_requests 1 when device reset


Definition at line 2643 of file sl_wfx_cmd_api.h .

Data Fields
uint16_t active_channel_time Set to 0 for device default, 1 - 550 TUs.
uint16_t num_of_probe_requests Set to 0 for device default, 1 - 2.
uint16_t passive_channel_time Set to 0 for device default, 1 - 550 TUs.
uint16_t reserved Reserved, set to zero.

sl_wfx_set_scan_parameters_req_t

struct sl_wfx_set_scan_parameters_req_t

Request message for setting scan parameters.

The host can use this request to configure the scan parameters used by the device.

Interface mode Request allowed
idle Yes
station Yes
AP No
IBSS No


Definition at line 2676 of file sl_wfx_cmd_api.h .

sl_wfx_set_scan_parameters_cnf_body_t

struct sl_wfx_set_scan_parameters_cnf_body_t

Confirmation message body for sl_wfx_set_scan_parameters_cnf_t .

Definition at line 2684 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_scan_parameters_cnf_t

struct sl_wfx_set_scan_parameters_cnf_t

Confirmation message for sl_wfx_set_scan_parameters_req_t .

Definition at line 2698 of file sl_wfx_cmd_api.h .

sl_wfx_set_unicast_filter_req_body_t

struct sl_wfx_set_unicast_filter_req_body_t

Request message body for sl_wfx_set_unicast_filter_req_t .

Field Default value Reset to default value
Filter 1 when interface stopped


Definition at line 2711 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t filter Boolean option for unicast filtering.

0 : The device will forward all received unicast frames to the host.
1 : The device will only forward unicast frames whose destination address matches the device MAC address.
See Filtering for further details.

sl_wfx_set_unicast_filter_req_t

struct sl_wfx_set_unicast_filter_req_t

Request message for setting unicast filter state.

The host can use this request to configure the state of the unicast filter. When enabled, the device will only forward certain unicast frames to the host and automatically discard the rest.
See Filtering for further details.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No


Definition at line 2737 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_unicast_filter_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_unicast_filter_cnf_body_t

struct sl_wfx_set_unicast_filter_cnf_body_t

Confirmation message body for sl_wfx_set_unicast_filter_cnf_t .

Definition at line 2747 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the set request.

WFM_STATUS_SUCCESS : the set request was completed successfully.
any other value : the set request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_unicast_filter_cnf_t

struct sl_wfx_set_unicast_filter_cnf_t

Confirmation message for sl_wfx_set_unicast_filter_req_t .

Definition at line 2761 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_unicast_filter_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_add_whitelist_addr_req_body_t

struct sl_wfx_add_whitelist_addr_req_body_t

Request message body for sl_wfx_add_whitelist_addr_req_t .

Definition at line 2771 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address to add.

broadcast address : The device will allow all MAC addresses.
unicast address : The device will add the given address to the whitelist.

sl_wfx_add_whitelist_addr_req_t

struct sl_wfx_add_whitelist_addr_req_t

Request message for adding a MAC address to the device whitelist.

The host can use this request to add a MAC address to the list of allowed MAC addresses. When the first address is added the whitelist, the device will prevent communication with any devices whose MAC address does not match any of the addresses on the list. Setting a whitelist will clear all entries from the device blacklist. The default state is to allow all MAC addresses. The whitelist is reset to the default state when the interface is reset. Up to 8 MAC addresses may be added.
See Filtering for further details.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No


Definition at line 2798 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_add_whitelist_addr_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_add_whitelist_addr_cnf_body_t

struct sl_wfx_add_whitelist_addr_cnf_body_t

Confirmation message body for sl_wfx_add_whitelist_addr_cnf_t .

Definition at line 2808 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the add request.

WFM_STATUS_SUCCESS : the add request was completed successfully.
any other value : the add request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_add_whitelist_addr_cnf_t

struct sl_wfx_add_whitelist_addr_cnf_t

Confirmation message for sl_wfx_add_whitelist_addr_req_t .

Definition at line 2822 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_add_whitelist_addr_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_add_blacklist_addr_req_body_t

struct sl_wfx_add_blacklist_addr_req_body_t

Request message body for sl_wfx_add_blacklist_addr_req_t .

Definition at line 2832 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address to add.

broadcast address : The device will deny all MAC addresses.
unicast address : The device will add the given address to the blacklist.

sl_wfx_add_blacklist_addr_req_t

struct sl_wfx_add_blacklist_addr_req_t

Request message for adding a MAC address to the device blacklist.

The host can use this request to add a MAC address to the list of denied MAC addresses. When the first address is added the blacklist, the device will prevent communication with any device whose MAC address matches any of the addresses on the list. Setting a blacklist will clear all entries from the device whitelist. The default state is to allow all MAC addresses. The blacklist is reset to the default state when the interface is reset. Up to 8 MAC addresses may be added.
See Filtering for further details.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No


Definition at line 2859 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_add_blacklist_addr_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_add_blacklist_addr_cnf_body_t

struct sl_wfx_add_blacklist_addr_cnf_body_t

Confirmation message body for sl_wfx_add_blacklist_addr_cnf_t .

Definition at line 2869 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the add request.

WFM_STATUS_SUCCESS : the add request was completed successfully.
any other value : the add request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_add_blacklist_addr_cnf_t

struct sl_wfx_add_blacklist_addr_cnf_t

Confirmation message for sl_wfx_add_blacklist_addr_req_t .

Definition at line 2883 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_add_blacklist_addr_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_max_tx_power_req_body_t

struct sl_wfx_set_max_tx_power_req_body_t

Request message body for sl_wfx_set_max_tx_power_req_t .

Field Default value Reset to default value
max_tx_power device dependent when device reset


Definition at line 2898 of file sl_wfx_cmd_api.h .

Data Fields
int32_t max_tx_power Maximum transmit power to set.

Expressed in units of 0.1d_bm.

sl_wfx_set_max_tx_power_req_t

struct sl_wfx_set_max_tx_power_req_t

Request message for setting the maximum transmit power of the device.

The host can use this request to set a maximum transmit power. The device can still use a lower transmit power depending on regulatory rules or internal limitations.

Interface mode Request allowed
idle Yes
station Yes
AP Yes
IBSS Yes


Definition at line 2923 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_max_tx_power_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_set_max_tx_power_cnf_body_t

struct sl_wfx_set_max_tx_power_cnf_body_t

Confirmation message body for sl_wfx_set_max_tx_power_cnf_t .

Definition at line 2933 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t status Status of the add request.

WFM_STATUS_SUCCESS : the add request was completed successfully.
any other value : the add request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_set_max_tx_power_cnf_t

struct sl_wfx_set_max_tx_power_cnf_t

Confirmation message for sl_wfx_set_max_tx_power_req_t .

Definition at line 2950 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_set_max_tx_power_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_get_max_tx_power_cnf_body_t

struct sl_wfx_get_max_tx_power_cnf_body_t

Confirmation message body for sl_wfx_get_max_tx_power_cnf_t .

Definition at line 2977 of file sl_wfx_cmd_api.h .

Data Fields
int32_t max_tx_power_rf_port1 Maximum transmit power for RF port 1.

Expressed in units of 0.1d_bm.

int32_t max_tx_power_rf_port2 Maximum transmit power for RF port 2.

Expressed in units of 0.1d_bm.

uint32_t status Status of the add request.

WFM_STATUS_SUCCESS : the add request was completed successfully.
any other value : the add request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_get_max_tx_power_cnf_t

struct sl_wfx_get_max_tx_power_cnf_t

Confirmation message for sl_wfx_get_max_tx_power_req_t .

Definition at line 3004 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_get_max_tx_power_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_get_pmk_cnf_body_t

struct sl_wfx_get_pmk_cnf_body_t

Confirmation message body for sl_wfx_get_pmk_cnf_t .

Definition at line 3032 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t password[64] PMK of the network.

WPA PMK : 64 bytes in HEX format.
See Passwords and pass phrases for further details.

uint32_t password_length Length of the Pairwise Master Key.

0 - 64 : The amount of bytes.

uint32_t status Status of the add request.

WFM_STATUS_SUCCESS : the get request was completed successfully.
any other value : the get request failed.
See sl_wfx_fmac_status_t for enumeration values.

sl_wfx_get_pmk_cnf_t

struct sl_wfx_get_pmk_cnf_t

Confirmation message for sl_wfx_get_pmk_req_t .

Definition at line 3058 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_get_pmk_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_get_ap_client_signal_strength_req_body_t

struct sl_wfx_get_ap_client_signal_strength_req_body_t

Request message body for sl_wfx_get_ap_client_signal_strength_req_t .

Definition at line 3068 of file sl_wfx_cmd_api.h .

Data Fields
uint8_t mac[6] MAC address of the station.

sl_wfx_get_ap_client_signal_strength_req_t

struct sl_wfx_get_ap_client_signal_strength_req_t

Request message for retrieving the signal strength of a client of the started Wi-Fi network.

The host can use this request to retrieve the signal strength of a client of the started Wi-Fi network.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No


Definition at line 3087 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_get_ap_client_signal_strength_req_body_t body Request message body.
sl_wfx_header_t header Common message header.

sl_wfx_get_ap_client_signal_strength_cnf_body_t

struct sl_wfx_get_ap_client_signal_strength_cnf_body_t

Confirmation message body for sl_wfx_get_ap_client_signal_strength_cnf_t .

Definition at line 3097 of file sl_wfx_cmd_api.h .

Data Fields
uint32_t rcpi Received Channel Power Indicator (RCPI) of the client.

See Received Channel Power Indicator for further details.

uint32_t status Status of the get request.

WFM_STATUS_SUCCESS : the get request was completed.
any other value : the get request failed.
See WFM_STATUS for enumeration values.

sl_wfx_get_ap_client_signal_strength_cnf_t

struct sl_wfx_get_ap_client_signal_strength_cnf_t

Confirmation message for sl_wfx_get_ap_client_signal_strength_cnf_t .

Definition at line 3116 of file sl_wfx_cmd_api.h .

Data Fields
sl_wfx_get_ap_client_signal_strength_cnf_body_t body Confirmation message body.
sl_wfx_header_t header Common message header.

sl_wfx_disconnect_req_t

struct sl_wfx_disconnect_req_t

Request message for disconnecting from a Wi-Fi network.

The host can use this request to initiate a disconnection from a Wi-Fi network.

Interface mode Request allowed
idle No
station Yes
AP No
IBSS No

sl_wfx_get_signal_strength_req_t

struct sl_wfx_get_signal_strength_req_t

Request message for retrieving the signal strength of connection.

The host can use this request to retrieve the signal strength of the connection.

Interface mode Request allowed
idle No
station Yes
AP No
IBSS No

sl_wfx_stop_ap_req_t

struct sl_wfx_stop_ap_req_t

Request message for stopping the started Wi-Fi network.

The host can use this request to stop the started Wi-Fi network.

Interface mode Request allowed
idle No
station No
AP Yes
IBSS No

sl_wfx_stop_ap_ind_t

struct sl_wfx_stop_ap_ind_t

Indication message used to signal the completion of a stop operation.

The device will send this indication to signal the stop request initiated with sl_wfx_stop_ap_req_t has been completed. The indication is also sent when the started network has encountered a fatal error.

sl_wfx_stop_scan_req_t

struct sl_wfx_stop_scan_req_t

Request message for stopping an ongoing scan.

The host can use this request to stop an ongoing scan operation.

Interface mode Request allowed
idle Yes
station Yes
AP No
IBSS No

sl_wfx_leave_ibss_req_t

struct sl_wfx_leave_ibss_req_t

Request message for disconnecting from an IBSS network.

The host can use this request to disconnect from an IBSS network.

Interface mode Request allowed
idle No
station No
AP No
IBSS Yes

sl_wfx_leave_ibss_ind_t

struct sl_wfx_leave_ibss_ind_t

Indication message used to signal the completion of a disconnect operation.

The device will send this indication to signal the disconnect request initiated with sl_wfx_leave_ibss_req_t has been completed. The indication is also sent when the network has encountered a fatal error.

sl_wfx_get_max_tx_power_req_t

struct sl_wfx_get_max_tx_power_req_t

Request message for getting the maximum transmit power.

The host can use this request to get the current value of maximum transmit power.

Interface mode Request allowed
idle Yes
station Yes
AP Yes
IBSS Yes

sl_wfx_get_pmk_req_t

struct sl_wfx_get_pmk_req_t

Request message for getting the Pairwise Master Key (PMK).

The host can use this request to retrieve the Pairwise Master Key (PMK) used to connect to the current secure network. PMK can be given in the next sl_wfx_connect_req_t message to speed up connection process. See Passwords and pass phrases for further details.

Interface mode Request allowed
idle No
station Yes
AP Yes
IBSS No