]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mac80211: reorder fields to make some structures smaller
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 26 Mar 2008 22:21:47 +0000 (23:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Mar 2008 20:08:07 +0000 (16:08 -0400)
commit056cdd599d004e36de64c925b8a13f6676451360
treeb7487ed554d7565ea69fd282f56e97c72565f414
parent8dd62822ddbf6a9314e9b92a3816c04490c91293
mac80211: reorder fields to make some structures smaller

This patch reorders some fields in various structures to have
less padding within the structures, making them smaller. It
doesn't yet make any type adjustments, but often size_t is used
for example for IE lengths which is total overkill since size_t
will be 8 bytes long on 64-bit yet the length can at most fill
a u8.

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