1
linux/drivers/staging/wlan-ng
Richard Kennedy 51b2a02869 Staging: wlan-ng: refactor p80211wext.c to reduce text size.
Refactor the wext interface to reduce lines of code & module text size.

- add a helper function p80211wext_getmib
- rename p80211wext_dorequest to p80211wext_setmib
- refactor wext to call the get/set mib helpers and so reduce repeated code.

size reported text reduction :-
   text	   data	    bss	    dec	    hex	filename
   8343	    720	      0	   9063	   2367	p80211wext.o.patch
   9907	    720	      0	  10631	   2987	p80211wext.o.orig

Tested on x86_32 laptop, everything works correctly using NetworkManager,
and iwconfig & iwlist return sensible results when reading from the card.

Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-11 11:35:50 -07:00
..
hfa384x_usb.c Staging: wlan-ng: rework code style after feedback 2010-05-11 11:35:50 -07:00
hfa384x.h Staging: Merge two branches of coding style fixes together 2010-03-04 08:14:54 -08:00
Kconfig
Makefile
p80211conv.c Staging: wlan-ng: fix spaces coding style issue in p80211conv.c 2010-05-11 11:35:50 -07:00
p80211conv.h Staging: wlan-ng - checkpatch.pl fixups 2010-03-04 07:59:02 -08:00
p80211hdr.h
p80211ioctl.h
p80211meta.h
p80211metadef.h Staging: wlan-ng - checkpatch.pl fixups 2010-03-04 07:59:02 -08:00
p80211metastruct.h
p80211mgmt.h Staging: wlan-ng - checkpatch.pl fixups 2010-03-04 07:59:02 -08:00
p80211msg.h
p80211netdev.c Staging: wlan-ng: More checkpatch.pl error cleanups 2010-03-04 07:59:02 -08:00
p80211netdev.h Staging: wlan-ng - checkpatch.pl fixups 2010-03-04 07:59:02 -08:00
p80211req.c Staging: wlan-ng: Fixed 80-character line coding style issues in p80211req.c 2010-05-11 11:35:35 -07:00
p80211req.h Staging: wlan-ng - checkpatch.pl fixups 2010-03-04 07:59:02 -08:00
p80211types.h Staging: wlan-ng - checkpatch.pl fixups 2010-03-04 07:59:02 -08:00
p80211wep.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
p80211wext.c Staging: wlan-ng: refactor p80211wext.c to reduce text size. 2010-05-11 11:35:50 -07:00
prism2fw.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
prism2mgmt.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
prism2mgmt.h Staging: wlan-ng - checkpatch.pl fixups 2010-03-04 07:59:02 -08:00
prism2mib.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
prism2sta.c Staging: Merge two branches of coding style fixes together 2010-03-04 08:14:54 -08:00
prism2usb.c
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.