API messages in station modeFULL_MAC_API > API messages by mode

WFM API messages applicable for an interface in STA mode.

Data Structures

struct sl_wfx_disconnect_cnf_t
Confirmation message for sl_wfx_disconnect_req_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_t
Confirmation message for sl_wfx_get_signal_strength_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_t
Confirmation message for sl_wfx_set_pm_mode_req_t .
struct sl_wfx_send_frame_req_t
Request message for sending a packet to the network.
struct sl_wfx_send_frame_cnf_t
Confirmation message for sl_wfx_send_frame_req_t .
struct sl_wfx_received_ind_t
Indication message used to signal a received packet.
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_t
Confirmation message for sl_wfx_start_scan_req_t .
struct sl_wfx_stop_scan_cnf_t
Confirmation message for sl_wfx_stop_scan_req_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_t
Indication message used to signal a scan was completed.
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_t
Confirmation message for sl_wfx_add_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_t
Confirmation message for sl_wfx_remove_multicast_addr_req_t .
struct sl_wfx_set_roam_parameters_req_t
Request message for setting the roaming parameters.
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_t
Request message for setting the TX rate set parameters.
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_t
Request message for setting the Address Resolution Protocol (ARP) offloading state.
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_t
Request message for setting the Neighbor Discovery Protocol (NDP) offloading state.
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_t
Request message for setting broadcast filter state.
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_t
Request message for setting scan parameters.
struct sl_wfx_set_scan_parameters_cnf_t
Confirmation message for sl_wfx_set_scan_parameters_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_t
Confirmation message for sl_wfx_set_max_tx_power_req_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_t
Confirmation message for sl_wfx_get_pmk_req_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_scan_req_t
Request message for stopping an ongoing scan.
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 applicable for an interface in STA mode.


Data Structure Documentation

sl_wfx_disconnect_cnf_t

struct sl_wfx_disconnect_cnf_t

Confirmation message for sl_wfx_disconnect_req_t .

Definition at line 960 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_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_t

struct sl_wfx_get_signal_strength_cnf_t

Confirmation message for sl_wfx_get_signal_strength_req_t .

Definition at line 1036 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_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


Definition at line 1081 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_t

struct sl_wfx_set_pm_mode_cnf_t

Confirmation message for sl_wfx_set_pm_mode_req_t .

Definition at line 1105 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_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


Definition at line 1558 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_t

struct sl_wfx_send_frame_cnf_t

Confirmation message for sl_wfx_send_frame_req_t .

Definition at line 1591 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_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 1631 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_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


Definition at line 1705 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_t

struct sl_wfx_start_scan_cnf_t

Confirmation message for sl_wfx_start_scan_req_t .

Definition at line 1730 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_t

struct sl_wfx_stop_scan_cnf_t

Confirmation message for sl_wfx_stop_scan_req_t .

Definition at line 1769 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_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 1827 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_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 1854 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_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


Definition at line 1893 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_t

struct sl_wfx_add_multicast_addr_cnf_t

Confirmation message for sl_wfx_add_multicast_addr_req_t .

Definition at line 1918 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_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


Definition at line 1950 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_t

struct sl_wfx_remove_multicast_addr_cnf_t

Confirmation message for sl_wfx_remove_multicast_addr_req_t .

Definition at line 1975 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_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


Definition at line 2167 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_t

struct sl_wfx_set_roam_parameters_cnf_t

Confirmation message for sl_wfx_set_roam_parameters_req_t .

Definition at line 2192 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_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


Definition at line 2233 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_t

struct sl_wfx_set_tx_rate_parameters_cnf_t

Confirmation message for sl_wfx_set_tx_rate_parameters_req_t .

Definition at line 2258 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_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


Definition at line 2295 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_t

struct sl_wfx_set_arp_ip_address_cnf_t

Confirmation message for sl_wfx_set_arp_ip_address_req_t .

Definition at line 2319 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_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


Definition at line 2355 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_t

struct sl_wfx_set_ns_ip_address_cnf_t

Confirmation message for sl_wfx_set_ns_ip_address_req_t .

Definition at line 2379 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_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


Definition at line 2419 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_t

struct sl_wfx_set_broadcast_filter_cnf_t

Confirmation message for sl_wfx_set_broadcast_filter_req_t .

Definition at line 2443 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_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


Definition at line 2492 of file sl_wfx_cmd_api.h .

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 2514 of file sl_wfx_cmd_api.h .

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


Definition at line 2734 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_t

struct sl_wfx_set_max_tx_power_cnf_t

Confirmation message for sl_wfx_set_max_tx_power_req_t .

Definition at line 2760 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_t

struct sl_wfx_get_max_tx_power_cnf_t

Confirmation message for sl_wfx_get_max_tx_power_req_t .

Definition at line 2811 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_t

struct sl_wfx_get_pmk_cnf_t

Confirmation message for sl_wfx_get_pmk_req_t .

Definition at line 2864 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_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

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

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

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

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