'\" t .\" Title: cfg80211_connect_bss .\" 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 "CFG80211_CONNECT_BSS" "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" cfg80211_connect_bss \- notify cfg80211 of connection result .SH "SYNOPSIS" .HP \w'void\ cfg80211_connect_bss('u .BI "void cfg80211_connect_bss(struct\ net_device\ *\ " "dev" ", const\ u8\ *\ " "bssid" ", struct\ cfg80211_bss\ *\ " "bss" ", const\ u8\ *\ " "req_ie" ", size_t\ " "req_ie_len" ", const\ u8\ *\ " "resp_ie" ", size_t\ " "resp_ie_len" ", int\ " "status" ", gfp_t\ " "gfp" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 network device .RE .PP \fIbssid\fR .RS 4 the BSSID of the AP .RE .PP \fIbss\fR .RS 4 entry of bss to which STA got connected to, can be obtained through cfg80211_get_bss (may be \fBNULL\fR) .RE .PP \fIreq_ie\fR .RS 4 association request IEs (maybe be \fBNULL\fR) .RE .PP \fIreq_ie_len\fR .RS 4 association request IEs length .RE .PP \fIresp_ie\fR .RS 4 association response IEs (may be \fBNULL\fR) .RE .PP \fIresp_ie_len\fR .RS 4 assoc response IEs length .RE .PP \fIstatus\fR .RS 4 status code, 0 for successful connection, use \fBWLAN_STATUS_UNSPECIFIED_FAILURE\fR if your device cannot give you the real status code for failures\&. .RE .PP \fIgfp\fR .RS 4 allocation flags .RE .SH "DESCRIPTION" .PP It should be called by the underlying driver whenever \fBconnect\fR has succeeded\&. This is similar to \fBcfg80211_connect_result\fR, but with the option of identifying the exact bss entry for the connection\&. Only one of these functions should be called\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br