'\" t
.\"     Title: ieee80211_data_from_8023
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: May 2018
.\"    Manual: Data path helpers
.\"    Source: Kernel Hackers Manual 3.16.56
.\"  Language: English
.\"
.TH "IEEE80211_DATA_FROM_" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Data path helpers"
.\" -----------------------------------------------------------------
.\" * 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_data_from_8023 \- convert an 802\&.3 frame to 802\&.11
.SH "SYNOPSIS"
.HP \w'int\ ieee80211_data_from_8023('u
.BI "int ieee80211_data_from_8023(struct\ sk_buff\ *\ " "skb" ", const\ u8\ *\ " "addr" ", enum\ nl80211_iftype\ " "iftype" ", const\ u8\ *\ " "bssid" ", bool\ " "qos" ");"
.SH "ARGUMENTS"
.PP
\fIskb\fR
.RS 4
the 802\&.3 frame
.RE
.PP
\fIaddr\fR
.RS 4
the device MAC address
.RE
.PP
\fIiftype\fR
.RS 4
the virtual interface type
.RE
.PP
\fIbssid\fR
.RS 4
the network bssid (used only for iftype STATION and ADHOC)
.RE
.PP
\fIqos\fR
.RS 4
build 802\&.11 QoS data frame
.RE
.SH "RETURN"
.PP
0 on success, or a negative error code\&.
.SH "AUTHOR"
.PP
\fBJohannes Berg\fR <\&johannes@sipsolutions.net\&>
.RS 4
Author.
.RE
.SH "COPYRIGHT"
.br
