summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192su
Commit message (Collapse)AuthorAgeFilesLines
* Staging: rtl8192su: add linux/vmalloc.hJeff Mahoney2009-09-151-0/+1
| | | | | | | | Some arches don't provide vmalloc.h through the includes already included in rtl8192su. This patch adds it. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: stop using skb->tailJeff Mahoney2009-09-151-4/+5
| | | | | | | This patch replaces uses of skb->tail with skb_tail_pointer(skb). Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: fixup size comparison warningJeff Mahoney2009-09-151-1/+1
| | | | | | | | | sizeof(val) returns type unsigned long. count is already unsigned long, so just use that. This fixes a compile warning. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: fix up printk warningsJeff Mahoney2009-09-152-4/+4
| | | | | | | | This patch addresses printk warnings. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: compile fixesJeff Mahoney2009-09-152-9/+0Star
| | | | | | | | This patch removes -fhard-float and the software float helpers. In-kernel floating point is not allowed. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: ARRAY_SIZE changesStoyan Gaydarov2009-09-152-3/+3
| | | | | | | | These changes were a direct result of using a semantic patch More information can be found at http://www.emn.fr/x-info/coccinelle/ Signed-off-by: Stoyan Gaydarov <sgayda2@uiuc.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: move rtl8192su specific code out from ieee80211.hBartlomiej Zolnierkiewicz2009-09-152-432/+437
| | | | | | | Move rtl8192su specific code out from ieee80211.h to ieee80211_r8192s.h. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: ieee80211.h cleanupsBartlomiej Zolnierkiewicz2009-09-154-585/+490Star
| | | | | | | | | | | | | * remove unused / duplicated definitions * remove unused / used only once typedefs * fix comments, remove useless ones * convert defines to enums where appropriate * use __func__ instead of __FUNCTION__ * make some minor coding style fixes * misc cleanups Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: remove unused ieee80211_wx_get_encode_ext()Bartlomiej Zolnierkiewicz2009-09-152-58/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: remove unused IEEE80211_PRINT_STR()Bartlomiej Zolnierkiewicz2009-09-151-26/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove NOT_YET ifdefsBartlomiej Zolnierkiewicz2009-09-153-152/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: remove superfluous container_of definitionBartlomiej Zolnierkiewicz2009-09-152-15/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: remove OPENSUSE_SLED ifdefsBartlomiej Zolnierkiewicz2009-09-154-12/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove JOHN_DUMP[_TXDESC] ifdefsBartlomiej Zolnierkiewicz2009-09-153-21/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: make private ieee80211 stack really privateBartlomiej Zolnierkiewicz2009-09-1517-202/+70Star
| | | | | | | | | | | * rename ieee80211_{init,exit}() to ieee80211_debug_{init,exit}() * make private ieee80211 stack really private * cleanup Makefile * remove superfluous ieee80211_* defines * remove superfluous EXPORT_SYMBOLs Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove more unused filesBartlomiej Zolnierkiewicz2009-09-158-7310/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove dead codeBartlomiej Zolnierkiewicz2009-09-1525-3442/+18Star
| | | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove unused filesBartlomiej Zolnierkiewicz2009-09-157-4630/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SU ifdefsBartlomiej Zolnierkiewicz2009-09-1515-2792/+1Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SE ifdefsBartlomiej Zolnierkiewicz2009-09-158-588/+12Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SU_DISABLE_IQK ifdefsBartlomiej Zolnierkiewicz2009-09-152-12/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192S_PREPARE_FOR_NORMAL_RELEASE ifdefsBartlomiej Zolnierkiewicz2009-09-152-9/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8190_Download_Firmware_From_Header ifdefsBartlomiej Zolnierkiewicz2009-09-153-48/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SU_USB_PHY_TEST ifdefsBartlomiej Zolnierkiewicz2009-09-152-19/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SU_ASIC_VERIFICATION ifdefsBartlomiej Zolnierkiewicz2009-09-153-21/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SU_FPGA_2MAC_VERIFICATION ifdefsBartlomiej Zolnierkiewicz2009-09-153-8/+7Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SU_FPGA_UNSPECIFIED_NETWORK ifdefsBartlomiej Zolnierkiewicz2009-09-152-23/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SU_USE_PARAM_TXPWR ifdefsBartlomiej Zolnierkiewicz2009-09-152-6/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove DISABLE_BB_RF ifdefsBartlomiej Zolnierkiewicz2009-09-152-13/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192S_DISABLE_FW_DM ifdefsBartlomiej Zolnierkiewicz2009-09-154-10/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove RTL8192SU_DISABLE_CCK_RATE ifdefsBartlomiej Zolnierkiewicz2009-09-152-25/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove USB_TX_DRIVER_AGGREGATION_ENABLE ifdefsBartlomiej Zolnierkiewicz2009-09-157-376/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove USB_RX_AGGREGATION_SUPPORT ifdefsBartlomiej Zolnierkiewicz2009-09-157-629/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove EEPROM_OLD_FORMAT_SUPPORT ifdefsBartlomiej Zolnierkiewicz2009-09-155-236/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove USE_ONE_PIPE ifdefsBartlomiej Zolnierkiewicz2009-09-153-29/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove THOMAS_TURBO ifdefsBartlomiej Zolnierkiewicz2009-09-154-29/+1Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove CONFIG_RTL8192_PM ifdefsBartlomiej Zolnierkiewicz2009-09-154-15/+0Star
| | | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove ENABLE_DOT11D ifdefsBartlomiej Zolnierkiewicz2009-09-1512-113/+1Star
| | | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: add TODOBartlomiej Zolnierkiewicz2009-09-151-0/+23
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: switch to use <linux/ieee80211.h>Bartlomiej Zolnierkiewicz2009-09-153-131/+9Star
| | | | | | | | | | | * s/WLAN_AUTH_LEAP/RTL_WLAN_AUTH_LEAP/g * s/struct ieee80211_hdr/struct rtl_ieee80211_hdr/g * switch to use <linux/ieee80211.h> There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: remove unused _ReasonCode enumsBartlomiej Zolnierkiewicz2009-09-151-49/+0Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove support for older wireless extensionsBartlomiej Zolnierkiewicz2009-09-156-117/+7Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove kernel version compatibility wrappersBartlomiej Zolnierkiewicz2009-09-1527-1488/+77Star
| | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove unused ieee80211_crypt.hBartlomiej Zolnierkiewicz2009-09-151-86/+0Star
| | | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: remove duplicate dot11d.h and ieee80211.h includesBartlomiej Zolnierkiewicz2009-09-1510-3012/+6Star
| | | | | | | Always use includes from ieee80211/ subdirectory. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su/ieee80211: remove unused filesBartlomiej Zolnierkiewicz2009-09-1516-2639/+0Star
| | | | | | Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: fix build errorGreg Kroah-Hartman2009-08-084-4/+5
| | | | | | | | This fixes a build error when selecting the rtl8192su driver as a module. This has been reported by me, and the opensuse kernel developer team, and I finally tracked it down. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: prevent rtl8192su from crashing dev_ioctl in SIOCGIWNAMEDan Aloni2009-07-121-7/+7
| | | | | | | | | | | | | | | | | | | | | | (adapted from the rtl8187se patch) ieee80211_wx_get_name() ignores sizeof(wrqu->name) which is IFNAMSIZ (16), and on certain conditions, the concatenated string will be larger than IFNAMSIZ including the terminating zero. length ("802.11" ++ "b" ++ "/g" ++ " linked" ++ "\x00") == 17 This fix uses strl{cpy,cat} in addition to the reduction of the total possible length of the output string by a char. It can be applied to 2.6.30-stable as well. Signed-off-by: Dan Aloni <dan@aloni.org> Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: convert to net_device_opsBartlomiej Zolnierkiewicz2009-07-124-13/+21
| | | | | | | | | | | | | | commit e3804cbebb67887879102925961d41b503f7fbe3 removed COMPAT_NET_DEV_OPS so this change is needed to make rtl8192su buildable again. Loosely based on Alexander's patch for rtl8187se, untested. Cc: Alexander Beregalov <a.beregalov@gmail.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192su: Correct use of ! and &Julia Lawall2009-06-191-1/+1
| | | | | | | | | | | | | | | | | | Correct priority problem in the use of ! and &. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ expression E; constant C; @@ - !E & C + !(E & C) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>