'\" t .\" Title: cfg80211_disconnected .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Actions and configuration .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CFG80211_DISCONNECTE" "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_disconnected \- notify cfg80211 that connection was dropped .SH "SYNOPSIS" .HP \w'void\ cfg80211_disconnected('u .BI "void cfg80211_disconnected(struct\ net_device\ *\ " "dev" ", u16\ " "reason" ", const\ u8\ *\ " "ie" ", size_t\ " "ie_len" ", bool\ " "locally_generated" ", gfp_t\ " "gfp" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 network device .RE .PP \fIreason\fR .RS 4 reason code for the disconnection, set it to 0 if unknown .RE .PP \fIie\fR .RS 4 information elements of the deauth/disassoc frame (may be \fBNULL\fR) .RE .PP \fIie_len\fR .RS 4 length of IEs .RE .PP \fIlocally_generated\fR .RS 4 disconnection was requested locally .RE .PP \fIgfp\fR .RS 4 allocation flags .RE .SH "DESCRIPTION" .PP After it calls this function, the driver should enter an idle state and not try to connect to any AP any more\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br