ESP-IDF + 0/1 examples
SourceVu will show references to wifi_sta_config_t from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
uint8_t[32]
SSID of target AP.
uint8_t[64]
Password of target AP.
Do all channel scan or fast scan.
bool
Whether set MAC address of target AP or not. Generally, station_config.bssid_set needs to be 0; and it needs to be 1 only when users need to check the MAC address of the AP.
uint8_t[6]
MAC address of target AP.
uint8_t
Channel of target AP. For 2.4G AP, set to 1~13 to scan starting from the specified channel before connecting to AP. For 5G AP, set to 36~177 (36, 40, 44 ... 177) to scan starting from the specified channel before connecting to AP. If the channel of AP is unknown, set it to 0.
uint16_t
Listen interval for ESP32 station to receive beacon when WIFI_PS_MAX_MODEM is set. Units: AP beacon intervals. Defaults to 3 if set to 0.
Sort the connect AP in the list by rssi or security mode.
When scan_threshold is set, only APs which have an auth mode that is more secure than the selected auth mode and a signal stronger than the minimum RSSI will be used.
Configuration for Protected Management Frame. Will be advertised in RSN Capabilities in RSN IE.
Password identifier for H2E. this needs to be null terminated string.
uint32_t: 1
Whether Radio Measurements are enabled for the connection.
uint32_t: 1
Whether BSS Transition Management is enabled for the connection. Note that when btm is enabled, the application itself should not set specific bssid (i.e using bssid_set and bssid in this config)or channel to connect to. This defeats the purpose of a BTM supported network, and hence if btm is supported and a specific bssid or channel is set in this config, it will be cleared from the config at the first disconnection or connection so that the device can roam to other BSS. It is recommended not to set BSSID when BTM is enabled.
uint32_t: 1
Whether MBO is enabled for the connection. Note that when mbo is enabled, the application itself should not set specific bssid (i.e using bssid_set and bssid in this config)or channel to connect to. This defeats the purpose of a MBO supported network, and hence if btm is supported and a specific bssid or channel is set in this config, it will be cleared from the config at the first disconnection or connection so that the device can roam to other BSS. It is recommended not to set BSSID when MBO is enabled. Enabling mbo here, automatically enables btm and rm above.
uint32_t: 1
Whether FT is enabled for the connection.
uint32_t: 1
Whether OWE is enabled for the connection.
uint32_t: 1
Whether to enable transition disable feature.
uint32_t: 26
Reserved for future feature set.
Configuration for SAE PWE derivation method.
Configuration for SAE-PK (Public Key) Authentication method.
uint8_t
Number of connection retries station will do before moving to next AP. scan_method should be set as WIFI_ALL_CHANNEL_SCAN to use this config. Note: Enabling this may cause connection time to increase in case best AP doesn't behave properly.
uint32_t: 1
Whether DCM max.constellation for transmission and reception is set.
uint32_t: 2
Indicate the max.constellation for DCM in TB PPDU the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3.
uint32_t: 2
Indicate the max.constellation for DCM in both Data field and HE-SIG-B field the STA supported. 0: not supported. 1: BPSK, 2: QPSK, 3: 16-QAM. The default value is 3.
uint32_t: 1
Whether to support HE-MCS 0 to 9. The default value is 0.
uint32_t: 1
Whether to disable support for operation as an SU beamformee.
uint32_t: 1
Whether to disable support the transmission of SU feedback in an HE TB sounding sequence.
uint32_t: 1
Whether to disable support the transmission of partial-bandwidth MU feedback in an HE TB sounding sequence.
uint32_t: 1
Whether to disable support the transmission of CQI feedback in an HE TB sounding sequence.
uint32_t: 22
Reserved for future feature set.

References

from examples