Commit graph

178 commits

Author SHA1 Message Date
Larry Finger
6348961d3a rtl8188eu: Fix to build on modern kernels
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-27 16:41:28 -06:00
Larry Finger
c8e5247e2e rtl8188eu: More Sparse fixes
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 13:49:35 -06:00
Larry Finger
bb33327257 rtl8188eu: Remove all trailing spaces from code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 00:59:46 -06:00
Larry Finger
8db176767f rtl8188eu: Fix Sparse warnings in core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-18 22:28:04 -06:00
Larry Finger
202d20077c rtl8192eu: Replace typedefs for struct adapter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 17:13:53 -06:00
Larry Finger
ec15c88773 rtl8188eu: Make debug level settable from module loading
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 00:40:52 -06:00
Larry Finger
52f8d17ffc rtl8188eu: Flatten os_dep
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 19:03:30 -06:00
Larry Finger
7892bc7329 rtl8188eu: Remove all conditional code for devices other than RTL8188EU
This commit handles os_dep and Makefile

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 18:13:14 -06:00
Larry Finger
bfc1e57860 rtl8188eu: Fix remaining compile warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 18:00:01 -06:00
Larry Finger
9e2e9b9721 rtl8188eu: Fix compile warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 17:21:14 -06:00
Larry Finger
17eaf0e045 rtl8188eu: Remove some unused files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 17:08:39 -06:00
Larry Finger
62ef49de15 rtl8188eu: Remove the PLATFORM_LINUX tests
This configuration parameter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 18:29:43 -06:00
Larry Finger
dd606233f2 rtl8188eu: Remove dead code for FREEBSD
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 16:58:13 -06:00
Larry Finger
a68c6cc26e rtl8188eu: Remove code used only for Windows
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 14:28:28 -06:00
Larry Finger
4ee8d3010d rtl8188eu: Remove dead code from CONFIG_MP_INCLUDED
This parameter is used to turn on manufacturing test code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 13:42:27 -06:00
Larry Finger
a0c85b341e rtl8188eu: Remove some Sparse problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-14 23:08:37 -06:00
Larry Finger
065126d8ce rtl8188eu: Place driver rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104 in branch v4.1.8_9499
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-11 15:15:04 -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
8b76b3b701 rtl8188eu: Convert spin lock macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 17:37:57 -06: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
18c80911a2 rtl8188eu: Make device have wlanX name
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-15 17:58:17 -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
Stas Sergeev
499e15d791 make firmware buffer persistent to not request firmware on every access 2014-02-14 13:46:49 -06:00
Larry Finger
c2741d0bec rtl8188eu: Fix compilation for kernels older that 2.6.36
These changes will apply at least back to 2.6.32.

From: Stas Sergeev <stsp@list.ru>
Signed-off-by: Stas Sergeev <stsp@list.ru>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-12 11:05:30 -06:00
Larry Finger
d577d378e6 rtl8188eu: Make necessary changes for 3.14 kernel changes
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-05 12:44:18 -06:00
Larry Finger
ed96ebfee3 rtl8188eu: Vendor/product codes are reversed.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-02 22:05:48 -06:00
Larry Finger
295bb23ffe rtl8188eu: Fix reporting of signal strength and quality
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-12-30 21:18:17 -06:00
Larry Finger
91938194fd rtl8188eu: Make this code look exactly like the code in the kernel version
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-11-29 16:10:20 -06:00
Larry Finger
19db43ecbd rtl8188eu: Backport kernel version
This driver was added to the kernel with version 3.12. The changes in that
version are now brought back to the GitHub repo. Essentually all of the code
is updated.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-19 12:45:47 -05:00
Larry Finger
868a407435 rtl8188eu: Set device type for wlan
The latest version of NetworkManager will not recognize the device as wireless without
this change.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-17 22:25:27 -05:00
Larry Finger
d77f695056 rtl8188eu: Add support for DLINK DWA-125 REV D1
User sergforce reported this on the GitHub issues list.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-26 12:39:39 -05:00
Álvaro Fernández Rojas
07931c07a0 Remove unused variables from rtw_mp_ioctl.h and move mp_ioctl_hdl to ioctl_linux.c. 2013-09-06 18:20:37 +02:00
Larry Finger
158597dcdd rtl8188eu: Fix smatch warnings in os_dep/ioctl_linux.c
Smatch reports the following warnings:
  CHECK   /home/finger/rtl8188eu/os_dep/ioctl_linux.c
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:991 rtw_wx_set_pmkid() warn: add some parenthesis here?
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:1092 rtw_wx_get_range() warn: assigning (-78) to unsigned variable 'range->avg_qual.level'
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:2742 rtw_get_ap_info() warn: add some parenthesis here?
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:4225 rtw_rereg_nd_name() warn: add some parenthesis here?
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:4234 rtw_rereg_nd_name() warn: add some parenthesis here?
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:5072 set_group_key() warn: missing break? reassigning 'keylen'

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:36:23 -05:00
Larry Finger
43dd404762 rtl8188eu: Fix smatch warning in os_dep/osdep_service.c
Smatch shows the following warning:
  CHECK   /home/finger/rtl8188eu/os_dep/osdep_service.c
/home/finger/rtl8188eu/os_dep/osdep_service.c:670 rtw_change_ifname() warn: variable dereferenced before check 'padapter' (see line 666)

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:30:18 -05:00
Larry Finger
be114f8fae rtl8188eu: Fix smatch warning in os_dep/recv_linux.c
Smatch shows the following warning:
  CHECK   /home/finger/rtl8188eu/os_dep/recv_linux.c
/home/finger/rtl8188eu/os_dep/recv_linux.c:236 rtw_recv_indicatepkt() warn: variable dereferenced before check 'precv_frame' (see line 142)

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:23:55 -05:00
Larry Finger
72c61c0cb2 rtl8188eu: Fix smatch warning in os_dep/usb_intf.c
iSmatch shows the following warning:
  CHECK   /home/finger/rtl8188eu/os_dep/usb_intf.c
/home/finger/rtl8188eu/os_dep/usb_intf.c:720 rtw_resume_process() error: potentially dereferencing uninitialized 'pwrpriv'.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:21:46 -05:00
Larry Finger
7446992dc4 rtl8188eu: Remove include/circ_buf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-15 20:09:00 -05:00
Larry Finger
49ab4b6c4f rtl8188eu: Fix checkpatch errors in os_dep/xmit_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 22:07:26 -05:00
Larry Finger
aa6edf1619 rtl8188eu: Fix checkpatch errors for os_dep/usb_ops_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 21:47:28 -05:00
Larry Finger
30b92ac1c6 rtl8188eu: Fix checkpatch errors in os_dep/usb_intf.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 20:59:28 -05:00
Larry Finger
b5d91ff7e0 rtl8188eu: Fix checkpatch errors in os_dep/rtw_android.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 22:41:06 -05:00
Larry Finger
13e0c8cab0 rtl8188eu: Fix checkpatch errors for os_dep/recv_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 22:17:11 -05:00