summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-07Staging: poch: Block size bug fixVijay Kumar1-1/+4
Block size is to be expressed in no. of 64 bit transfers. But the code specifies the block size in bytes. Fix this issue. Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: at76_usb: cleanup dma on stack issuesOliver Neukum1-7/+19
- no DMA on stack - cleanup unclear endianness issue Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: at76_usb: fix up all remaining checkpatch.pl warningsGreg Kroah-Hartman1-82/+94
It's now a "clean" driver. Cc: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: at76_usb: remove compiler warningsGreg Kroah-Hartman1-54/+0
3 functions are now not used, remove them. Cc: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: at76_usb: fix build breakageGreg Kroah-Hartman1-5/+4
The previous patch broke the at76_usb driver due to some other wireless core api changes. This patch fixes the driver to build properly again. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: at76_usb: update drivers/staging/at76_usb w/ mac80211 portJohn W. Linville3-3817/+947
This updates drivers/staging/at76_usb to correspond with the latest version previously available in wireless-testing. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: skb_p80211_to_ether() - payload_length is unsigned, check ↵Roel Kluin1-2/+2
before subtraction payload_length is unsigned, check before subtraction Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
2009-01-07Staging: wlan-ng: fix compiler warningsGreg Kroah-Hartman2-2/+0
This fixes some compiler warnings in teh wlan-ng driver. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: p80211wext.c: use ARRAY_SIZEJulia Lawall1-2/+2
ARRAY_SIZE is more concise to use when the size of an array is divided by the size of its type or the size of its first element. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @i@ @@ #include <linux/kernel.h> @depends on i using "paren.iso"@ type T; T[] E; @@ - (sizeof(E)/sizeof(E[...])) + ARRAY_SIZE(E) @depends on i using "paren.iso"@ type T; T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: remove unused #include <version.h>Huang Weiyi4-4/+0
The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION. drivers/staging/wlan-ng/p80211conv.c drivers/staging/wlan-ng/p80211req.c drivers/staging/wlan-ng/p80211wext.c drivers/staging/wlan-ng/prism2mgmt.c This patch removes the said #include <version.h>. Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: p80211conv.c copy code from wlan-ng-devel branch to not ↵Richard Kennedy1-1/+48
drop packets allow card to correctly receive network packets, without this change all incoming packets are dropped. code copied from the latest wlan-ng-devel tree. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: hfa384x_usbin_callback: check for hardware removedRichard Kennedy1-1/+1
hfa384x_usbin_callback: check for hardware removed copied from latest wlan-ng-devel version Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: p80211wext don't set default key id twiceRichard Kennedy1-7/+0
p80211wext don't set default key id twice another change from wlan-ng-devel Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: p80211wext.c add latest changes & remove extra nulls from ↵Richard Kennedy1-13/+26
wext_handlers add the latest changes from wlan-ng-devel remove 2 stray nulls from the wext_handler table introduced by the tidy up patch. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: hfa384x_usb.c use newest version of 384x_drvr_startRichard Kennedy1-11/+53
include the needed fixes from Karl Relton <karllinuxtest.relton@ntlworld.com> see thread on linux-wlan-devel mailing list "Possible cause of those pesky hfa384x_usbctlx_complete_sync errors" Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Cc: Karl Relton <karllinuxtest.relton@ntlworld.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: prism2_usb.c always enable the card in probe_usbRichard Kennedy1-5/+9
always enable card in probe_usb & update register_wlandev to match latest wlan-ng-dev tree. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: p80211netdev.c fix netdev alloc to prevent oops on device ↵Richard Kennedy1-12/+4
start a version of this patch is in the wlan-ng_devel tree initializes netdev correctly to prevent an oops on device start. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Purge all MIBs not used internally.Solomon Peachy4-1979/+11
The next step is to bypass the MIB calling mechanism altogether and just invoke the hardware directly where needed, but at least now the list has been paired down considerably. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Consolidate wlan-ng into a single module.Solomon Peachy6-247/+15
There's no point in having a separate 'p80211' module, as nobody else is ever going to use it. Push everyting into a single module, and get rid of all exports. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Delete a pile of unused mibs. And fix WEXT SET_TXPOWER.Solomon Peachy3-491/+9
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Delete a large pile of now-unused code.Solomon Peachy12-2097/+13
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: use WIRELESS_EXT, not CONFIG_WIRELESS_EXTSolomon Peachy1-1/+1
Kconfig doesn't work with variables starting with CONFIG_ Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Wireless Extension support is mandatory.Solomon Peachy4-15/+1
So take away the option to disable it. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Eliminate all backwards-compatible kernel code.Solomon Peachy4-130/+3
It's not needed at all anymore now that we are in the kernel tree. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Use standard kernel integer (u32/s32/etc) types.Solomon Peachy24-1953/+1926
wlan-ng needed to interact with userspace, and support very old kernels, so it used to define its own types for integers to ensure consistency. It's all rather irrelevant now. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Eliminate usage of procfs.Solomon Peachy3-203/+0
These files are not needed to work properly, and don't belong in procfs Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Eliminate local 'version.h'Solomon Peachy12-77/+6
The kernel provides us with the proper version of this file. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Eliminate one more rx mtu test.Solomon Peachy1-10/+0
It also isn't needed. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Get rid of the MTU tests in the rx conversion path.Solomon Peachy1-29/+0
They are not needed. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Remove AP-only code from MLME functions.Solomon Peachy6-1131/+164
It is not needed in this driver. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Eliminate a boatload of tertiaryAP-only code.Solomon Peachy6-1270/+102
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Eliminate all backwards-compatibility for <2.6.13 kernels.Solomon Peachy6-295/+5
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Eliminate more <2.6 kernel support.Solomon Peachy6-232/+1
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Make wlan-ng use WEXT mode by default.Solomon Peachy1-1/+1
As this is the kernel default mode. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Delete PCI/PLX/PCMCIA-specific code.Solomon Peachy9-1028/+9
Also delete a large pile of code that existed to support <2.6 kernels. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Update Help text to mention prism3 devices.Solomon Peachy1-2/+2
The driver also supports prism3 devices Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: wlan-ng: Remove PCI/PLX/PCMCIA files.Solomon Peachy5-6310/+0
This portion of the driver is not needed at all, so remove it. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: fix config build warningsGreg Kroah-Hartman1-2/+3
the wireless config function has changed with commit e8975581f63870be42ff4662b293d1b0c8c21350 so fix up the wbusb driver to work properly with that change. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: fix KconfigPavel Machek1-4/+8
4KSTACK dependency was needed when driver carried its own softmac layer. That layer is gone, and functions have reasonably small stack footprint -> dependency can be removed. Add better description of hardware this driver is targetted at (now with fixed whitespace) Signed-off-by: Pavel Machek <pavel@suse.cz> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: remove rxisr.c as dead codePekka Enberg6-42/+0
The vRxTimerStart() function is never called nor does the timer do anything useful so remove the code. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: remove dead code from wbhal.cPekka Enberg2-332/+1
Remove tons of unused code from wbhal.c. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: make functions local to wb35tx.c staticPekka Enberg2-109/+95
While there are no functional changes, the diff is quite large because we need to shuffle code around to avoid forward declarations. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: make functions local to wb35rx.c staticPekka Enberg2-218/+213
While there are no functional changes, the diff is quite large because we need to shuffle code around to avoid forward declarations. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: remove dead code from mto.cPekka Enberg2-648/+2
Remove lots of code that's never used. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: make functions local to mlmetxrx.c staticPekka Enberg2-63/+1
Convert functions that don't have external references to static and remove the ones that are not used at all. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: make functions local to mds.c staticPekka Enberg2-412/+391
The functions have no external references so make them static after shuffling the code around a bit to avoid forward declarations. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
2009-01-07Staging: w35und: remove ->shutdown from struct wbsoft_privPekka Enberg6-41/+1
It's not actually used for anything, so remove it. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: remove ->skb_array from struct wbsoft_privPekka Enberg2-19/+0
It's not actually used for anything, so remove it. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: move packet_came() to wb35rx.cPekka Enberg2-30/+27
The function no longer has dependencies to wbusb.c so we can move it to wb35rx.c and make it static now. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: w35und: move global wbsoft_enabled to struct wbsoft_privPekka Enberg2-5/+8
This is a preparational step for moving packet_came() to wb35rx.c(). Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>