Commit graph

190 commits

Author SHA1 Message Date
MilhouseVH
d76d467f6f kernel 5.0: Remove 'type' argument from access_ok() function
See: 96d4f267e4
2019-01-08 07:17:08 +00:00
Larry Finger
a0619a07cd rtl8188eu: Add device code for D-Link DWA-121 rev B1
This device was reported by jaif in issue #256

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-01 09:20:47 -05:00
MilhouseVH
9c28109b5e rtw_select_queue signature change in 4.19-rc1
Ref: 4f49dec907
2018-08-28 03:45:44 +01:00
Larry Finger
c0e2cc7988 rtl8188eu: Fix scheduling while atomic splat
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-03-14 11:02:54 -05:00
Larry Finger
1f08a062ad rtl8188eu: Updates for timer changes in kernel 4.15
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-12-05 16:03:03 -06:00
Larry Finger
e472b5d684 rtl8188eu: Return zero length output to SIOCGIWESSID when not connected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-11-23 12:03:30 -06:00
Larry Finger
c5113ffec0 rtl8188eu: Fix buffer overrun warning
This warning is bogus, but shut the compiler up.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-07-14 10:17:47 -05:00
Larry Finger
583fdd269b rtl8188eu: Add new device
Add TP-Link TL-WN722N v2 (2357:010c) to device table.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-04-21 14:07:56 -05:00
Larry Finger
0ebfaa07e4 rtl8188eu: Place guard code in _rtw_open_pktfile()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-01-16 15:23:52 -06:00
Larry Finger
f9dbfb74dc rtl8188eu: Remove symbol MAX_RF_PATH_NUMS
This one is always equal to RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-13 15:36:13 -06:00
Larry Finger
379691b761 rtl8188eu: Remove additional arrays from the stack in translate_scan()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-01-21 20:16:15 -06:00
Larry Finger
596818fee3 rtl8188eu: Move buffer off stack in translate_scan()
A user has reported a kernel panic that points to a stack overflow in
this routine. The array that was moved is only 64 bytes, but perhaps
the stack space is really tight.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-01-21 19:32:54 -06:00
Larry Finger
3091828c8f rtl8188eu: On kernel 2.6.32, a NULL dereference was found
This bug was reported and debugged by GitHub user jdowells.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-05-15 15:20:51 -05:00
Larry Finger
8eb572bc42 rtl8188eu: Replace rtw_ieee80211_ht_cap with standard kernel version
As shown in the previous commits, keeping alignment beetween the private header
and the kernel version is a problem. Solve the issue by using the kernel
version.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-08 14:02:06 -05:00
Larry Finger
b17edc5b73 rtl8188eu: Add include for version.h to os_dep/rtw_android.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 13:56:27 -06:00
Larry Finger
9196aebe1e rtl8188eu: Fix build on kernel version 4.0+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 09:46:08 -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
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
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
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