Wi-Fi Client interface advance configuration.
Public Attributes#
< - BIT[0] of OKC is used to enable or disable opportunistic key caching (OKC), –0 – disable –1 – enable – When this is enabled, module will use cached PMKID to get MSK(Master Session Key) which is need for generating PMK which is needed for 4-way handshake.
Maximum number of retries before indicating join failure.
Scan interval between each retry.
Number of missed beacons that will trigger rejoin.
Retry enable or disable for first time joining.
Public Attribute Documentation#
eap_flags#
uint32_t sl_wifi_advanced_client_configuration_t::eap_flags
< - BIT[0] of OKC is used to enable or disable opportunistic key caching (OKC), –0 – disable –1 – enable – When this is enabled, module will use cached PMKID to get MSK(Master Session Key) which is need for generating PMK which is needed for 4-way handshake.
BIT[1] of OKC is used to enable or disable CA certification for PEAP connection. –0 – CA certificate is not required. –1 – CA certificate is required.
BIT[2-12] of OKC argument are used for Cipher list selection for EAP connection. All possible ciphers are listed below.
BIT position
Cipher selected
2
DHE-RSA-AES256-SHA256
3
DHE-RSA-AES128-SHA256
4
DHE-RSA-AES256-SHA
5
DHE-RSA-AES128-SHA
6
AES256-SHA256
7
AES128-SHA256
8
AES256-SHA
9
AES128-SHA
10
RC4-SHA
11
DES-CBC3-SHA
12
RC4-MD5
BIT[13-31] of OKC argument is reserved.
Note
When user sets BIT[1] and does not provide the CA certificate for PEAP connection then error is thrown. If user provides invalid CA certificate then also error is thrown. User can set either one or multiple bits from BIT[2-12] to provide the cipher's list. When user does not provide any value in OKC's BIT[2-12] then by default all the ciphers are selected. EAP Flags
143
of file components/protocol/wifi/inc/sl_wifi_types.h
max_retry_attempts#
uint32_t sl_wifi_advanced_client_configuration_t::max_retry_attempts
Maximum number of retries before indicating join failure.
144
of file components/protocol/wifi/inc/sl_wifi_types.h
scan_interval#
uint32_t sl_wifi_advanced_client_configuration_t::scan_interval
Scan interval between each retry.
145
of file components/protocol/wifi/inc/sl_wifi_types.h
beacon_missed_count#
uint32_t sl_wifi_advanced_client_configuration_t::beacon_missed_count
Number of missed beacons that will trigger rejoin.
146
of file components/protocol/wifi/inc/sl_wifi_types.h
first_time_retry_enable#
uint32_t sl_wifi_advanced_client_configuration_t::first_time_retry_enable
Retry enable or disable for first time joining.
147
of file components/protocol/wifi/inc/sl_wifi_types.h