p54: enhance firmware parser to reduce memory waste
authorChristian Lamparter <chunkeey@web.de>
Mon, 1 Sep 2008 20:48:41 +0000 (22:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Sep 2008 20:17:47 +0000 (16:17 -0400)
commit4e416a6f49b710bfe162f0cb24bc68c74493d2a0
tree76e4a5e4a7e1cd65b142d841e5134404f970a99d
parent0c25970dc1b0d46f2357e7c4b267ab7b93eb7cdd
p54: enhance firmware parser to reduce memory waste

This patch greatly reduces one of biggest memory waste in the driver.

The firmware headers provides the right values for extra head-/tailroom
and mtu size which are usually much lower than the old hardcoded ones.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54.h
drivers/net/wireless/p54/p54common.c
drivers/net/wireless/p54/p54common.h
drivers/net/wireless/p54/p54pci.c
drivers/net/wireless/p54/p54usb.c