Name

ieee80211_rx — receive frame

Synopsis

void ieee80211_rx (struct ieee80211_hw * hw,
 struct sk_buff * skb);
 

Arguments

hw

the hardware this frame came in on

skb

the buffer to receive, owned by mac80211 after this call

Description

Use this function to hand received frames to mac80211. The receive buffer in skb must start with an IEEE 802.11 header or a radiotap header if RX_FLAG_RADIOTAP is set in the status flags.

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 and ieee80211_rx_irqsafe may not be mixed for a single hardware.

Note that right now, this function must be called with softirqs disabled.