API messagesFULL_MAC_API
WFM API messages.
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
697
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
719
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
729
of file
wfm_cmd_api.h
.
◆ 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
743
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
753
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.
|
uint16_t | channel |
Channel of the Access Point.
0
: The device will connect to a matching Access Point on any channel.
|
uint8_t | ie_data[] |
Vendor-specific IE data added to the 802.11 Association Request frames.
The IE data must be in 802.11 Vendor-Specific Element format. It may contain multiple concatenated IEs, up to the maximum length.
|
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.
|
uint8_t | password[64] |
Password of the network.
64-bit WEP key
: 5 bytes in ASCII format or 10 bytes in HEX format.
|
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.
|
uint8_t | security_mode |
Security mode of the network.
WFM_SECURITY_MODE_OPEN
: The device will only connect to an unsecured Access Point.
|
sl_wfx_ssid_def_t | ssid_def | Service Set Identifier (SSID) of the network. |
◆ sl_wfx_connect_req_t
struct sl_wfx_connect_req_t |
Request message for connecting to a Wi-Fi network.
The host can use this request to initiate a connection to a Wi-Fi network. An ongoing connection attempt can be canceled by sending sl_wfx_disconnect_req_t message. Completion of the connection request will be signaled by sl_wfx_connect_ind_t message. It may take up to 10 seconds to receive the message.
Interface mode | Request allowed |
---|---|
idle | Yes |
station | No |
AP | No |
IBSS | No |
Definition at line
837
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
847
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
.
|
◆ sl_wfx_connect_cnf_t
struct sl_wfx_connect_cnf_t |
Confirmation message for sl_wfx_connect_req_t .
Definition at line
861
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
871
of file
wfm_cmd_api.h
.
◆ 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
911
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
935
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
.
|
◆ sl_wfx_disconnect_cnf_t
struct sl_wfx_disconnect_cnf_t |
Confirmation message for sl_wfx_disconnect_req_t .
Definition at line
949
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
959
of file
wfm_cmd_api.h
.
◆ 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
979
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
1003
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.
|
◆ 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
1022
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
1038
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.
|
uint16_t | power_mode |
Power management mode.
WFM_PM_MODE_ACTIVE
: the device will not use Wi-Fi power management mechanisms.
|
◆ 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
1068
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
1078
of file
wfm_cmd_api.h
.
◆ 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
1092
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
1102
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.
|
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.
|
uint8_t | ie_data[] |
Vendor-specific IE data added to the 802.11 Beacon frames and Probe Response frames.
The IE data must be in 802.11 Vendor-Specific Element format. It may contain multiple concatenated IEs, up to the maximum length. First part of the IE data, up to the amount of bytes specified in BeaconIeDataLength, is added to the Beacon frames. The remaining part whose length is defined in ProbeRespIeDataLength is added to the Probe Response frames.
|
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.
|
uint8_t | password[64] |
Password of the network.
64-bit WEP key
: 5 bytes in ASCII format or 10 bytes in HEX format.
|
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.
|
sl_wfx_ssid_def_t | ssid_def | Service Set Identifier (SSID) of the network. |
◆ sl_wfx_start_ap_req_t
struct sl_wfx_start_ap_req_t |
Request message for starting a Wi-Fi network.
The host can use this request to initiate a Wi-Fi network.
Interface mode | Request allowed |
---|---|
idle | Yes |
station | No |
AP | No |
IBSS | No |
Definition at line
1193
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
1203
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
.
|
◆ 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
1217
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
1227
of file
wfm_cmd_api.h
.
◆ 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
1243
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
1253
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[] |
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.
|
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
1288
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
1298
of file
wfm_cmd_api.h
.
◆ 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
1312
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
1336
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
.
|
◆ 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
1350
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
1370
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
1383
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
1393
of file
wfm_cmd_api.h
.
◆ 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
.
◆ 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
.
◆ 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 |
Packet type.
0 : Data packet with Ethernet II frame header. |
uint8_t | packet_data[] |
Data of the packet.
See Packet types for further details. |
uint32_t | packet_data_length |
Length of packet data.
1 - 1604 : The amount of bytes. |
uint16_t | packet_id |
Packet ID number.
0 - 65535
: Host-assigned unique number for the packet.
|
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
.
◆ 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[] |
Packet data, including the padding bytes before the packet data.
See Packet types for further details. |
uint16_t | frame_length |
Length of packet data excluding the padding bytes.
1 - 2310 : The amount of bytes. |
uint8_t | frame_padding |
The amount of padding bytes before the packet data.
0 - 3 : The amount of bytes. |
uint8_t | frame_type |
Packet type.
0 : Data packet with Ethernet II frame header. |
◆ sl_wfx_received_ind_t
struct sl_wfx_received_ind_t |
Indication message used to signal a received packet.
The device will send this indication to signal a packet has been received.
Definition at line
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
|
uint8_t | data[] |
Data for the variable-length scan parameters.
The variable-length scan parameters are concatenated together without any padding between the different parameters.
1 - 13
: The channel number to scan per byte.
Must contain the same number of WfmHiSsidDef_t elements as specified in SsidListCount.
The IE data must be in 802.11 Vendor-Specific Element format. It may contain multiple concatenated IEs, up to the maximum length.
broadcast address
: The device will send Probe Request frames to all devices.
|
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.
|
uint16_t | ssid_list_count |
The amount of specific SSIDs to scan.
0
: The device will perform a broadcast 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
1701
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
1711
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
.
|
◆ 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
1726
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
1751
of file
wfm_cmd_api.h
.
◆ 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
1766
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
1776
of file
wfm_cmd_api.h
.
Data Fields | ||
---|---|---|
uint16_t | channel |
Channel of the access point.
1 - 13 : Channel number. |
uint8_t | ie_data[] | Access point IE data from the 802.11 Beacon or Probe Response frame. |
uint16_t | ie_data_length | Length of access point Information Element (IE) data in bytes. |
uint8_t | mac[6] | MAC address of the access point. |
uint16_t | rcpi |
Received Channel Power Indicator (RCPI) of the access point.
See Received Channel Power Indicator for further details. |
uint8_t | reserved1 | Reserved. |
uint16_t | reserved2 | Reserved. |
sl_wfx_security_mode_bitmask_t | security_mode | Security Capabilities of the network. |
sl_wfx_ssid_def_t | ssid_def | Service Set Identifier (SSID) of the network. |
◆ sl_wfx_scan_result_ind_t
struct sl_wfx_scan_result_ind_t |
Indication message used to signal an access point has been detected.
The device will send this indication to signal an access point has has been detected during the scan operation.
Definition at line
1824
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
1834
of file
wfm_cmd_api.h
.
◆ 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
1851
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
1861
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.
|
uint8_t | password[64] |
Password of the network.
64-bit WEP key
: 5 bytes in ASCII format or 10 bytes in HEX format.
|
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.
|
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
1906
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
1916
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
.
|
◆ 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
1930
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
1940
of file
wfm_cmd_api.h
.
Data Fields | ||
---|---|---|
uint8_t | bssid[6] |
Basic Service Set Identifier (BSSID) of the network.
|
uint16_t | reserved | Reserved. |
uint32_t | status |
Status of the join request.
WFM_STATUS_SUCCESS
: the join request was completed successfully.
|
◆ 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
1965
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
1989
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
.
|
◆ 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
2003
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
2023
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.
|
◆ 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
2053
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
2063
of file
wfm_cmd_api.h
.
◆ 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
2078
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
2088
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.
|
◆ 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
2111
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
2121
of file
wfm_cmd_api.h
.
◆ 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
2136
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
2151
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.
|
◆ 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
2173
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
2183
of file
wfm_cmd_api.h
.
◆ 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
2197
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
2212
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.
|
◆ 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
2234
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
2244
of file
wfm_cmd_api.h
.
◆ 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
2258
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
2277
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.
|
uint8_t | channel_list_count |
The amount of specific channels to scan.
0
: The device will set the channel list to the device default.
|
uint8_t | channel_number[] |
List of specific channels to scan.
1 - 13
: The channel number to scan per byte.
|
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.
|
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.
|
◆ 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
2331
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
2341
of file
wfm_cmd_api.h
.
◆ 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
2356
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
2371
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
2398
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
2408
of file
wfm_cmd_api.h
.
◆ 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
2423
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
2433
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.
|
◆ 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
2461
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
2471
of file
wfm_cmd_api.h
.
◆ 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
2485
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
2495
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.
|
◆ 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
2522
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
2532
of file
wfm_cmd_api.h
.
◆ 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
2546
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
2561
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.
|
◆ 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
2587
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
2597
of file
wfm_cmd_api.h
.
◆ 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
2611
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
2628
of file
wfm_cmd_api.h
.
◆ 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
2661
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
2669
of file
wfm_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
2683
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
2696
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.
|
◆ 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
2722
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
2732
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.
|
◆ 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
2746
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
2756
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.
|
◆ 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
2783
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
2793
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.
|
◆ 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
2807
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
2817
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.
|
◆ 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
2844
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
2854
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.
|
◆ 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
2868
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_req_t .
Field | Default value | Reset to default value |
---|---|---|
max_tx_power | device dependent | when device reset |
Definition at line
2883
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 the maximum transmit power of the device.
The host can use this request to set a maximum transmit power. The device can still use a lower transmit power depending on regulatory rules or internal limitations.
Interface mode | Request allowed |
---|---|
idle | Yes |
station | Yes |
AP | Yes |
IBSS | Yes |
Definition at line
2908
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
2918
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.
|
◆ 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
2935
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
2962
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.
|
◆ 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
2989
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
3017
of file
wfm_cmd_api.h
.
Data Fields | ||
---|---|---|
uint8_t | password[64] |
PMK of the network.
WPA PMK
: 64 bytes in HEX format.
|
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.
|
◆ 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
3043
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
3053
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
3072
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
3082
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.
|
◆ 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
3101
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 initiate a disconnection from a Wi-Fi network.
Interface mode | Request allowed |
---|---|
idle | No |
station | Yes |
AP | No |
IBSS | No |
◆ sl_wfx_get_signal_strength_req_t
struct sl_wfx_get_signal_strength_req_t |
Request message for retrieving the signal strength of connection.
The host can use this request to retrieve the signal strength of the connection.
Interface mode | Request allowed |
---|---|
idle | No |
station | Yes |
AP | No |
IBSS | No |
◆ sl_wfx_stop_ap_req_t
struct sl_wfx_stop_ap_req_t |
Request message for stopping the started Wi-Fi network.
The host can use this request to stop the started Wi-Fi network.
Interface mode | Request allowed |
---|---|
idle | No |
station | No |
AP | Yes |
IBSS | No |
◆ sl_wfx_stop_ap_ind_t
struct sl_wfx_stop_ap_ind_t |
Indication message used to signal the completion of a stop operation.
The device will send this indication to signal the stop request initiated with sl_wfx_stop_ap_req_t has been completed. The indication is also sent when the started network has encountered a fatal error.
◆ sl_wfx_stop_scan_req_t
struct sl_wfx_stop_scan_req_t |
Request message for stopping an ongoing scan.
The host can use this request to stop an ongoing scan operation.
Interface mode | Request allowed |
---|---|
idle | Yes |
station | Yes |
AP | No |
IBSS | No |
◆ sl_wfx_leave_ibss_req_t
struct sl_wfx_leave_ibss_req_t |
Request message for disconnecting from an IBSS network.
The host can use this request to disconnect from an IBSS network.
Interface mode | Request allowed |
---|---|
idle | No |
station | No |
AP | No |
IBSS | Yes |
◆ sl_wfx_leave_ibss_ind_t
struct sl_wfx_leave_ibss_ind_t |
Indication message used to signal the completion of a disconnect operation.
The device will send this indication to signal the disconnect request initiated with sl_wfx_leave_ibss_req_t has been completed. The indication is also sent when the network has encountered a fatal error.
◆ sl_wfx_get_max_tx_power_req_t
struct sl_wfx_get_max_tx_power_req_t |
Request message for getting the maximum transmit power.
The host can use this request to get the current value of maximum transmit power.
Interface mode | Request allowed |
---|---|
idle | Yes |
station | Yes |
AP | Yes |
IBSS | Yes |
◆ sl_wfx_get_pmk_req_t
struct sl_wfx_get_pmk_req_t |
Request message for getting the Pairwise Master Key (PMK).
The host can use this request to retrieve the Pairwise Master Key (PMK) used to connect to the current secure network. PMK can be given in the next sl_wfx_connect_req_t message to speed up connection process. See Passwords and pass phrases for further details.
Interface mode | Request allowed |
---|---|
idle | No |
station | Yes |
AP | Yes |
IBSS | No |