diff options
author | Zhu Yi <yi.zhu@intel.com> | 2010-03-29 05:35:07 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-31 14:39:34 -0400 |
commit | e3cf8b3f7b9eefbe1d39b160726d6e5c2cbb4c5d (patch) | |
tree | c59a6fcb8d0bcd88d848785a3dbe3978d1568274 /include/net/mac80211.h | |
parent | e58b1253f1e850b4469964d7b92cf230196223c0 (diff) |
mac80211: support paged rx SKBs
Mac80211 drivers can now pass paged SKBs to mac80211 via
ieee80211_rx{_irqsafe}. The implementation currently use
skb_linearize() in a few places i.e. management frame
handling, software decryption, defragmentation and A-MSDU
process. We will optimize them one by one later.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Cc: Kalle Valo <kalle.valo@iki.fi>
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 1a8f50af49a0..ecaae10426f9 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1822,7 +1822,10 @@ void ieee80211_restart_hw(struct ieee80211_hw *hw); | |||
1822 | * ieee80211_rx - receive frame | 1822 | * ieee80211_rx - receive frame |
1823 | * | 1823 | * |
1824 | * Use this function to hand received frames to mac80211. The receive | 1824 | * Use this function to hand received frames to mac80211. The receive |
1825 | * buffer in @skb must start with an IEEE 802.11 header. | 1825 | * buffer in @skb must start with an IEEE 802.11 header. In case of a |
1826 | * paged @skb is used, the driver is recommended to put the ieee80211 | ||
1827 | * header of the frame on the linear part of the @skb to avoid memory | ||
1828 | * allocation and/or memcpy by the stack. | ||
1826 | * | 1829 | * |
1827 | * This function may not be called in IRQ context. Calls to this function | 1830 | * This function may not be called in IRQ context. Calls to this function |
1828 | * for a single hardware must be synchronized against each other. Calls to | 1831 | * for a single hardware must be synchronized against each other. Calls to |