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
..
Kconfig
Makefile
README
hfa384x.h
hfa384x_usb.c Staging: wlan-ng: rework code style after feedback 2010-05-11 11:35:50 -07:00
p80211conv.c Staging: wlan-ng: fix spaces coding style issue in p80211conv.c 2010-05-11 11:35:50 -07:00
p80211conv.h
p80211hdr.h
p80211ioctl.h
p80211meta.h
p80211metadef.h
p80211metastruct.h
p80211mgmt.h
p80211msg.h
p80211netdev.c
p80211netdev.h
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
p80211types.h
p80211wep.c
p80211wext.c Staging: wlan-ng: refactor p80211wext.c to reduce text size. 2010-05-11 11:35:50 -07:00
prism2fw.c
prism2mgmt.c
prism2mgmt.h
prism2mib.c
prism2sta.c
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.