This kerneldoc is updated daily based on the wireless-2.6 everything branch.

ieee80211_subif_start_xmit - netif start_xmit function for Ethernet-type

int ieee80211_subif_start_xmit (struct sk_buff * skb, struct net_device * dev)

Arguments

skb
packet to be sent
dev
incoming interface

Description

subinterfaces (wlan#, WDS, and VLAN interfaces)

Returns

0 on success (and frees skb in this case) or 1 on failure (skb will not be freed, and caller is responsible for either retrying later or freeing skb).

This function takes in an Ethernet header and encapsulates it with suitable IEEE 802.11 header based on which interface the packet is coming in. The encapsulated packet will then be passed to master interface, wlan#.11, for transmission (through low-level driver).