'\" t .\" Title: struct cfg80211_connect_params .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Actions and configuration .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT CFG80211_CONN" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Actions and configuration" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" struct_cfg80211_connect_params \- Connection parameters .SH "SYNOPSIS" .sp .nf 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; }; .fi .SH "MEMBERS" .PP channel .RS 4 The channel to use or \fBNULL\fR if not specified (auto\-select based on scan results) .RE .PP channel_hint .RS 4 The channel of the recommended BSS for initial connection or \fBNULL\fR if not specified .RE .PP bssid .RS 4 The AP BSSID or \fBNULL\fR if not specified (auto\-select based on scan results) .RE .PP bssid_hint .RS 4 The recommended AP BSSID for initial connection to the BSS or \fBNULL\fR if not specified\&. Unlike the \fIbssid\fR parameter, the driver is allowed to ignore this \fIbssid_hint\fR if it has knowledge of a better BSS to use\&. .RE .PP ssid .RS 4 SSID .RE .PP ssid_len .RS 4 Length of ssid in octets .RE .PP auth_type .RS 4 Authentication type (algorithm) .RE .PP ie .RS 4 IEs for association request .RE .PP ie_len .RS 4 Length of assoc_ie in octets .RE .PP privacy .RS 4 indicates whether privacy\-enabled APs should be used .RE .PP mfp .RS 4 indicate whether management frame protection is used .RE .PP crypto .RS 4 crypto settings .RE .PP key .RS 4 WEP key for shared key authentication .RE .PP key_len .RS 4 length of WEP key for shared key authentication .RE .PP key_idx .RS 4 index of WEP key for shared key authentication .RE .PP flags .RS 4 See enum cfg80211_assoc_req_flags .RE .PP bg_scan_period .RS 4 Background scan period in seconds or \-1 to indicate that default value is to be used\&. .RE .PP ht_capa .RS 4 HT Capabilities over\-rides\&. Values set in ht_capa_mask will be used in ht_capa\&. Un\-supported values will be ignored\&. .RE .PP ht_capa_mask .RS 4 The bits of ht_capa which are to be used\&. .RE .PP vht_capa .RS 4 VHT Capability overrides .RE .PP vht_capa_mask .RS 4 The bits of vht_capa which are to be used\&. .RE .PP pbss .RS 4 if set, connect to a PCP instead of AP\&. Valid for DMG networks\&. .RE .PP bss_select .RS 4 criteria to be used for BSS selection\&. .RE .PP prev_bssid .RS 4 previous BSSID, if not \fBNULL\fR 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\&. .RE .SH "DESCRIPTION" .PP .PP This structure provides information needed to complete IEEE 802\&.11 authentication and association\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br