Commit graph

199 commits

Author SHA1 Message Date
Larry Finger
0924dc8fe0 rtl8188eu: Allow a little extra size for rtw_hostapd_ioctl() packets
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-06-12 14:26:38 -05:00
Larry Finger
71af295db5 rtl8188eu: Fix IOCTL length rejection
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-06-10 14:07:55 -05:00
Larry Finger
ac42434b2a rtl8188eu: Fix gcc 10 warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-05-16 14:20:37 -05:00
kovi
0368bc2763 add: usb id for asus nano 10 2020-03-21 17:26:53 +00:00
fiadosau
2141f244c3
Update usb_intf.c 2020-03-03 23:59:05 +03:00
Larry Finger
02614d02dc rtl8188eu: Fix potential data overrun
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-02-09 12:22:25 -06:00
Bastien Nocera
627a577e5c rtl8188eu: Add rtw_led_enable module parameter
Make it possible to disable the LED, as it can be pretty annoying
depending on where it's located.
2020-01-06 21:30:05 +01:00
Larry Finger
b9b537aa25 rtl8188eu: Add TP-Link TL-WN727N v5.21 to device tables
This info provided by kakash1hatake.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-16 11:13:05 -05:00
Larry Finger
a0fff49c41 rtl8188eu: Fix build with kernel 5.2
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-05-22 23:42:29 -05:00
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