Commit graph

756 commits

Author SHA1 Message Date
lwfinger
ae60ce27b7
Merge pull request #297 from fgimenezm/v5.2.2.4
fixes for DKMS KVER setting and a small typo
2019-10-16 21:29:40 -05:00
Federico Gimenez Molinelli
abb3c349f4
fix missing ',' 2019-10-16 22:51:00 -03:00
Federico Gimenez Molinelli
076f9e4eae
fix DKMS: add KVER value to make command
Makefile is getting the KVER value from "uname -r" but that is not correct when building for kernels other than the running kernel.
When running from DKMS we have to set KVER to ${kernelver}.
2019-10-16 22:49:37 -03:00
Larry Finger
a03bf8ede5 rtl8188eu: TP-Link TL-WN727N v5.21 to device table
This information provided by kakash1hatake.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-16 11:22:12 -05:00
Larry Finger
a0e9c1dfc6 rtl8188eu: Fix build with kernel 5.4
Beginning with 5.4.0-rc3, a macro is defined for "fallthrough". For
that reason, the attribute statement must use __fallthrough__ instead.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-16 11:18:37 -05:00
lwfinger
5342fb8368
Merge pull request #292 from artynet/v5.2.2.4-kconfig
rtl8188eu: adding Kconfig for kernel build integration
2019-09-23 11:14:05 -05:00
Arturo Rinaldi
9f98ad1abc rtl8188eu: adding Kconfig for kernel build integration 2019-09-23 10:13:53 +02:00
Larry Finger
52853162f7 rtl8188eu: Fix "fall through" warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-08-01 14:39:02 -05:00
Larry Finger
ddd5974ad2 rtl8188eu: Fix typo
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-05-22 23:40:40 -05:00
Larry Finger
4cac5ad59f rtl8188eu: Fix build for kernel 5.2
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-05-22 23:39:14 -05:00
Larry Finger
d264b9aa21 rtl8188eu: Fix typo
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-04-24 22:59:30 -05:00
lwfinger
5b7d51d871
Merge pull request #282 from rpetrovski/rpetrovski/v5.2.2.4
Copyright headers updated to match
2019-04-22 13:14:55 -05:00
Roman Petrovski
ed3d903e50 Copyright headers updated to match 2019-04-22 12:31:01 +01:00
Larry Finger
510176b3ad rtl8188eu: Fix some Sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-04-21 11:36:57 -05:00
Larry Finger
2393650ec6 rtl8188eu: CLean up the Makefile and make clear that CONFIG_IOCTL_CFG80211 is set in include/autoconf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-04-01 13:52:44 -05:00
Larry Finger
2243b25597 rtl8188eu: Fix build on kernel 5.1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-03-20 10:38:23 -05:00
Larry Finger
fca9048241 rtl8188eu: Fix uninitialized variable in auth seq=2 packet
An unintialized value for a temporary little-endian variable can cause some
clients to fail to connect to AP.

Reported-by: pepa-cz.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-02-27 09:28:10 -06:00
MilhouseVH
bae8932732 kernel 5.0: Remove 'type' argument from access_ok() function
See: 96d4f267e4

Signed-off-by: MilhouseVH <milhouseVH.github@nmacleod.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-01-08 09:19:33 -06:00
Larry Finger
113856baa7 rtl8188eu: Fix Makefile to wouk with ARM
Reported on GitHub by Roger. If the command 'uname -m' returns "arm.l",
it needs to be truncated to "arm".

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-01-07 20:29:24 -06:00
Larry Finger
d57fc28a11 rtl8188eu: Remove wrappers arounf vmalloc()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-31 18:01:37 -06:00
Larry Finger
1f6c1424cc rtl8188eu: Remove all code associated with DBG_MEMORY_LEAK
This parameter is always undefined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-24 16:34:30 -06:00
Larry Finger
4a5aa7a8b7 rtl8188eu: Remove wrappers around spin_lock() and spin_unlock()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-24 15:25:35 -06:00
Larry Finger
45a86628d2 rtl8188eu: Routine rtw_get_current_time() is a synonym for jiffies
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-21 21:55:20 -06:00
Larry Finger
537fff9e9d rtl8188eu: Routine _rtw_deinit_queue() is a no-op
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-21 21:39:37 -06:00
Larry Finger
7a75f128ba rtl98188eu: On Linux, _rtw_spinlock_free() is a no-op
Remove all such calls.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-21 21:36:02 -06:00
Larry Finger
4b2c469f5f rtl8188eu: Remove most semaphore wrappers
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-21 21:20:04 -06:00
Larry Finger
cbfa6220ef rtl8188eu: Remove a number of 'list' wrappers
The wrappers for list_empty(), list_add(), list_add_tail(), INIT_LIST_HEAD(),
and list_del_init() are removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-21 09:20:12 -06:00
Larry Finger
92b97f0a67 rtl8188eu: Remove wrappers around memcpy() and memmove()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-17 21:50:56 -06:00
Larry Finger
a010d15b64 rtl8188eu: Remove the wrapper around memcmp()
The tricky part here is that the wrapper, _rtw_memcmp(), returns true if the
two arguments are equal, whereas memcmp() returns false in that case.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-17 13:31:01 -06:00
Larry Finger
999a777041 rtl8188eu: Replace synonyms for true and false with the real thing
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-17 11:08:55 -06:00
Larry Finger
b89e0320f5 rtl8188eu: Replace typedef for _irqL with 'unsigned long'
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-12-17 10:53:06 -06:00
Larry Finger
32e894d44f rtl8188eu: Fix missing divide routine for 32-bit systems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-30 17:10:03 -06:00
Larry Finger
a95d70956a rtl8188eu: Fix 4th argument to EFUSE_GetEfuseDefinition()
If this is other than u16, a BE machine gets the wrong answer.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-30 16:52:35 -06:00
Larry Finger
7f635252a0 rtl8188eu: Remove all synonyms for u8, u16, u32, qnd u64
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-30 16:41:18 -06:00
Larry Finger
248ac6b84b rtl8188eu: Remove some of the alternatives to u32
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-30 16:12:11 -06:00
Larry Finger
1e72b90b99 rtl8188eu: Remove USHORT
This is typdefed to u16.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-30 16:04:28 -06:00
Larry Finger
7b97e72004 rtl8188eu: Remove typdef UCHAR
This is just u8.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-30 16:02:39 -06:00
Larry Finger
e05a68ee1a rtl8188eu: Fix Makefile to work with powerpc as well as x86
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-24 12:15:45 -06:00
Larry Finger
14a16dd544 rtl8188eu: Eliminate the wrapper _rtw_memset()
This code is nothing more than memset().

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-24 12:07:51 -06:00
Larry Finger
48b223d0de rtl8188eu: Fix error in call to memset
One usage reverses the order of the second and third arguments.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-24 11:52:48 -06:00
Larry Finger
f1686edada rtl8188eu: Clean up the Makefile
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-23 19:29:07 -06:00
Larry Finger
d5add91328 rtl8188eu: Remove all files associated with platform/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-23 16:12:24 -06:00
Larry Finger
57a2db9e23 rtl8188eu: Replace all the alternative forms for bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-16 14:56:35 -06:00
Larry Finger
21b9be0939 rtl8188eu: Remove the Windows IN and OUT pseudodirectives
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-13 09:28:01 -06:00
Larry Finger
722e1c9b2e rtl8188eu: Replace VOID with void and PVOID with void *
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 21:24:45 -06:00
Larry Finger
c25b5250a8 rtl8188eu: Remove conditional #if 1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 21:16:19 -06:00
Larry Finger
f0050d3365 rtl8188eu: Remove dead code inside #if 0 .... #endif
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 19:26:10 -06:00
Larry Finger
e3e242b712 rtl8188eu: Remove tests on macro CONFIG_80211N_HT
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 14:06:58 -06:00
Larry Finger
e9184bd34c rtl8188eu: Remove dead code for IS_HARDWARE_TYPE_
The 8188eu is an 802.11n device.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 12:55:23 -06:00
Larry Finger
0c57c68d3e rtl8188eu: Remove all macros and tests of the type IS_HARDWARE_TYPE_XXX
Only IS_HARDWARE_TYPE_8188E is kept.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-12 12:10:32 -06:00