]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: rewrite fragmentation
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 23 Mar 2009 16:28:35 +0000 (17:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:21 +0000 (20:13 -0400)
commitc7da59ea945b67fdf8ab6e9239b5b006965d8dc3
tree18b7f0127b7e1d938b41d1120803cb0af528058f
parent8cc2162ae97fe73cc6caa950bcaa9ee95748e8aa
mac80211: rewrite fragmentation

Fragmentation currently uses an allocated array to store the
fragment skbs, and then keeps track of which have been sent
and which are still pending etc. This is rather complicated;
make it simpler by just chaining the fragments into skb->next
and removing from that list when sent. Also simplifies all
code that needs to touch fragments, since it now only needs
to walk the skb->next list.

This is a prerequisite for fixing the stored packet code,
which I need to do for proper aggregation packet storing.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_i.h
net/mac80211/tx.c
net/mac80211/util.c
net/mac80211/wep.c
net/mac80211/wpa.c