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
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
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
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
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
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
Larry Finger
5a3f5f894a
rtl8188eu: Fix build error when concurrent devies are enabled
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-08 16:33:18 -06:00
Larry Finger
9bfd2a3556
rtl8188eu: Remove code used bhy devices other than USB in core/
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 21:24:08 -05:00
Larry Finger
fec17178bc
rtl8188eu: Simplify Makefile
...
In addition, unused files are removed.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 15:16:57 -05:00
Larry Finger
22421e29fb
rtl8188eu: Replace all instances if __FUNCTION__ with __func__
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 14:22:43 -05:00
Larry Finger
539f476e87
rtl8188eu: Remove dead code for devices other than RTL8188EU
...
This commit handles files in core/.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 13:36:00 -05:00
Larry Finger
bf88fed9a4
rtl8188eu: Fix a number of sparse warnings
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 00:39:38 -05:00
Larry Finger
bbc8dd8720
Merge branch 'v5.2.2.4' of http://github.com/lwfinger/rtl8188eu into v5.2.2.4
2018-11-01 09:17:58 -05:00
Larry Finger
7c7b83836e
rtl8188eu: Fix more sparse warnings
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-29 10:58:36 -05:00
Larry Finger
c1068fee54
rtl8188eu: Fix more sparse warnings
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 14:23:42 -05:00
Larry Finger
85ec7cf9ce
rtl8188eu: Remove code for platforms other than Linux in core/
...
Code in #if 0 .. #endif blocks is alsop removed as well as multiple blank lines.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-20 14:03:14 -05:00
Larry Finger
9fad4d2d0d
rtl8188eu: Slow the spamming of the logs
...
A number of unconditional print statements are converted to conditional.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-20 13:03:01 -05:00
Larry Finger
433f07c9f3
rtl8188eu: Fix bug in changes to build with kernels 4.15+
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 21:53:32 -05:00
Larry Finger
d8ced1a187
rtl8188eu: Remove _rtw_spinlock_init
...
This function is the same as spin_lock_init()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 11:48:13 -05:00
Larry Finger
9d1d96c95d
rtl8188eu: Update for driver to build on kernel 4.19
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 11:28:43 -05:00
Larry Finger
80c723e738
rtl8188eu: Fix sparse issues in core/rtw_mp.c
...
For the most part, these are endian related.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-14 23:29:18 -05:00
Larry Finger
8a098e4f68
rtl8188eus: Flatten hal/efuse/rtl* into hal/
...
This change is part of the process of removing subdirectories of include/,
core/, hal/ and os_dep/.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-14 23:07:11 -05:00
Larry Finger
cafe144537
rtl8188eu: Move files from core/efuse to core/
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-14 19:24:52 -05:00
Larry Finger
6fa9ed423c
rtl8188EUS: Initial addition of files in branch v5.2.2.4
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-14 19:09:51 -05:00
Larry Finger
242c9f54cc
rtl8188eu: Fix some checkpatch warnings
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-08-30 13:19:58 -05:00
Larry Finger
bc8ca96401
rtl8188eu: Fix out-of-bounds reference
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-04-11 10:30:23 -05:00
Larry Finger
594a5a050d
rtl8188eu: Fix builds for branch v4.1.8_9499 for newer kernels
...
These changes allow builds up through kernel 4.16.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-04-11 10:19:48 -05:00
Larry Finger
add1bba8bc
rtl8188eu: Fix some build problems
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-03-14 10:45:07 -05:00
Larry Finger
8ac0b5364d
rtl8188eu: Replace LONG variants with the standard uxx form
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-08 00:04:30 -05:00
Larry Finger
429924c7ed
rtl8188eu: Protect against pfhdr NULL
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-18 18:00:21 -05:00