'\" t .\" Title: cfg80211_rx_mgmt .\" 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_RX_MGMT" "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_rx_mgmt \- notification of received, unprocessed management frame .SH "SYNOPSIS" .HP \w'bool\ cfg80211_rx_mgmt('u .BI "bool cfg80211_rx_mgmt(struct\ wireless_dev\ *\ " "wdev" ", int\ " "freq" ", int\ " "sig_dbm" ", const\ u8\ *\ " "buf" ", size_t\ " "len" ", u32\ " "flags" ");" .SH "ARGUMENTS" .PP \fIwdev\fR .RS 4 wireless device receiving the frame .RE .PP \fIfreq\fR .RS 4 Frequency on which the frame was received in MHz .RE .PP \fIsig_dbm\fR .RS 4 signal strength in mBm, or 0 if unknown .RE .PP \fIbuf\fR .RS 4 Management frame (header + body) .RE .PP \fIlen\fR .RS 4 length of the frame data .RE .PP \fIflags\fR .RS 4 flags, as defined in enum nl80211_rxmgmt_flags .RE .SH "DESCRIPTION" .PP This function is called whenever an Action frame is received for a station mode interface, but is not processed in kernel\&. .SH "RETURN" .PP \fBtrue\fR if a user space application has registered for this frame\&. For action frames, that makes it responsible for rejecting unrecognized action frames; \fBfalse\fR otherwise, in which case for action frames the driver is responsible for rejecting the frame\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br