Commit graph

59 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
2caee63170 rtl8188eu: Remove rest of dead code depending on CONFIG_MP_INCLUDED
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 13:49:38 -06:00
Larry Finger
065126d8ce rtl8188eu: Place driver rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104 in branch v4.1.8_9499
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-11 15:15:04 -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
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
287f6491f3 rtl8188eu: Part 3 of the upgrades from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-20 00:12:27 -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
Álvaro Fernández Rojas
a7e9834fbc Remove unused variables from core files. 2013-09-06 02:44:02 +02:00
Larry Finger
2db42a3fbf rtl8188eu: Convert non-standard variable types to regular ones
These include changing s1Byte to s8, etc.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-14 12:03:28 -05:00
Larry Finger
7b5b86f621 rtl8188eu: Fix checkpatch errors in core/rtw_mp.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 17:26:37 -05:00
Larry Finger
2bd2f4b4c8 rtl8188eu: Convert typedef for _adapter, etc.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 20:08:39 -05:00
Larry Finger
5cfecb6edc rtl8188eu: Convert most typedef statements in include/rtw_mp.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:08:55 -05:00
Larry Finger
7449a3d03b rtl8188eu: Convert typedef statements in include/Hal8188EPhyCfg.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 13:36:38 -05:00
Larry Finger
dfb5277a29 rtl8188eu: Replace typedefs related to threads with standard kernel types
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 12:47:20 -05:00
Larry Finger
2685b52404 rtl8188eu: Replace several local size defines/typedefs with kernel header version
These include the following:

SIZE_T => size_t
SSIZE_T => ssize_t
SIZE_PTR => size_t

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 12:19:14 -05:00
Larry Finger
41ad3e27c6 rtl8188eu: Convert some typedef statements from include/osdep_service.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:39:20 -05:00
Larry Finger
a01908ab27 rtl8188eu: Convert the typedef statements in include/wlan_bssdef.h
One remains that I still do not know how to convert; however, it has been
moved to os_dep/ioctl_linux.c where it is used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 21:31:04 -05:00
Larry Finger
548e42fb94 rtl8188eu: Convert "typedef HAL_DATA_TYPE" to "struct hal_data_8188e"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 18:18:19 -05:00
Larry Finger
d8627b6a67 rtl8188eu: Remove DBG_XMIT_BUF_EXT - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:25:28 -05:00
Larry Finger
085a651d9c rtl8188eu: Remove CONFIG_MP_INCLUDED
This one is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:55:30 -05:00
Larry Finger
927e984c73 rtl8188eu: Remove CONFIG_LONG_DELAY_ISSUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 22:43:43 -05:00
Larry Finger
0e4009c999 rtl8188eu: Remove dead code for other than USB
The vendor code has pieces of code for PCI, SDIO, and GSPI. Remove it
and CONFIG_USB_HCI.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 13:35:36 -05:00
Larry Finger
c5e461c221 rtl8188eu: Remove configuration parameters and dead code for other devices
The vendor code includes some code that is needed for RTL8182CU, RTL8192DU,
RTL8711, RTL8712, and RTL8723AU. This dead code is removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 10:59:02 -05:00
Larry Finger
1c5cb9ca00 rtl8199eu: Remove all PLATFORM_LINUX ifdefs
This option is always chosen.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 00:30:22 -05:00
Larry Finger
285af1cf22 rtl8188eu: Remove dead code inside "ifdef PLATFORM_FREEBSD" sections
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-10 20:10:20 -05:00
Larry Finger
d2c90ee304 rtl8188eu: Change C90 comments to kernel form for files in core/
This commit also includes some sparse fixes for endian issues.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-09 17:38:46 -05:00
Larry Finger
fb786d0283 rtl8188eu: Fix all W=1 warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-06-21 13:41:29 -05:00
Larry Finger
eac0a699d8 rtl8188eu: Revert part of 76e49ee
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-26 12:17:22 -05:00
Larry Finger
76e49eeec2 rtl8188eu: Remove conditionals related to chip type
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-26 11:27:11 -05:00
Larry Finger
9cef34aa09 rtl8188eu: Change _FALSE and _TRUE to false and true
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-25 22:02:10 -05:00
Larry Finger
96adb823b9 rtl8188eu: Update logging
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-25 18:35:42 -05:00