summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192su
Commit message (Collapse)AuthorAgeFilesLines
* staging: rtl8192su: don't use own isxdigit() methodAndy Shevchenko2010-07-221-24/+3
| | | | | Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: added ioctl[SIOCSIWPMKSA] implementationFlorian Schilhabel2010-07-223-1/+122
| | | | | | | | | errors like: ioctl[SIOCSIWPMKSA]: Invalid argument should now be gone. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: merge changes in rtl819x_HTProc.c; still incompleteFlorian Schilhabel2010-07-221-80/+29
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: merge changes into ieee80211_rx_ADDBARsp()Florian Schilhabel2010-07-221-10/+4
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: merge updated ieee80211_crypto_ops()Florian Schilhabel2010-07-224-4/+10
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: merge changes in ieee80211_tkip_data()Florian Schilhabel2010-07-221-5/+5
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: merge changes in ieee80211_authentication_req()Florian Schilhabel2010-07-222-18/+59
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: cleanup in ieee80211_softmac.cFlorian Schilhabel2010-07-221-81/+3
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl819su: merge changes in softmac_ps_mgmt_xmit()Florian Schilhabel2010-07-221-3/+13
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl819su: update MgntQuery_MgntFrameTxRate()Florian Schilhabel2010-07-221-15/+38
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl819su: update probe_rq_parse()Florian Schilhabel2010-07-221-1/+10
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl819su: ieee80211_associate_procedure_wq() updateFlorian Schilhabel2010-07-221-0/+6
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: remove a section mismatch warningFlorian Schilhabel2010-07-225-9/+9
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: merge changes in r8192U_wx.cFlorian Schilhabel2010-07-221-30/+32
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: update TODOFlorian Schilhabel2010-07-221-1/+6
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: various updatesFlorian Schilhabel2010-07-225-203/+232
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl819esu: cleanup; r8192S_Efuse.c, r8192S_Efuse.hFlorian Schilhabel2010-07-222-7/+1
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: updated r8192SU_HWImg.c, r8192SU_HWImg.hFlorian Schilhabel2010-07-222-10/+49
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: remove some unused code, cleanupFlorian Schilhabel2010-07-224-37/+0
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: more code cleanupFlorian Schilhabel2010-07-223-88/+64
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: code cleanupFlorian Schilhabel2010-07-224-44/+88
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: cleanup in ieee80211_tx.c, ieee80211_wx.cFlorian Schilhabel2010-07-222-27/+1
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: clean ieee80211_crypt.cFlorian Schilhabel2010-07-221-1/+0
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: clean dot11d.[c|h]Florian Schilhabel2010-07-222-16/+37
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: some work on dm_check_edca_turbo()Florian Schilhabel2010-07-222-16/+27
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: update r8192U.hFlorian Schilhabel2010-07-221-26/+95
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: r8192U.h, clean headerFlorian Schilhabel2010-07-221-152/+17
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: r8192S_phy.c, remove unused code; 2nd partFlorian Schilhabel2010-07-221-110/+3
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: r8192S_phy.c, remove unused codeFlorian Schilhabel2010-07-221-336/+29
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl819ssu: clean r8192S_hw.hFlorian Schilhabel2010-07-221-64/+5
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: update to r8192S_Efuse.c, r8192xU_cmdpkt.cFlorian Schilhabel2010-07-225-142/+199
| | | | | | | cosmetics, various updates to reflect realteks upstream changes. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: cosmetics in r8192S_Efuse.cFlorian Schilhabel2010-07-221-195/+42
| | | | | Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: update rtl819x_set_channel_map()Florian Schilhabel2010-07-223-50/+55
| | | | | | | This function is now on par with the latest realtek drivers. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192su: fix a compiler warningFlorian Schilhabel2010-07-221-13/+3
| | | | | | | | | | fix for: drivers/staging/rtl8192su/r8192U_core.c: In function ‘rtl8192SU_MacConfigAfterFwDownload’: drivers/staging/rtl8192su/r8192U_core.c:4403:24: warning: comparison between ‘rtl819xUsb_loopback_e’ and ‘enum _RTL8192SUSB_LOOPBACK’ drivers/staging/rtl8192su/r8192U_core.c:4405:30: warning: comparison between ‘rtl819xUsb_loopback_e’ and ‘enum _RTL8192SUSB_LOOPBACK’ Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: don't use custom hex_to_bin() implementationAndy Shevchenko2010-06-221-18/+1
| | | | | Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl81xx: Fix build problems when CONFIG_CRYPTO=nAndreas Herrmann2010-06-181-0/+1
| | | | | | | | | | | | | | | | | | | | Select CONFIG_CRYPTO for all rtl81xx wireless drivers ... to avoid build problems like: ERROR: "crypto_destroy_tfm" [drivers/staging/rtl8187se/r8187se.ko] undefined! ERROR: "crypto_alloc_base" [drivers/staging/rtl8187se/r8187se.ko] undefined! ERROR: "crypto_destroy_tfm" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined! ERROR: "crypto_alloc_base" [drivers/staging/rtl8192u/r8192u_usb.ko] undefined! ERROR: "crypto_destroy_tfm" [drivers/staging/rtl8192su/r8192s_usb.ko] undefined! ERROR: "crypto_alloc_base" [drivers/staging/rtl8192su/r8192s_usb.ko] undefined! ERROR: "crypto_destroy_tfm" [drivers/staging/rtl8192e/r8192e_pci.ko] undefined! ERROR: "crypto_alloc_base" [drivers/staging/rtl8192e/r8192e_pci.ko] undefined! when drivers are built as modules but CONFIG_CRYPTO=n. Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove all code dependent on LINUX_VERSION_CODEJiri Kosina2010-06-181-9/+0
| | | | | | | | | | | Remove all code which is dead for in-kernel driver due to being ifdefed by LINUX_VERSION_CODE. While at it, also remove surrounding code which is commented out, or '#if 1' nops. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: Fix procfs code for interfaces not named wlan0Ben Hutchings2010-06-181-3/+32
| | | | | | | | | | | | | | | | The current code creates directories in procfs named after interfaces, but doesn't handle renaming. This can result in name collisions and consequent WARNINGs. It also means that the interface name cannot reliably be used to remove the directory - in fact the current code doesn't even try, and always uses "wlan0"! Since the name of a proc_dir_entry is embedded in it, use that when removing it. Add a netdev notifier to catch interface renaming, and remove and re-add the directory at this point. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
* Staging: rtl8192su: Clean up in case of an error in module initialisationBen Hutchings2010-06-181-7/+36
| | | | | | | Currently various resources may be leaked in case of an error. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Merge staging-next tree into Linus's latest versionGreg Kroah-Hartman2010-05-2124-1584/+3526
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/staging/arlan/arlan-main.c drivers/staging/comedi/drivers/cb_das16_cs.c drivers/staging/cx25821/cx25821-alsa.c drivers/staging/dt3155/dt3155_drv.c drivers/staging/hv/hv.c drivers/staging/netwave/netwave_cs.c drivers/staging/wavelan/wavelan.c drivers/staging/wavelan/wavelan_cs.c drivers/staging/wlags49_h2/wl_cs.c This required a bit of hand merging due to the conflicts that happened in the later .34-rc releases, as well as some staging driver changing coming in through other trees (v4l and pcmcia). Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Staging: Use kmemdupJulia Lawall2010-05-172-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use kmemdup when some other buffer is immediately copied into the allocated region. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression from,to,size,flag; statement S; @@ - to = \(kmalloc\|kzalloc\)(size,flag); + to = kmemdup(from,size,flag); if (to==NULL || ...) S - memcpy(to, from, size); // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Staging: Use kcalloc or kzallocJulia Lawall2010-05-147-19/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use kcalloc or kzalloc rather than the combination of kmalloc and memset. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,y,flags; statement S; type T; @@ x = - kmalloc + kcalloc ( - y * sizeof(T), + y, sizeof(T), flags); if (x == NULL) S -memset(x, 0, y * sizeof(T)); @@ expression x,size,flags; statement S; @@ -x = kmalloc(size,flags); +x = kzalloc(size,flags); if (x == NULL) S -memset(x, 0, size); // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk>
| * Staging: rtl8192su: led updateFlorian Schilhabel2010-05-141-8/+19
| | | | | | | | | | | | | | | | derived from Realteks driver. leds are now working. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Staging: rtl819su: added r8192SU_led.c/.hFlorian Schilhabel2010-05-145-26/+2466
| | | | | | | | | | | | | | | | | | | | added the necessary infrastructure for the leds on the device this is a port from Realteks driver. leds are now working partially. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * staging: trivial: fix typo "seperate"Anand Gadiyar2010-05-142-2/+2
| | | | | | | | | | | | | | | | s/seperate/separate Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Cc: Jiri Kosina <trivial@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Staging: Drop memory allocation castJulia Lawall2010-05-114-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop cast on the result of kmalloc and similar functions. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ type T; @@ - (T *) (\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...)) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * staging: rtl8192x: sync the various rtl819x_Qos.h filesH Hartley Sweeten2010-05-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The rtl8192e, rtl8192su, and rtl8192u drivers all share what appears to be a common private ieee80211 stack. Various patches have been applied to the rtl819x_Qos.h file for some of the drivers but not the others. This sync's the files based on all the applied patches. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * staging: rtl8192x: sync the various rtl819x_TSProc.c filesH Hartley Sweeten2010-05-111-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | The rtl8192e, rtl8192su, and rtl8192u drivers all share what appears to be a common private ieee80211 stack. Various patches have been applied to the rtl819x_TSProc.c file for some of the drivers but not the others. This sync's the files based on all the applied patches. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Staging: rtl8192su: all rtl8192su chips have the 93c46 epromFlorian Schilhabel2010-05-113-120/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all rtl8192su chips have the 93c46 eprom. (no 93c56) it it theoretically safe to remove the 93c56 definitions and some unneeded code. if your device stops working after this patch, please send me a mail and include some information about your device: * dmesg * lsusb -v * _exact_ chipset (version) * vendor * everything else, that may help plus cosmetics. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * Staging: rtl8192su: refactored FirmwareCheckReadyFlorian Schilhabel2010-05-111-76/+64
| | | | | | | | | | | | | | | | | | | | replaced if..else if..else by a switch. this is hopefully easier to read. plus cosmetics. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud