'\" t .\" Title: ieee80211_rx .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The basic mac80211 driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_RX" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The basic mac80211 driver inte" .\" ----------------------------------------------------------------- .\" * 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" ieee80211_rx \- receive frame .SH "SYNOPSIS" .HP \w'void\ ieee80211_rx('u .BI "void ieee80211_rx(struct\ ieee80211_hw\ *\ " "hw" ", struct\ sk_buff\ *\ " "skb" ");" .SH "ARGUMENTS" .PP \fIhw\fR .RS 4 the hardware this frame came in on .RE .PP \fIskb\fR .RS 4 the buffer to receive, owned by mac80211 after this call .RE .SH "DESCRIPTION" .PP .PP Use this function to hand received frames to mac80211\&. The receive buffer in \fIskb\fR must start with an IEEE 802\&.11 header\&. In case of a paged \fIskb\fR is used, the driver is recommended to put the ieee80211 header of the frame on the linear part of the \fIskb\fR to avoid memory allocation and/or memcpy by the stack\&. .PP This function may not be called in IRQ context\&. Calls to this function for a single hardware must be synchronized against each other\&. Calls to this function, \fBieee80211_rx_ni\fR and \fBieee80211_rx_irqsafe\fR may not be mixed for a single hardware\&. Must not run concurrently with \fBieee80211_tx_status\fR or \fBieee80211_tx_status_ni\fR\&. .PP In process context use instead \fBieee80211_rx_ni\fR\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br