rt2x00: trim skb_frame_desc to 32 bytes
authorIvo van Doorn <ivdoorn@gmail.com>
Sat, 10 May 2008 11:41:32 +0000 (13:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2008 01:47:30 +0000 (21:47 -0400)
commit5a6e59991b82580c3ca00115603b85762ec76104
treeb466507f3c2044127712ba4a082d18255103e57e
parent5b06c85c3b96fa8db632f1ee94f99a2bd0215f3a
rt2x00: trim skb_frame_desc to 32 bytes

Remove frame_type from skb_frame_desc and pass it
as argument to rt2x00debug_dump_frame().

Change data_len and desc_len to unsigned short
to save another 4 bytes in skb_frame_desc. Note that
this was the only location where the data_len and
desc_len was not yet treated as unsigned short.

This trim is required to help mac80211 with adding
the TX control and TX status informtation into the
skb->cb structure. When that happens, drivers will
have approximately 40 bytes left to use freely.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00debug.c
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rt2x00/rt2x00lib.h
drivers/net/wireless/rt2x00/rt2x00queue.h