Commit graph

778 commits

Author SHA1 Message Date
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
Larry Finger
4ff88c48d1 rtl8188eu: Remove all dead code in support of chips other than RTL8188EU
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-09 00:54:41 -06:00
Larry Finger
8576d2647a rtl8188eu: Remove more dead code for DM_ODM_SUPPORT_TYPE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-09 00:18:08 -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
f4cc4ed0a2 rtl8188eu: Remove more code dependent on DM_ODM_SUPPORT_TYPE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-05 21:28:32 -06:00
Larry Finger
3fc952a0d5 rtl8188eu: Remove code that is used for DM_ODM_SUPPORT_TYPE other than ODM_CE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-04 01:10:22 -05: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
9c1dc7d65f rtl8188eu: Remove code for connections other than USB in os_dep/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 20:52:04 -05:00
Larry Finger
2abe025887 rtl8188eu: Remove code for other than USB devices in hal/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 20:35:45 -05:00
Larry Finger
681e680993 rtl8188eu: Remove dead code for connections other than USB
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 16:31:56 -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
2b8372b0af rtl8188eu: Remove dead code for devices other than RTL8188EU
This commit handles files in os_dep/.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 14:09:41 -05:00
Larry Finger
0fcf3c2f5e rtl8188eu: Remove dead code for devices other than RTL8188EU
This commit handles files in hal/.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 14:04:16 -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
4880865d31 rtl8188eu: Remove dead code for devices other than RTL8188EU
This commit handles files in include/.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 01:01:20 -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
96ff2341a9 rtl8188eu: Update device tables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-01 09:32:27 -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
e36aed3385 rtl8188eu: Fix more sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 12:17:32 -05:00
Larry Finger
ff8b540826 rtl8188eu: Fix some sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 12:08:57 -05:00
Larry Finger
c589c7a0c2 rtl8188eu: Remove a couple of useless routines from platform/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 11:31:36 -05:00
Larry Finger
6882712849 rtl8188eu: Remove more files that are not needed
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 19:11:50 -05:00
Larry Finger
642f6effc3 rtl8188eu: Remove local byte endian operations
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 19:06:22 -05:00
Larry Finger
94afbb0df3 rtl8188eu: Convert to use __LITTLE_ENDIAN symbol from kernel
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 17:25:46 -05:00
Larry Finger
11c5d28b89 rtl8188eu: Remove some files only used for PCIE or SDIO
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 16:57:57 -05:00
Larry Finger
e0d59adcf6 rtl8188eu: Flatted os_dep/linux/ into os_dep/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 16:53:39 -05:00