Commit graph

322 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
82f1f8f937 rtl8188eu: Flatten hal/rtl8188e/ into hal/ and hal/phydm/rtl8188e into hal/phydm
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-22 14:32:44 -05:00
Larry Finger
0dc256adfc rtl8188eu: Flatten hal/ by removing hal/led
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-22 14:02:34 -05:00
Larry Finger
716b72b8c5 rtl8188eu: Flatten hal/ by removing hal/hal_hci
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-22 14:00:43 -05:00
Larry Finger
038e7c215b rtl8188eu: Remove code for platforms other than Linux in hal/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-20 14:52:30 -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
ab27643547 rtl8188eu: Remove all unused code for DM_ODM_SUPPORT_TYPE of ODM_WIN and ODM_AP
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-15 12:06:18 -05:00
Larry Finger
e5bc0e7d9b rtl8188eu: Remove DM_ODM_SUPPORT_TYPE tests
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-15 03:31:28 -05:00
Larry Finger
029a86c581 rtl8188eu: Fix most sparse warnings in hal/phydm/rtl8188e/halphyrf_8188e_ce.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-14 23:43:22 -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
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
0b659bd591 rtl8188eu: Fix problem where device is not up on module load
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-05-05 14:11:22 -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
551ec1598c rtl8188eu: The platform can never be ODM_MP
Remove that symbol.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-04-09 14:30:01 -05:00
Larry Finger
f8ec1962dd rtl8188eu: Remove "enum ODM_RF_RADIO_PATH" and ODM_RF_PATH_x
These are already expressed as "enum rf_radio_path" and RF_PATH_x. Having
two definitions is ridiculous.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 20:14:42 -06:00
Larry Finger
2936b46458 rtl8188eu: Remove ODM_RF_PATH_MAX
This is always equal to RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:43:38 -06:00
Larry Finger
e1e88e1ceb rtl8188eu: Remove MAX_RF_PATH
This symbol has the same value as RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:39:28 -06:00
Larry Finger
549cb92f47 rtl8188eu: Remove CONFIG_INTEL_PROXIM
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-17 10:11:05 -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
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
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