wl12xx: Add support to RX packets payload alignment
authorShahar Levi <shahar_levi@ti.com>
Thu, 14 Jul 2011 08:50:27 +0000 (11:50 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 12 Aug 2011 06:22:49 +0000 (09:22 +0300)
commit0a1d3abcc43231e341b6890b873dc27cba848218
tree2b124bbeaf8f32d9ea13489ab917aa38cef16248
parentf612cedfe152b536197c0120f2e7779bc90219d0
wl12xx: Add support to RX packets payload alignment

In case of QoS packets the packet payload isn't aligned to
4 bytes. In that case the mac80211 layer take care of that
via memmove() in ieee80211_deliver_skb().
Add support of copy packets from aggregation buffer to the
skbs with packet payload aligned care. In case of QoS packets
copy the packets in offset of 2 bytes guarantee payload aligned
to 4 bytes.

Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/rx.c
drivers/net/wireless/wl12xx/rx.h