struct cfg80211_connect_params — Connection parameters
struct cfg80211_connect_params { struct ieee80211_channel * channel; struct ieee80211_channel * channel_hint; const u8 * bssid; const u8 * bssid_hint; const u8 * ssid; size_t ssid_len; enum nl80211_auth_type auth_type; const u8 * ie; size_t ie_len; bool privacy; enum nl80211_mfp mfp; struct cfg80211_crypto_settings crypto; const u8 * key; u8 key_len; u8 key_idx; u32 flags; int bg_scan_period; struct ieee80211_ht_cap ht_capa; struct ieee80211_ht_cap ht_capa_mask; struct ieee80211_vht_cap vht_capa; struct ieee80211_vht_cap vht_capa_mask; bool pbss; struct cfg80211_bss_selection bss_select; const u8 * prev_bssid; const u8 * fils_erp_username; size_t fils_erp_username_len; const u8 * fils_erp_realm; size_t fils_erp_realm_len; u16 fils_erp_next_seq_num; const u8 * fils_erp_rrk; size_t fils_erp_rrk_len; bool want_1x; };
The channel to use or NULL
if not specified (auto-select based
on scan results)
The channel of the recommended BSS for initial connection or
NULL
if not specified
The AP BSSID or NULL
if not specified (auto-select based on scan
results)
The recommended AP BSSID for initial connection to the BSS or
NULL
if not specified. Unlike the bssid
parameter, the driver is
allowed to ignore this bssid_hint
if it has knowledge of a better BSS
to use.
SSID
Length of ssid in octets
Authentication type (algorithm)
IEs for association request
Length of assoc_ie in octets
indicates whether privacy-enabled APs should be used
indicate whether management frame protection is used
crypto settings
WEP key for shared key authentication
length of WEP key for shared key authentication
index of WEP key for shared key authentication
See enum cfg80211_assoc_req_flags
Background scan period in seconds or -1 to indicate that default value is to be used.
HT Capabilities over-rides. Values set in ht_capa_mask will be used in ht_capa. Un-supported values will be ignored.
The bits of ht_capa which are to be used.
VHT Capability overrides
The bits of vht_capa which are to be used.
if set, connect to a PCP instead of AP. Valid for DMG networks.
criteria to be used for BSS selection.
previous BSSID, if not NULL
use reassociate frame. This is used
to indicate a request to reassociate within the ESS instead of a request
do the initial association with the ESS. When included, this is set to
the BSSID of the current association, i.e., to the value that is
included in the Current AP address field of the Reassociation Request
frame.
EAP re-authentication protocol (ERP) username part of the
NAI or NULL
if not specified. This is used to construct FILS wrapped
data IE.
Length of fils_erp_username
in octets.
EAP re-authentication protocol (ERP) realm part of NAI or
NULL
if not specified. This specifies the domain name of ER server and
is used to construct FILS wrapped data IE.
Length of fils_erp_realm
in octets.
The next sequence number to use in the FILS ERP messages. This is also used to construct FILS wrapped data IE.
ERP re-authentication Root Key (rRK) used to derive additional
keys in FILS or NULL
if not specified.
Length of fils_erp_rrk
in octets.
indicates user-space supports and wants to use 802.1X driver offload of 4-way handshake.