aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/winbond/mlmetxrx.c
Commit message (Collapse)AuthorAgeFilesLines
* staging: w35und: Inline MLMESendFrame() to wbsoft_tx()Pekka Enberg2010-09-211-25/+0
| | | | | | | | | | | The wbsoft_tx() function is a simple wrapper on top of MLMESendFrame() so inline the latter to the former. Cc: Lars Lindley <lindley@coyote.org> Cc: Pavel Machek <pavel@ucw.cz> Cc: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: w35und: Use NETDEV_TX_BUSY if MLMESendFrame failsPekka Enberg2010-09-211-7/+6
| | | | | | | | | | | | This patch changes MLMESendFrame to return NETDEV_TX_BUSY if MLME frame is in use so that wbsoft_tx() doesn't blindly return NETDEV_TX_OK in that case. Cc: Sandro Bonazzola <sandro.bonazzola@gmail.com> Cc: Lars Lindley <lindley@coyote.org> Cc: Pavel Machek <pavel@ucw.cz> Cc: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: w35und: Remove remaining typedef declarationsPekka Enberg2010-09-211-5/+0
| | | | | | | | | | | This patch removes remaining typedef declarations from the w35und driver. Most of them were unused so I just killed them off completely. Cc: Lars Lindley <lindley@coyote.org> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Pekka Enberg <penberg@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: winbond: fix brace, comments and space coding style issue in mlmetxrx.cRuslan Pisarev2010-05-111-31/+31
| | | | | | | | | This is a patch to the mlmetxrx.c file that fixed up a brace, comments and space Errors found by the checkpatch.pl tool. Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: Convert typedef DESCRIPTOR to struct wb35_descriptorPekka Enberg2009-09-151-1/+1
| | | | | | Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove unnecessary os_common.h header filePekka Enberg2009-04-031-1/+1
| | | | | | | | | | Convert code to include sysdef.h directly and remove unnecessary os_common.h header file. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: make functions local to mlmetxrx.c staticPekka Enberg2009-01-061-54/+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>
* Staging: w35und: merge struct wb35_adapter to struct wbsoft_privPekka Enberg2009-01-061-6/+6
| | | | | | | | | | This patch merges struct wb35_adapter to struct wbsoft_priv. Now we can finally start passing a pointer to struct ieee80211_hw around where necessary. 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>
* Staging: w35und: #include cleanupPekka Enberg2009-01-061-0/+2
| | | | | | | | | | This patch moves #includes from sysdef.h and common.h to the files which actually need them. This makes the dependencies less complex and allows us to move code around much easily. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
* Staging: w35und: remove macro magic from MLME_GetNextPacket()Pekka Enberg2009-01-061-14/+8
| | | | | | | | | | This removes the macro magic from MLME_GetNextPacket() to de-obfuscate the code. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove true/false boolean macrosPekka Enberg2009-01-061-8/+8
| | | | | | | | | | Use the kernel built-in true and false boolean values instead of duplicating them in the driver code. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: padapter struct typedef removalPekka Enberg2009-01-061-36/+36
| | | | | | | | | | Remove the PADAPTER typedef and its strange variants. Also fix up variable names that use the type while we're at it. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove some typedefsPekka Enberg2008-10-221-2/+2
| | | | | | | | | This patch removes some obfuscating typedefs from the driver code. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add w35und wifi driverPavel Machek2008-10-101-0/+150
This is driver for w35und usb wifi -- also in kohjinsha subnotebook. It should work well enough to associate and ping, but it obviously needs to be rewritten two more times... OTOH worst horrors (like embedded wifi stack) should have been fixed already... Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>