Commit graph

145 commits

Author SHA1 Message Date
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
b8e9aac38d rtl8188eu: Convert "typedef struct PG_PKT_STRUCT_A" to "struct pgpkt"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:54:53 -05:00
Larry Finger
c2a914a341 rtl8188eu: Convert typedef statements in include/HalVerDef.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:43:38 -05:00
Larry Finger
b029dc2b58 rtl8188eu: Convert "typedef struct RF_SHADOW_T" to "struct rf_shadow"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:15:26 -05:00
Larry Finger
7c128d19a1 rtl8188eu: Convert "typedef struct {}LED_871x" to "struct PLED_871x"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:07:13 -05:00
Larry Finger
2671ed45f4 rtl8188eu: Remove DBG_CONFIG_ERROR_RESET - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 14:58:10 -05:00
Larry Finger
dcef8c563c rtl8188eu: Remove DBG_CCX - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 14:52:13 -05:00
Larry Finger
46115db809 rtl8188eu: Remove CONFIG_SUPPORT_USB_INT - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 14:47:05 -05:00
Larry Finger
efdab39128 rtl8188eu: Remove CONFIG_EXT_CLK - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 14:16:07 -05:00
Larry Finger
14012ce6c6 rtl8188eu: Remove CONFIG_H2C_EF - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 08:40:23 -05:00
Larry Finger
0889fb5680 rtl8188eu: Remove CONFIG_DM_RESP_TXAGC - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 08:38:16 -05:00
Larry Finger
059958ad5b rtl8188eu: Remove CONFIG_CHECK_AC_LIFETIME - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:31:58 -05:00
Larry Finger
3656f3fcc9 rtl8188eu: Remove CONFIG_EFUSE_CONFIG_FILE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:29:56 -05:00
Larry Finger
b87f3301ed rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_DYNAMIC_ALLOCATE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:24:20 -05:00
Larry Finger
89aeab9b41 rtl8188eu: Remove CONFIG_PREALLOC_RECV_SKB - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:19:31 -05:00
Larry Finger
c8327a9118 rtl8188eu: Remove DBG_HAL_INIT_PROFILING - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:15:21 -05:00
Larry Finger
af420110a1 rtl8188eu: Remove AP_BUILD_WORKAROUND - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:13:04 -05:00
Larry Finger
74c8d64df5 rtl8188eu: Remove CONFIG_EMBEDDED_FWIMG - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 21:32:31 -05:00
Larry Finger
6d47834466 rtl8188eu: Remove CONFIG_AUTOSUSPEND - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 20:55:51 -05:00
Larry Finger
e93cc6a163 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:25:04 -05:00
Larry Finger
8b0cf8ad5b rtl8188eu: Remove RTL8XXXY_SUPPORT symbols and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:06:56 -05:00
Larry Finger
d76c2ca5f6 rtl8188eu: Remove DBG_IOL_READ_EFUSE_MAP, DBG_IOCTL, and DBG_IO
All three of these are not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:23:01 -05:00
Larry Finger
dfe35fb489 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX - not selected
This change made include/drv_conf.h and core/rtw_ioctl_query.c redundant.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:00:05 -05:00
Larry Finger
48b4d6056b rtl8188eu: Remove CONFIG_RF_GAIN_OFFSET - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 10:53:26 -05:00
Larry Finger
74b9d2f728 rtl8188eu: Remove CONFIG_TX_EARLY_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 22:29:06 -05:00
Larry Finger
d42f678a38 rtl8188eu: Remove CONFIG_TSF_RESET_OFFLOAD - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 21:51:30 -05:00
Larry Finger
44346186dd rtl8188eu: Remove CONFIG_TX_EARLY_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:56:24 -05:00
Larry Finger
3184153e26 rtl8188eu: Remove CONFIG_USB_INTERRUPT_IN_PIPE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:33:31 -05:00
Larry Finger
8c2ab2a5c5 rtl8188eu: Remove CONFIG_USB_SUPPORT_ASYNC_VDN_REQ - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:19:08 -05:00
Larry Finger
bf279c9001 rtl8188eu: Remove CONFIG_RECV_THREAD_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:43:17 -05:00
Larry Finger
d538ad412a rtl8188eu: Remove SUPPORT_HW_RFOFF_DETECTED
This parameter was selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 13:33:00 -05:00
Larry Finger
7333ca4047 rtl8188eu: Remove CONFIG_P2P_PS and CONFIG_P2P_REMOVE_GROUP_INFO
Both are defined whenever CONFIG_P2P is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 11:25:24 -05:00
Larry Finger
f004d23436 rtl8188eu: Remove CONFIG_INTERRUPT_BASED_TXBCN
This one is not devined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 11:13:08 -05:00
Larry Finger
6bec54efb7 rtl8188eu: Remove CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 11:08:13 -05:00
Larry Finger
f4a1669097 rtl8188eu: Rework CONFIG_NATIVEAP_MLME
This variable is set in autoconf.h to be defined whenever CONFIG_AP is
defined. As there is no need for both parameters, CONFIG_NATIVEAP_MLME is
renamed to CONFIG_AP. In addition, the dead code associated with the one
instance where of _CONFIG_NATIVEAP_MLME_ is removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 11:01:46 -05:00
Larry Finger
5656471ac2 rtl8188eu: Remove CONFIG_IPS
This one is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 22:26:35 -05:00
Larry Finger
085a651d9c rtl8188eu: Remove CONFIG_MP_INCLUDED
This one is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:55:30 -05:00
Larry Finger
167e245287 rtl8188eu: Remove CONFIG_LPS
This parameter is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:25:11 -05:00
Larry Finger
cf8cd84af0 rtl8188eu: Remove CONFIG_LPS_LCLK
This one is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:12:05 -05:00
Larry Finger
2f86fc26dd rtl8188eu: Remove CONFIG_XMIT_THREAD_MODE
This variable is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 17:50:08 -05:00
Larry Finger
f50db5cd2c rtl8188eu: Remove DBG_CONFIG_ERROR_DETECT
This variable is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 17:05:40 -05:00
Larry Finger
46ae193f1d rtl8188eu: Remove DBG_CONFIG_ERROR_DETECT_INT
This variable is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 16:54:42 -05:00
Larry Finger
6b313fba49 rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_TX
This configuration option is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 16:35:51 -05:00
Larry Finger
fd62ad44a9 rtl8188eu: Remove CONFIG_USB_RX_AGGREGATION
This parameter is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 00:06:51 -05:00
Larry Finger
eebbb9babd rtl8188eu: Remove CONFIG_USB_TX_AGGREGATION, IDEA_CONDITION, and CONFIG_MINIMAL_MEMORY_USAGE
CONFIG_USB_TX_AGGREGATION is always defined.
IDEA_CONDITION is always defined.
CONFIG_MINIMAL_MEMORY_USAGE is never defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 23:58:55 -05:00
Larry Finger
2462f06b0e rtl8188eu: Remove CONFIG_XMIT_ACK and CONFIG_XMIT_ACK_POLLING
Parameter CONFIG_XMIT_ACK is always defined, and CONFIG_XMIT_ACK_POLLING
is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 23:43:54 -05:00
Larry Finger
e294a4c385 rtl8188eu: Remove CONFIG_ODM_REFRESH_RAMASK and CONFIG_PHY_SETTING_WITH_ODM
Both are always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 23:26:46 -05:00
Larry Finger
37c29a6af7 rtl8188eu: CONFIG_DISABLE_ODM is always undefined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 13:16:50 -05:00
Larry Finger
07a90aac3f rtl8188eu: CONFIG_NEW_SIGNAL_STAT_PROCESS is always selected
The configuration cariable is removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 10:30:16 -05:00
Larry Finger
8fbf5c37a9 rtl8188eu: Remove CONFIG_LED configuration variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 10:22:43 -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
951757e916 rtl8188eu: Remove ANTENNA DIVERSITY configuration variables and dead code
These changes include the following:
1. CONFIG_SW_ANTENNA_DIVERSITY - not selected
2. CONFIG_HW_ANTENNA_DIVERSITY - selected
3. CONFIG_ANTENNA_DIVERSITY - selected

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-14 14:10:10 -05:00
Larry Finger
9ba4954378 rtl8188eu: Remove configuration variables CONFIG_IOL_XXX and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-14 11:21:05 -05:00
Larry Finger
927e984c73 rtl8188eu: Remove CONFIG_LONG_DELAY_ISSUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 22:43:43 -05:00
Larry Finger
f1dfc4fb61 rtl8188eu: Remove CONFIG_HOSTAPD_MLME
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 22:22:57 -05:00
Larry Finger
09bf126f02 rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_TX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 21:42:52 -05:00
Larry Finger
7df5fff724 rtl8188eu: Remove dead code for CONFIG_USE_USB_BUFFER_ALLOC_RX and remove CONFIG_TX_MCAST2UNI lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 21:22:50 -05:00
Larry Finger
6583d55cd1 rtl8188eu: Remove dead code associated with CONFIG_INTEL_XXX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 20:51:15 -05:00
Larry Finger
acda213bd2 rtl8188eu: Remove dead code associated with WAPI
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 01:29:15 -05:00
Larry Finger
7c593a903d rtl8188eu: Remove dead code associated with CONFIG_CONCURRENT snd CONFIG_DUALMAC_CONCURRENT
These two configuration parameters are only associated with the RTL8192DU
device, and can be removed here.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 22:50:49 -05:00
Larry Finger
e79535e153 rtl8188eu: Remove dead code for CONFIG_TDLS
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 20:13:07 -05:00
Larry Finger
0e4009c999 rtl8188eu: Remove dead code for other than USB
The vendor code has pieces of code for PCI, SDIO, and GSPI. Remove it
and CONFIG_USB_HCI.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 13:35:36 -05:00
Larry Finger
c5e461c221 rtl8188eu: Remove configuration parameters and dead code for other devices
The vendor code includes some code that is needed for RTL8182CU, RTL8192DU,
RTL8711, RTL8712, and RTL8723AU. This dead code is removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 10:59:02 -05:00
Larry Finger
1c5cb9ca00 rtl8199eu: Remove all PLATFORM_LINUX ifdefs
This option is always chosen.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 00:30:22 -05:00
Larry Finger
bb27b28f6e rtl8188eu: Remove dead code for other PLATFORM_XX variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-10 21:20:38 -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
e5113c831c rtl8188eu: Fix more sparse warnings
For the most part, these are all endian issues.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-09 17:40:50 -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
5c8ff88003 rtl8192eu: Fix more sparse errors
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-06-20 10:13:14 -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
61b38d5714 rtl8188eu: More sparse cleanups
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-29 14:26:48 -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
eac0a699d8 rtl8188eu: Revert part of 76e49ee
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-26 12:17:22 -05:00
Larry Finger
76e49eeec2 rtl8188eu: Remove conditionals related to chip type
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-26 11:27:11 -05:00
Larry Finger
da6721497d rtl8188eu: More cleanups
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-25 22:24:47 -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
Larry Finger
96adb823b9 rtl8188eu: Update logging
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-25 18:35:42 -05:00
Larry Finger
d597e07a9e rtl8188eu: More cleanups of code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-25 15:45:50 -05:00
Larry Finger
3535ad59e3 rtl8188eu: Change BOOLEAN to bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-18 23:48:10 -05:00
Larry Finger
f6b0b0658a rtl8188eu: Convert VOID to void
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-18 23:37:45 -05:00
Larry Finger
2026ba8979 rtl8188eu: Remove all spaces before \n in format
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-18 23:31:53 -05:00
Larry Finger
f5f3863bc5 rtl8188eu: Remove trailing white space from all source files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-18 23:28:07 -05:00
Larry Finger
77e736c66a rtl8188eu: Remove dead code inside #if 0 ... #endif
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-18 16:16:10 -05:00
Larry Finger
3ad757d04a rtl8188eu: Set load parameter debug for dynamic debugging
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-17 16:52:06 -05:00
Larry Finger
6b5af3a7fe rtl8188eu: Finish of cleanup of byte order files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-15 13:15:11 -05:00
Larry Finger
d928fd343d rtl8188eu: drop private endian framework
These changes are based on the similar modifications made by
Stefan Lippers-Hollmann for the rtl8192du driver.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-15 12:38:25 -05:00
Larry Finger
300892ebfd Fix some of the sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-09 16:00:41 -05:00
Larry Finger
d4fa4d178f Replace __FUNCTION__ with __func__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-09 11:23:32 -05:00
Larry Finger
4620c2a956 Remove the execute privilege bit on all source files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-08 23:36:05 -05:00
Larry Finger
5b23242195 Remove unused files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-08 23:22:54 -05:00
Larry Finger
d25660e511 Remove space before \n in formats
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-08 23:09:18 -05:00
Larry Finger
a55f866a62 Change "if(" to "if (" and the same changes for "while", "for", "switch" and "do"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-08 23:04:25 -05:00
Larry Finger
85df502f5b Initial commit of flattened driver to repo
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-08 16:45:39 -05:00