Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
wifi_connect_req_params Struct Reference

Wi-Fi connect request parameters. More...

#include <wifi_mgmt.h>

Data Fields

const uint8_tssid
 SSID.
 
uint8_t ssid_length
 SSID length.
 
const uint8_tpsk
 Pre-shared key.
 
uint8_t psk_length
 Pre-shared key length.
 
const uint8_tsae_password
 SAE password (same as PSK but with no length restrictions), optional.
 
uint8_t sae_password_length
 SAE password length.
 
uint8_t band
 Frequency band.
 
uint8_t channel
 Channel.
 
enum wifi_security_type security
 Security type.
 
enum wifi_mfp_options mfp
 MFP options.
 
uint8_t bssid [WIFI_MAC_ADDR_LEN]
 BSSID.
 
int timeout
 Connect timeout in seconds, SYS_FOREVER_MS for no timeout.
 
const uint8_tanon_id
 anonymous identity
 
uint8_t aid_length
 anon_id length, max 64
 
const uint8_tkey_passwd
 Private key passwd for enterprise mode.
 
uint8_t key_passwd_length
 Private key passwd length, max 128.
 
const uint8_tkey2_passwd
 private key2 passwd
 
uint8_t key2_passwd_length
 key2 passwd length, max 128
 
uint8_t suiteb_type
 suiteb or suiteb-192
 
uint8_t TLS_cipher
 TLS cipher.
 
int eap_ver
 eap version
 
const uint8_teap_identity
 Identity for EAP.
 
uint8_t eap_id_length
 eap identity length, max 64
 
const uint8_teap_password
 Password string for EAP.
 
uint8_t eap_passwd_length
 eap passwd length, max 128
 
bool ft_used
 Fast BSS Transition used.
 
int nusers
 Number of EAP users.
 
uint8_t passwds
 Number of EAP passwds.
 
const uint8_tidentities [WIFI_ENT_IDENTITY_MAX_USERS]
 User Identities.
 
const uint8_tpasswords [WIFI_ENT_IDENTITY_MAX_USERS]
 User Passwords.
 
uint8_t ignore_broadcast_ssid
 Hidden SSID configure 0: disabled (default) 1: send empty (length=0) SSID in beacon and ignore probe request for broadcast SSID 2: clear SSID, but keep the original length and ignore probe request for broadcast SSID.
 
enum wifi_frequency_bandwidths bandwidth
 Parameter used for frequency band.
 

Detailed Description

Wi-Fi connect request parameters.

Field Documentation

◆ aid_length

uint8_t wifi_connect_req_params::aid_length

anon_id length, max 64

◆ anon_id

const uint8_t* wifi_connect_req_params::anon_id

anonymous identity

◆ band

uint8_t wifi_connect_req_params::band

Frequency band.

◆ bandwidth

enum wifi_frequency_bandwidths wifi_connect_req_params::bandwidth

Parameter used for frequency band.

◆ bssid

uint8_t wifi_connect_req_params::bssid[WIFI_MAC_ADDR_LEN]

BSSID.

◆ channel

uint8_t wifi_connect_req_params::channel

Channel.

◆ eap_id_length

uint8_t wifi_connect_req_params::eap_id_length

eap identity length, max 64

◆ eap_identity

const uint8_t* wifi_connect_req_params::eap_identity

Identity for EAP.

◆ eap_passwd_length

uint8_t wifi_connect_req_params::eap_passwd_length

eap passwd length, max 128

◆ eap_password

const uint8_t* wifi_connect_req_params::eap_password

Password string for EAP.

◆ eap_ver

int wifi_connect_req_params::eap_ver

eap version

◆ ft_used

bool wifi_connect_req_params::ft_used

Fast BSS Transition used.

◆ identities

const uint8_t* wifi_connect_req_params::identities[WIFI_ENT_IDENTITY_MAX_USERS]

User Identities.

◆ ignore_broadcast_ssid

uint8_t wifi_connect_req_params::ignore_broadcast_ssid

Hidden SSID configure 0: disabled (default) 1: send empty (length=0) SSID in beacon and ignore probe request for broadcast SSID 2: clear SSID, but keep the original length and ignore probe request for broadcast SSID.

◆ key2_passwd

const uint8_t* wifi_connect_req_params::key2_passwd

private key2 passwd

◆ key2_passwd_length

uint8_t wifi_connect_req_params::key2_passwd_length

key2 passwd length, max 128

◆ key_passwd

const uint8_t* wifi_connect_req_params::key_passwd

Private key passwd for enterprise mode.

◆ key_passwd_length

uint8_t wifi_connect_req_params::key_passwd_length

Private key passwd length, max 128.

◆ mfp

enum wifi_mfp_options wifi_connect_req_params::mfp

MFP options.

◆ nusers

int wifi_connect_req_params::nusers

Number of EAP users.

◆ passwds

uint8_t wifi_connect_req_params::passwds

Number of EAP passwds.

◆ passwords

const uint8_t* wifi_connect_req_params::passwords[WIFI_ENT_IDENTITY_MAX_USERS]

User Passwords.

◆ psk

const uint8_t* wifi_connect_req_params::psk

Pre-shared key.

◆ psk_length

uint8_t wifi_connect_req_params::psk_length

Pre-shared key length.

◆ sae_password

const uint8_t* wifi_connect_req_params::sae_password

SAE password (same as PSK but with no length restrictions), optional.

◆ sae_password_length

uint8_t wifi_connect_req_params::sae_password_length

SAE password length.

◆ security

enum wifi_security_type wifi_connect_req_params::security

Security type.

◆ ssid

const uint8_t* wifi_connect_req_params::ssid

SSID.

◆ ssid_length

uint8_t wifi_connect_req_params::ssid_length

SSID length.

◆ suiteb_type

uint8_t wifi_connect_req_params::suiteb_type

suiteb or suiteb-192

◆ timeout

int wifi_connect_req_params::timeout

Connect timeout in seconds, SYS_FOREVER_MS for no timeout.

◆ TLS_cipher

uint8_t wifi_connect_req_params::TLS_cipher

TLS cipher.


The documentation for this struct was generated from the following file: