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_ADDR_REQ.
struct sl_wfx_set_max_tx_power_req_t
Request message for setting a maximum transmit power.
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 699 of file wfm_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 721 of file wfm_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 731 of file wfm_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 745 of file wfm_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 755 of file wfm_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[0] 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 passphrase : 8 - 63 bytes in ASCII format.
WPA PMK : 64 bytes in HEX format.
See Passwords and passphrases 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 iniate 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 839 of file wfm_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 849 of file wfm_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 863 of file wfm_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 873 of file wfm_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 913 of file wfm_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 937 of file wfm_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 951 of file wfm_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 961 of file wfm_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 wfm_reason 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 981 of file wfm_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 1005 of file wfm_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 1024 of file wfm_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 1040 of file wfm_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 1070 of file wfm_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 1080 of file wfm_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 1094 of file wfm_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 1104 of file wfm_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[0] 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 passphrase : 8 - 63 bytes in ASCII format.
WPA PMK : 64 bytes in HEX format.
See Passwords and passphrases 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 iniate a Wi-Fi network.

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


Definition at line 1195 of file wfm_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 1205 of file wfm_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 1219 of file wfm_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 1229 of file wfm_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 1245 of file wfm_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 1255 of file wfm_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[0] 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 1290 of file wfm_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 1300 of file wfm_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 1314 of file wfm_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 1338 of file wfm_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 1352 of file wfm_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 1372 of file wfm_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 1385 of file wfm_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 1395 of file wfm_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_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.
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 1416 of file wfm_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 1426 of file wfm_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 1445 of file wfm_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 1455 of file wfm_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 1469 of file wfm_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 1479 of file wfm_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 1498 of file wfm_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 1508 of file wfm_cmd_api.h .

Data Fields
uint8_t frame_type Type of the packet.

0 : Data packet with Ethernet II frame header.

uint8_t packet_data[0] 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 1551 of file wfm_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 1561 of file wfm_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 1585 of file wfm_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 1595 of file wfm_cmd_api.h .

Data Fields
uint8_t frame[0] 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 Type of the packet.

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 1626 of file wfm_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 1636 of file wfm_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[0] 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.
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.
See Vendor-specific IE 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 1694 of file wfm_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 1704 of file wfm_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 1719 of file wfm_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 1744 of file wfm_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_scan_result_ind_t .
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 1759 of file wfm_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 1769 of file wfm_cmd_api.h .

Data Fields
uint16_t channel Channel of the access point.

1 - 13 : Channel number.

uint8_t ie_data[0] 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 1817 of file wfm_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 1827 of file wfm_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 1844 of file wfm_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 1854 of file wfm_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 passphrases 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 1899 of file wfm_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 1909 of file wfm_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 1923 of file wfm_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 1933 of file wfm_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 1958 of file wfm_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 1982 of file wfm_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 1996 of file wfm_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 2016 of file wfm_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 2046 of file wfm_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 2056 of file wfm_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 2071 of file wfm_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 2081 of file wfm_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 2104 of file wfm_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 2114 of file wfm_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 2129 of file wfm_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 2144 of file wfm_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 2166 of file wfm_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 2176 of file wfm_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 2190 of file wfm_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 2205 of file wfm_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 2227 of file wfm_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 2237 of file wfm_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 2251 of file wfm_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 2270 of file wfm_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[0] 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 2324 of file wfm_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 2334 of file wfm_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 2349 of file wfm_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 2364 of file wfm_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 2391 of file wfm_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 2401 of file wfm_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 2416 of file wfm_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 2426 of file wfm_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 2454 of file wfm_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 2464 of file wfm_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 2478 of file wfm_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 2488 of file wfm_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 2515 of file wfm_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 2525 of file wfm_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 2539 of file wfm_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 2554 of file wfm_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 2580 of file wfm_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 2590 of file wfm_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 2604 of file wfm_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 2621 of file wfm_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 2654 of file wfm_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 2662 of file wfm_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 2676 of file wfm_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 2689 of file wfm_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 2715 of file wfm_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 2725 of file wfm_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 2739 of file wfm_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 2749 of file wfm_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 2776 of file wfm_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 2786 of file wfm_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 2800 of file wfm_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 2810 of file wfm_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 2837 of file wfm_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 2847 of file wfm_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 2861 of file wfm_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_ADDR_REQ.

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


Definition at line 2876 of file wfm_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 a maximum transmit power.

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 2901 of file wfm_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 2911 of file wfm_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 2928 of file wfm_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 2955 of file wfm_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 2982 of file wfm_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 3010 of file wfm_cmd_api.h .

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

WPA PMK : 64 bytes in HEX format.
See Passwords and passphrases 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 3036 of file wfm_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 3046 of file wfm_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 3065 of file wfm_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 3075 of file wfm_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 3094 of file wfm_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 iniate 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 passphrases for further details.

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