summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192su
Commit message (Collapse)AuthorAgeFilesLines
* param: remove unnecessary writable charpRusty Russell2010-08-111-3/+3
| | | | | | | | | | | | | | | | | | | | sysfs-writable charp arguments need to be locked against modification (since the old ones may be kfreed underneath us). String arguments are much simpler, so use them for small strings (eg. IFNAMSIZ). lkdtm only uses the parameters at module initialization time, so there's not much point making them writable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Takashi Iwai <tiwai@suse.de> Tested-by: Phil Carmody <ext-phil.2.carmody@nokia.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: M. Mohan Kumar <mohan@in.ibm.com> Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: Jeff Mahoney <jeffm@suse.com> Cc: Julia Lawall <julia@diku.dk> Cc: devel@driverdev.osuosl.org
* Staging: Merge staging-next into Linus's treeGreg Kroah-Hartman2010-08-0538-1853/+1366
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/staging/Kconfig drivers/staging/batman-adv/bat_sysfs.c drivers/staging/batman-adv/device.c drivers/staging/batman-adv/hard-interface.c drivers/staging/cx25821/cx25821-audups11.c Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * staging: rtl8192su: check whether requests succeededKulikov Vasiliy2010-08-021-1/+4
| | | | | | | | | | | | | | | | rtl8192_usb_probe() does not check alloc_ieee80211() and register_netdev() return values for errors. Signed-off-by: Kulikov Vasiliy <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * 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>
* | Staging: rtl8192s_usb: Remove duplicate device IDBen Hutchings2010-06-301-1/+0
| | | | | | | | | | | | Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | Staging: rtl8192su: add device idsFlorian Schilhabel2010-06-301-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds some device ids. The list of supported devices was extracted from realteks driver package. (0x050d, 0x815F) and (0x0df6, 0x004b) are not in the official list of supported devices and may not work correctly. In case of problems with these, they should probably be removed from the list. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | Staging: rtl8192su: remove device idsFlorian Schilhabel2010-06-301-14/+0
|/ | | | | | | | | | | | | | | | | | | This patch removes some device-ids. The list of unsupported devices was extracted from realteks driver package. removed IDs are: (0x0bda, 0x8192) (0x0bda, 0x8709) (0x07aa, 0x0043) (0x050d, 0x805E) (0x0df6, 0x0031) (0x1740, 0x9201) (0x2001, 0x3301) (0x5a57, 0x0290) These devices are _not_ rtl819su based. Signed-off-by: Florian Schilhabel <florian.c.schilhabel@googlemail.com> 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>
OpenPOWER on IntegriCloud