Commit graph

59 commits

Author SHA1 Message Date
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
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
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
16d2a24227 rtl8188eu: Change "}else{" and variants to "} else {"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:27:00 -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
c137ff21e5 rtl8188eu: Change "==0" to "== 0"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:22:58 -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
4547604302 rtl8188eu: Remove typedef statements in include/rtw_mp.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-16 20:14:52 -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
993b4435cb rtl8188eu: Fix most errors from smatch
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-10 11:18:03 -05:00
Larry Finger
cfd60faf5e rtl8188eu: Remove "if 1"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:00:36 -06:00
Larry Finger
dd62caa1e1 rtl8199eu: Replace TRUE and FALSE with true and false
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:25:27 -06: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
592c85f4e2 rtl8188eu: Convert C90 comments
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 18:51:33 -06:00
Larry Finger
481d6c817d rtl8188eu: Clean up more Sparse messages
There are still problems remaining, but those are believed to be cosmetic.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-29 15:27:28 -06:00
Larry Finger
1038ee1874 rtl8188eu: Replace sNByte with appropriate s value
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 17:58:53 -06:00
Larry Finger
b77dd7b8df rtl8188eu: Replace p1byte with u8
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 17:50:44 -06:00
Larry Finger
8aad1f53ce rtl8188eu: Convert u4Bytw to u32
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 16:55:10 -06:00
Larry Finger
3a518f1886 rtl8188eu: Remove remainder of code that depends on DM_ODM_SUPPORT_TYPE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 13:48:00 -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
494792ba07 rtl8188eu: Flatten directory hal/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 22:09:56 -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
Álvaro Fernández Rojas
9365e8f151 Remove unused variables from hal files. 2013-09-27 21:41:36 +02:00
Larry Finger
1d3cceea6a rtl8188eu: Fix smatch warnings in hal/HalPhyRf_8188e.c
Smatch reports the following:
  CHECK   /home/finger/rtl8188eu/hal/HalPhyRf_8188e.c
/home/finger/rtl8188eu/hal/HalPhyRf_8188e.c:1878 PHY_APCalibrate_8188E() info: ignoring unreachable code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:14:11 -05: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
f1cf522a99 rtl8188eu: Fix checkpatch errors in hal/HalPhyRf_8188e.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-06 15:24:06 -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
90575aca87 rtl8188eu: Remove code for ENABLE_USB_DROP_INCORRECT_OUT and DISABLE_BB_RF
Neither is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:58:08 -05:00
Larry Finger
4f92869c5b rtl8188eu: Remove "if 1" statements
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:37:57 -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
f311a752bb rtl8188eu: Convert all typedef statements in include/odm.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 11:20:42 -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
10dd5cd02b rtl8188eu: Remove configuration variable DM_ODM_SUPPORT_TYPE and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-14 23:50:52 -05:00
Larry Finger
a3ca3380b5 rtl8188eu: Remove dead code used for PLATFORM_WINDOWS, PLATFORM_OS_XP, and PLATFORM_OS_CE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-10 20:46:15 -05:00
Larry Finger
fe06a8b006 rtl8188eu: Convert C90 comments to kernel form for hal/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-10 13:25:07 -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
Larry Finger
4342c7358c rtl8188eu: Fix some sparse errors
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-27 17:32:24 -05:00
Larry Finger
78adabf36d rtl8188eu: Remove unused IN and OUT directives used only for Windows
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-26 22:51:56 -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