Commit graph

204 commits

Author SHA1 Message Date
Larry Finger
7630ec848b rtl8188eu: Add Rosewill USB-N150 Nano to device tables
The existence of a new device with USB ID of 0bda:ffef is reported.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-07-12 15:07:24 -05:00
Larry Finger
77d786b6e8 rtl8188eu: Copy the code from the kernel into a new branch
This version takes advantage of all the cleanups to the code. It has
been modified to build on older kernels.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-06-08 18:46:35 -05:00
Larry Finger
775137f273 rtl8188eu: Fix build for API changes in kernel 5.17
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-02-03 10:21:57 -06:00
Georges Toth
6672b42ef3 Add support for Edimax EW-7811Un V2 2020-12-01 16:08:14 +01:00
Larry Finger
db29c33e18 rtl8188eu: Add 0bda:f179 device
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-08-11 14:43:03 -05:00
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