1. NAME

ieee80211_data_from_8023 - convert an 802.3 frame to 802.11

2. SYNOPSIS

int ieee80211_data_from_8023(struct sk_buff *  skb , const u8 *  addr , enum nl80211_iftype  iftype , u8 *  bssid , bool  qos );

3. 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

4. RETURN

0 on success, or a negative error code.

5. AUTHOR

Johannes Berg < >
    Author.

6. COPYRIGHT