Commit graph

528 commits

Author SHA1 Message Date
Larry Finger
f760caeb39 rtl8188eu: Add test for memory allocation failure
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 11:01:33 -06:00
Larry Finger
bb55393afa rtl8188eu: Fix NULL pointer
User hlguo reports crashes due to a NULL pointer dereference. This should fix it.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-22 22:13:56 -06:00
Larry Finger
c83976d1df rtl8188eu: Force use of bash as shell
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-21 10:03:59 -06:00
Larry Finger
0cb491cae8 rtl8188eu: Fix makefile if r8188eu is not part of system
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-14 19:36:25 -06:00
Larry Finger
2b9758a03e rtl8188eu: Change Makefile to handle conflicts between r8188eu and 8188eu
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-11 11:14:13 -06:00
Larry Finger
3b3d6fa169 rtl8188eu: Fix build for select_queue problem
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-29 18:37:27 -06:00
Larry Finger
e2e51bd6f4 rtl8188eu: Remove empty _rtw_free_sema()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:28:20 -06:00
Larry Finger
890e54b7a7 rtl8188eu: Remove wrapper around init_sema()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:25:08 -06:00
Larry Finger
61690cbca6 rtl8188eu: rtw_get_current_time() is jiffies
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:20:06 -06:00
Larry Finger
209e50ad60 rtlwifi: Remove list-handling macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:06:22 -06:00
Larry Finger
6d3d853360 rtl8188eu: Remove wrapper get_next()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 11:50:41 -06:00
Larry Finger
567257655f rtl8188eu: Replace LIST_CONTAINOR with container_of
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 10:40:44 -06:00
Larry Finger
7fd86158bf rtl8188eu: Change union recv_frame to struct
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 10:35:48 -06:00
Larry Finger
89efde68f8 rtl8188eu: Remove wrapper around memcmp()
Caution: The wrapper inverts the state.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 09:38:17 -06:00
Larry Finger
24391e61f4 rtl8188eu: Remove wrapper around some kzalloc() calls
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 09:08:01 -06:00
Larry Finger
9ad78a5b0d rtl8188eu: Remove wrapper around INIT_LIST_HEAD()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 23:13:40 -06:00
Larry Finger
609fff0d67 rtl8188eu: Remove wrapper around semaphore 'up'
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 22:51:56 -06:00
Larry Finger
545d963a9e rtl8188eu: Remove wrapper for memset()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 22:43:35 -06:00
Larry Finger
4e305e82d0 rtl8188eu: Rework handling of BA_para_set
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 22:32:07 -06:00
Larry Finger
26930b0f9f rtl8188eu: Replace RTW_PUT_LE16
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 22:30:01 -06:00
Larry Finger
6ba33b6e48 rtl8188eu: Remove macro RTW_GET_LE16
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 21:55:10 -06:00
Larry Finger
d6aed151f2 rtl8188eu: Simplify handling of LE variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 21:50:54 -06:00
Larry Finger
15519e9bf3 rtl8188eu: Clean up the section that reads the EEPROM
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 20:43:14 -06:00
Larry Finger
ed2c3ab733 rtl8188eu: Rework endianess
Several of the struct items related to on-air data must be little endian.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 12:15:07 -06:00
Larry Finger
bad0b4cde4 rtl8188eu: Remove cases of two or more blank lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 18:00:05 -06:00
Larry Finger
e91077579f rtl8188eu: Remove _func_enter_ and _func_exit_ statements
Kernel tracing is more effective.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 16:31:15 -06:00
Larry Finger
86fdc52e9a rtl8188eu: usb_dvobj_init(): A NULL pointer check for usb_host_endpoints makes no sense
Simplify the code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 16:13:11 -06:00
Larry Finger
849d585656 rtl8188eu: Fix some edit errors from replace spin lock wrappers
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 18:42:41 -06:00
Larry Finger
238f9a6fa1 Merge branch 'master' of https://github.com/strahlex/rtl8188eu 2014-11-28 17:38:42 -06:00
Larry Finger
8b76b3b701 rtl8188eu: Convert spin lock macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 17:37:57 -06:00
Alexander Roessler
0e436eb480 added DKMS support 2014-11-28 21:17:33 +00:00
Larry Finger
9fe0c17a65 rtl8188eu: Remove wrapper _rtw_spinlock_init
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 11:14:29 -06:00
Larry Finger
1d89650644 Merge branch 'master' of http://github.com/lwfinger/rtl8188eu 2014-11-24 14:32:19 -06:00
Larry Finger
486757db0d r8188eu: Fix reading of EEPROM on big-endian hardware
Signed-off-by: Larry Finger <l]Larry.Finger@lwfinger.net>
2014-11-24 14:29:11 -06:00
Larry Finger
287f6491f3 rtl8188eu: Part 3 of the upgrades from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-20 00:12:27 -06:00
Larry Finger
ef77969222 rtl8188eu: More changes from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
This one completes the changes for rtw_mlme.c

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-19 18:03:11 -06:00
Larry Finger
c8a380cd16 rtl8188eu: Make updates from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
This patch is step 1 of many. This driver has much better sensitivity than
the previous version.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-19 14:32:12 -06:00
Larry Finger
18c80911a2 rtl8188eu: Make device have wlanX name
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-15 17:58:17 -06:00
Larry Finger
41245153f4 r8188eu: Fix an le16 problem
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-13 16:28:55 -06:00
Larry Finger
ce4406631c rtl8188eu: Align the eeprom buffer
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-13 11:03:55 -06:00
Larry Finger
dc10076d5c r8188eu: Make error in EEPROMId log even at default debug level
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-12 18:42:52 -06:00
Larry Finger
7c902ec968 rtl8188eu: Improve firmware loading diagnostics
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-12 11:18:04 -06:00
Hiroki Kondo
bf9abe2b9e Add a new ID 2014-08-24 15:00:38 +09:00
Larry Finger
051cb74be4 rtl8188eu: Add two new IDs
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-08-12 17:10:21 -05:00
Larry Finger
fc94d94d6c rtl8188eu: Remove _DATE_, etc.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-08-12 17:05:05 -05:00
Tim Armstrong
99c15d1d35 Fix function arguments to match ndo_select_queue in 3.13 headers. 2014-07-08 10:24:29 -05:00
Larry Finger
63fe7cda86 rtl8188eu: Fix build warning for kernels 2.6.39-
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-04-18 01:21:08 -05:00
Manu Gupta
36e0fb5f24 1. Adding Support for Dlink 123 11n Adapter
2. Checked that this driver works with the given version on kernel 3.11.10-7-desktop on my computer
3. Also, hwinfo --usb shows the following output for this driver. Please
find the output :

