1IEEE80211_RX(9) The basic mac80211 driver inte IEEE80211_RX(9)
2
3
4
6 ieee80211_rx - receive frame
7
9 void ieee80211_rx(struct ieee80211_hw * hw, struct sk_buff * skb);
10
12 hw
13 the hardware this frame came in on
14
15 skb
16 the buffer to receive, owned by mac80211 after this call
17
19 Use this function to hand received frames to mac80211. The receive
20 buffer in skb must start with an IEEE 802.11 header. In case of a paged
21 skb is used, the driver is recommended to put the ieee80211 header of
22 the frame on the linear part of the skb to avoid memory allocation
23 and/or memcpy by the stack.
24
25 This function may not be called in IRQ context. Calls to this function
26 for a single hardware must be synchronized against each other. Calls to
27 this function, ieee80211_rx_ni and ieee80211_rx_irqsafe may not be
28 mixed for a single hardware. Must not run concurrently with
29 ieee80211_tx_status or ieee80211_tx_status_ni.
30
31 In process context use instead ieee80211_rx_ni.
32
34 Johannes Berg <johannes@sipsolutions.net>
35 Author.
36
38Kernel Hackers Manual 3.10 June 2019 IEEE80211_RX(9)