Commit graph

63 commits

Author SHA1 Message Date
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
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
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
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
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
3a3339b715 rtl8188eu: Replace degub macro DBG_871X with DBG_88E
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:38:30 -05:00
Larry Finger
1e6accffc4 rtl8188eu: Remove wrapper routine rtw_get_current_time()
This wrapper can be replaced with jiffies.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:35:29 -05:00
Larry Finger
11ab93f073 rtl8188eu: Remove double blank lines in core/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:44:41 -05:00
Larry Finger
0a97479cee rtl8188eu: Change "){" to ") {"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:24:16 -05:00
Larry Finger
83488f50f7 rtl8188eu: Add spaces after comma, etc.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:19:16 -05:00
Larry Finger
9ee6ae40c3 rtl8188eu: Change "for(" to "for ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:06:32 -05:00
Larry Finger
8e22f0d2e8 rtl8188eu: Change "while(" to "while ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:04:12 -05:00
Larry Finger
6ead3e77dc rtl8188eu: Change all "if(" to "if ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:02:34 -05:00
Larry Finger
aa89a39a09 rtl8188eu: Remove spaces before quoted newline
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:00:19 -05:00
Larry Finger
7460f4b22a rtl8188eu: Remove most typedef statements from include/hal_intf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-17 10:31:25 -05:00
Larry Finger
e233420466 rtl8188eu: Remove executable mode for all source files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 16:54:44 -05:00
Larry Finger
d26bbefc3a rtl8188eu: Remove useless IN and OUT from parameter lists
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 12:06:38 -05:00
Larry Finger
cf743bff3d rtl8188eu: Remove CONFIG_ADAPTOR_INFO_CACHING_FILE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:44:10 -05:00
Larry Finger
0b5c6eb35b rtl8188eu: Change BOOLEAN to bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:21:23 -06:00
Larry Finger
54abf571c4 rtl8188eu: Change C90 comments to /* */ form
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 15:34:32 -06:00
Larry Finger
9b5b5c4e12 rtl8188eu: Replace wrapper for memset
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 14:58:09 -06:00
Larry Finger
5b8f5bc69d rtl8188eu: More Sparse fixes
There are only a few more left. Most are in the P2P code

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-29 21:41:53 -06:00
Larry Finger
06334102cd rtl8188eu: Replace _FALSE and _TRUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:13:24 -06:00
Larry Finger
17d1637977 rtl8188eu: Replace PVOID and VOID
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:07:17 -06:00
Larry Finger
b6b121512b rtl8188eu: Remove dead code inside #if 0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:00:11 -06:00
Larry Finger
bb33327257 rtl8188eu: Remove all trailing spaces from code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 00:59:46 -06:00
Larry Finger
202d20077c rtl8192eu: Replace typedefs for struct adapter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 17:13:53 -06:00
Larry Finger
a9f33120c5 rtl8188eu: Flatten core/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 22:26:13 -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
91938194fd rtl8188eu: Make this code look exactly like the code in the kernel version
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-11-29 16:10:20 -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
Larry Finger
8f7fde8d6a rtl8188eu: Fix smatch warnings in core/rtw_efuse.c
Smatch reports the following warnings:

  CHECK   /home/finger/rtl8188eu/core/rtw_efuse.c
/home/finger/rtl8188eu/core/rtw_efuse.c:646 rtw_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8188eu/core/rtw_efuse.c:655 rtw_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8188eu/core/rtw_efuse.c:738 rtw_BT_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8
/home/finger/rtl8188eu/core/rtw_efuse.c:747 rtw_BT_efuse_map_write() error: buffer overflow 'newdata' 8 <= 8

These are due to an off-by-one error in an array size.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 12:08:39 -05:00
Larry Finger
7e4cdda1c0 rtl8188eu: Fix checkpatch ERRORs in core/rtw_efuse.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-28 12:00:21 -05:00
Larry Finger
1e96c9a1d4 rtl8188eu: Remove MP_DRIVER conditionals - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:26:30 -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
b2804a6af7 rtl8188eu: Convert typedef statement from include/hal_intf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 18:04:37 -05:00
Larry Finger
dfe35fb489 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX - not selected
This change made include/drv_conf.h and core/rtw_ioctl_query.c redundant.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:00:05 -05:00
Larry Finger
dcefeda1ca rtl8188eu: Remove CONFIG_ADAPTOR_INFO_CACHING_FILE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:14:58 -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
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
327817d32a rtl8188eu: Fix most sparse warnings other than endedness problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-06-03 14:52:18 -05:00