Commit graph

100 commits

Author SHA1 Message Date
Larry Finger
81aeb84017 rtl8188eu: Flatten core
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-07-22 18:34:17 -05:00
Roman Petrovski
ed3d903e50 Copyright headers updated to match 2019-04-22 12:31:01 +01: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
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
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
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
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
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
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
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
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
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
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
c010b6d78f rtl8188eu: Add header
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-17 09:58:09 -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
e6a0d110e4 rtl8188eu: Fix some instances where open bracket should be moved to previous line
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:21:55 -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
51e6fae39e rtl8188eu: Chnage "=NULL" to "= NULL"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:31:56 -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
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
c818db1282 rtl8188eu: Change "switch(" to "switch ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:05:44 -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
d76cbb313d rtl8188eu: Replace rtw_ieee80211_ht_cap with standard kernel version
As shown in the previous commits, keeping alignment beetween the private header
and the kernel version is a problem. Solve the issue by using the kernel
version.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-08 13:43:40 -05:00
Larry Finger
e2285839e9 rtl8188eu: Remove most typedef statements from include/osdep_service.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-16 08:54:18 -05:00
Larry Finger
851dc8fff5 rtl8188eu: Remove typedef statements from include/wlan_bssdef.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-14 18:14:05 -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
4bf02bb7d8 rtl8188eu: Replace typedef for WLAN_BSSID_EX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:26:23 -06:00
Larry Finger
5d615fab61 rtl8188eu: Rename get_WLAN_BSSID_EX_sz
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:01:31 -06:00
Larry Finger
89552a85d0 rtl8188eu: Remove _rtw_spinlock_free
This routine does nothing.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 16:48:54 -06:00
Larry Finger
fa0ee4759b rtl8188eu: Remove DBG_EXPIRATION_CHK
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 16:39:50 -06:00
Larry Finger
c0ef452bab rtl8188eu: Remove wrappers around spin_lock_bh and spin_unlock_bh
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 11:55:51 -06:00
Larry Finger
dc4dbd3a7c rtl8188eu: Remove wrapper around spin_lock_init
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-05 14:43:57 -06:00
Larry Finger
856f0de3ce rtl8188eu: Remove CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-21 11:42:14 -06:00
Larry Finger
2b27b83d40 rtl8188eu: Remove CONFIG_80211N_HT
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 20:30:23 -06:00
Larry Finger
37a28f802f rtl8188eu: Remove CONFIG_ACTIVE_KEEP_ALIVE_CHECK
This symbol is always defined. In addition, a number of defines that are commented
out in include/autoconf.h have been removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 20:07:27 -06:00
Larry Finger
49437ec417 rtl8188eu: Remove CONFIG_TX_MCAST2UNI
This parameter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 10:11:36 -06:00
Larry Finger
0f3cbc1f0f rtl8188eu: Remove CONFIG_ATMEL_RC_PATCH
This quirk is never selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 10:05:28 -06:00
Larry Finger
8c846f57f0 rtl8188eu: Remove CONFIG_INTERRUPT_BASED_TXBCN and derivatives
These are never selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:59:38 -06:00
Larry Finger
8f5cbefdef rtl8188eu: Remove _CONFIG_NATIVEAP_MLME_ and CONFIG_NATIVEAP_MLME
The first is never defined. The second is always devined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:52:14 -06:00
Larry Finger
5470a10d13 rtl8188eu: Remove CONFIG_IOCTL_CFG80211
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 22:52:01 -06:00