---
name: "ieee80211_data_from_8023"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ieee80211_data_from_8023"
---

# ieee80211\_data\_from\_8023(9)

convert an 802.3 frame to 802.11

## NAME

ieee80211\_data\_from\_8023 - convert an 802.3 frame to 802.11

## SYNOPSIS

**int ieee80211\_data\_from\_8023(struct sk\_buff \*** *skb***, const u8 \*** *addr***, enum nl80211\_iftype** *iftype***, const u8 \*** *bssid***, bool** *qos***);**

## ARGUMENTS

*skb*

the 802.3 frame

*addr*

the device MAC address

*iftype*

the virtual interface type

*bssid*

the network bssid (used only for iftype STATION and ADHOC)

*qos*

build 802.11 QoS data frame

## RETURN

0 on success, or a negative error code.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