10: USB 00.0: 0200 Ethernet controller
  [Created at usb.122]
  Unique ID: R_O4.dPfoed7O7sA
  Parent ID: pBe4.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0
  SysFS BusID: 2-6:1.0
  Hardware Class: network
  Model: "D-Link DWA-123 11n Adapter"
  Hotplug: USB
  Vendor: usb 0x2001 "D-Link"
  Device: usb 0x3310 "DWA-123 11n Adapter"
  Serial ID: "D8FEE3575902"
  Driver: "r8188eu"
  Driver Modules: "8188eu"
  Device File: wlp0s20u6
  Speed: 480 Mbps
  HW Address: d8:fe:e3:57:59:02
  Link detected: yes
  Module Alias: "usb:v2001p3310d0000dc00dsc00dp00icFFiscFFipFFin00"
  Driver Info #0:
    Driver Status: 8188eu is active
    Driver Activation Cmd: "modprobe 8188eu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #6 (Hub)
2014-02-24 22:51:19 +05:30
Larry Finger
fcc9034b0d rtl8188eu: Remove unused enum
As firmware_source is no longer used, remove it.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-14 13:48:39 -06:00
Stas Sergeev
499e15d791 make firmware buffer persistent to not request firmware on every access 2014-02-14 13:46:49 -06:00