Commit graph

338 commits

Author SHA1 Message Date
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
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
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
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
be58a411b0 rtl8188eu: Enable LEDs
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-23 18:46:53 -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
22afcbab09 rtl8188eu: Remove typedef statements from include/HalVerDef.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-17 09:57:29 -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
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
26b163f24f rtl8188eu: Remove typedef statements from include/rtw_rf.h and delete unused header files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-15 12:43:37 -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
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
460e260891 rtl8188eu: Convert typedef WLAN_PWR_CFG to struct wl_pwr_cfg
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 10:59:57 -05:00
Larry Finger
752f418bf0 rtl8188eu: Remove CONFIG_EMBEDDED_FWIMG
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 21:09:07 -05:00
Larry Finger
83ff417f97 rtl8188eu: Fix build error
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 21:03:39 -05:00
Larry Finger
b054bfff27 rtl8188eu: Convert driver to use external firmware
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 21:01:49 -05:00
Larry Finger
669536c180 rtl8188eu: Remove CONFIG_SPECIAL_SETTING_FOR_FUNAI_TV
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 14:24:31 -05:00
Larry Finger
6eb9cc27c9 rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_TX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 14:20:06 -05:00
Larry Finger
f42ef2ce84 rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_TX
This change also allows the removal of rtw_set_tx_chksum_offload() as
it is now empty.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 14:14:19 -05:00
Larry Finger
2339d6c52a rtl8188eu: Remove DBG_CONFIG_ERROR_DETECT
This symbol is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:21:04 -05:00
Larry Finger
15018af1a2 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_DYNAMIC_ALLOCATE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:50:02 -05:00
Larry Finger
8fd80041bf rtl8188eu: Remove CONFIG_DISABLE_ODM
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:43:51 -05:00
Larry Finger
e136a7d492 rtl8188eu: Remove CONFIG_RECV_THREAD_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:34:16 -05:00
Larry Finger
bc08957f00 rtl8188eu: Remove CONFIG_XMIT_THREAD_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:31:05 -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
10a995af18 rtl8188eu: Remove RTK_DMP_PLATFORM
This is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:07:38 -06: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
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
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
1bb0401638 rtl8188eu: CONFIG_TDLS
This variable is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-04 15:31:57 -06:00
Larry Finger
c291f6278d rtl8188eu: Remove ENABLE_USB_DROP_INCORRECT_OUT
It is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-03 21:43:57 -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
4081d131cc rtl8188eu: Remove CONFIG_ODM_ADAPTIVITY
This one is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:13:19 -06:00
Larry Finger
ed192682fe rtl_8188eu: Remove CONFIG_MMC_PM_KEEP_POWER, and CONFIG_WOWLAN
These parameters are not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:03:18 -06:00
Larry Finger
2a75f42bff rtl8188eu: Remove CONFIG_EFUSE_CONFIG_FILE and CONFIG_RF_GAIN_OFFSET
These two interdependent parameters are not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 11:34:17 -06:00
Larry Finger
4b61fd5bf7 rtl8188eu: Remove CONFIG_WAPI_SUPPORT
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 11:12:58 -06:00
Larry Finger
7f426e6764 rtl8188eu: Remove CONFIG_LED and related configuration variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 22:55:42 -06:00
Larry Finger
27f745af7b rtl8188eu: Remove some configuration variables defined when CONFIG_P2P is defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 22:48:40 -06:00
Larry Finger
9decc528d8 rtl8188eu: Remove CONFIG_SUPPORT_USB_INT
This one is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:56:24 -06:00
Larry Finger
314bad7109 rtl8188eu: FRemove the undefined CONFIG_IOL_LLT
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:38:32 -06:00
Larry Finger
1155811fcf rtl8188eu: Remove CONFIG_IOL
This parameter is defined by default.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:36:23 -06:00
Larry Finger
f7d31c956e rtl8188eu: Convert CONFIG_IOL_EFUSE_PATCH to CONFIG_IOL
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:22:58 -06:00
Larry Finger
71377b69a4 rtl8188eu: Change CONFIG_IOL_READ_EFUSE_MAP to CONFIG_IOL
When CONFIG_IOL is defined, then CONFIG_IOL_READ_EFUSE_MAP is automatically
defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:20:25 -06:00
Larry Finger
6dea1f4270 rtl8188eu: Remove CONFIG_IOL_IOREG_CFG
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:17:09 -06:00
Larry Finger
3ce8fc76d7 rtl8188eu: Remove CONFIG_IOL_IOREG_CFG_DBG
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 16:20:44 -06:00
Larry Finger
ee0ecc2037 rtl8188eu: Remove CONFIG_TX_EARLY_MODE
This one is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 12:41:56 -06:00
Larry Finger
1eb356210f rtl8188eu: Remove all configuration variables that use RTL8188E*
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 12:34:59 -06:00
Larry Finger
efaf0dce64 rtl8188eu: Remove remaining configuration code for other devices
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:38:37 -06:00
Larry Finger
32c09fed58 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:21:19 -06:00
Larry Finger
51e00090df rtl8188eu: Remove CONFIG_PREALLOC_RECV_SKB
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:17:55 -06:00
Larry Finger
1a2d9b8514 rtl8188eu: Remove CONFIG_NEW_SIGNAL_STAT_PROCESS
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:11:07 -06:00
Larry Finger
73821a9a55 rtl8188eu: Remove CONFIG_LONG_DELAY_ISSUE
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:05:06 -06:00
Larry Finger
5a7239faf3 rtl8188eu: Remove CONFIG_USB_RX_AGGREGATION
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:23:17 -06:00
Larry Finger
3263fc1330 rtl8188eu: Remove CONFIG_USB_TX_AGGREGATION
This one was defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:19:01 -06:00
Larry Finger
42a1d09fe1 rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_RX
This was never defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:06:11 -06:00
Larry Finger
ad60073d21 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-25 22:07:13 -06:00
Larry Finger
f6fb81d6a0 rtl8188eu: Remove antenna diversity configuration variables
Always selected are CONFIG_ANTENNA_DIVERSITY and CONFIG_hW_ANTENNA_DIVERSITY.
Not selected is CONFIG_SW_ANTENNA_DIVERSITY.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-25 15:41:18 -06:00
Larry Finger
dae15933ce rtl8188eu: Remove CONFIG_LPS
This symbol is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 20:32:00 -06:00
Larry Finger
e932bd9250 rtl8188eu: Remove CONFIG_LPS_LCLK
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 20:22:38 -06:00
Larry Finger
636309c83f rtl8188eu: Remove SUPPORT_HW_RFOFF_DETECTED
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 10:26:03 -06:00
Larry Finger
4a969a1ae9 rtl8188eu: Remove CONFIG_PHY_SETTING_WITH_ODM
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 09:52:54 -06:00
Larry Finger
a76a620b5f rtl8188eu: Remove CONFIG_ODM_REFRESH_RAMASK
This parameter is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 09:43:25 -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
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
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
5ded2b3ded rtl8188eu: Remove CONFIG_XMIT_ACK and CONFIG_XMIT_ACK_POLLING
The first one was always selected. The second was not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:37:42 -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
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
529328fd3d rtl8188eu: Replace wrapper for memcpy
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 14:50:04 -06:00
Larry Finger
276a62340a rtl8188eu: Fix more endian issues
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-16 13:00:49 -06:00
Larry Finger
e8487f5809 rtl8188eu: Remove code selected by CONFIG_DUALMAC_CONCURRENT
This variable only applies to RTL8192DU.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-15 14:41:56 -06:00
Larry Finger
020675ff42 rtl8188eu: Remove code selected when CONFIG_CONCURRENT_MODE is defined
This parameter can only be set for RTL8192DU.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-15 14:31:30 -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
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
6dc546efc8 rtl8188eu: Remove byte ordering routines
The kernel routines can handle everything that is needed

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 23:58:29 -06:00
Larry Finger
b2e37eb332 rtl8188eu: Do some cleanup in hal/usb_ops_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 23:44:54 -06:00
Larry Finger
64a0fd240e rtl8188eu: Fix an endian issue that was missed
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 18:31:33 -06:00
Larry Finger
7c7f632ac7 rtl8188eu: Fix some sparse warnings
The driver did not work on PowerPC, which is big endian. This patch
fixes all the sparse warnings concerning improper use of __le16 and __le32
variables.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-27 23:14:58 -06:00