IEEE80211_RX(9) | The basic mac80211 driver inte | IEEE80211_RX(9) |
NAME¶
ieee80211_rx - receive frame
SYNOPSIS¶
void ieee80211_rx(struct ieee80211_hw * hw, struct sk_buff * skb);
ARGUMENTS¶
hw
skb
DESCRIPTION¶
Use this function to hand received frames to mac80211. The receive buffer in skb must start with an IEEE 802.11 header. In case of a paged skb is used, the driver is recommended to put the ieee80211 header of the frame on the linear part of the skb to avoid memory allocation and/or memcpy by the stack.
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, ieee80211_rx_ni and ieee80211_rx_irqsafe may not be mixed for a single hardware. Must not run concurrently with ieee80211_tx_status or ieee80211_tx_status_ni.
In process context use instead ieee80211_rx_ni.
AUTHOR¶
Johannes Berg <johannes@sipsolutions.net>
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |