]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: correctly place aMPDU RX reorder code
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 25 Nov 2009 16:46:17 +0000 (17:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Nov 2009 20:05:02 +0000 (15:05 -0500)
commit75df0295b6580addd7bdef2a469ac22296df76ed
treeea4448779b95893276d91dc0c84946fecef92a27
parent88116cc3c8939f20f9eaae31afa5adbd0ea42c58
mac80211: correctly place aMPDU RX reorder code

As indicated by the comment, the aMPDU RX reorder code
should logically be after ieee80211_rx_h_check(). The
previous patch moved the code there, and this patch now
hooks it up in that place by introducing a list of skbs
that are then processed by the remaining handlers. The
list may be empty if the function is buffering the skb
to release it later.

The only change needed to the RX data is that the crypto
handler needs to clear the key that may be set from a
previous loop iteration, and that not everything can be
in the rx flags now.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/rx.c