Commit graph

267 commits

Author SHA1 Message Date
Larry Finger
62ef49de15 rtl8188eu: Remove the PLATFORM_LINUX tests
This configuration parameter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 18:29:43 -06:00
Larry Finger
a68c6cc26e rtl8188eu: Remove code used only for Windows
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 14:28:28 -06:00
Larry Finger
2caee63170 rtl8188eu: Remove rest of dead code depending on CONFIG_MP_INCLUDED
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 13:49:38 -06:00
Larry Finger
065126d8ce rtl8188eu: Place driver rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104 in branch v4.1.8_9499
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-11 15:15:04 -06:00
Larry Finger
bad0b4cde4 rtl8188eu: Remove cases of two or more blank lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 18:00:05 -06:00
Larry Finger
e91077579f rtl8188eu: Remove _func_enter_ and _func_exit_ statements
Kernel tracing is more effective.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 16:31:15 -06:00
Larry Finger
849d585656 rtl8188eu: Fix some edit errors from replace spin lock wrappers
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 18:42:41 -06:00
Larry Finger
8b76b3b701 rtl8188eu: Convert spin lock macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 17:37:57 -06:00
Larry Finger
9fe0c17a65 rtl8188eu: Remove wrapper _rtw_spinlock_init
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 11:14:29 -06:00
Larry Finger
1d89650644 Merge branch 'master' of http://github.com/lwfinger/rtl8188eu 2014-11-24 14:32:19 -06:00
Larry Finger
486757db0d r8188eu: Fix reading of EEPROM on big-endian hardware
Signed-off-by: Larry Finger <l]Larry.Finger@lwfinger.net>
2014-11-24 14:29:11 -06:00
Larry Finger
287f6491f3 rtl8188eu: Part 3 of the upgrades from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-20 00:12:27 -06:00
Larry Finger
dc10076d5c r8188eu: Make error in EEPROMId log even at default debug level
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-12 18:42:52 -06:00
Larry Finger
7c902ec968 rtl8188eu: Improve firmware loading diagnostics
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-12 11:18:04 -06:00
Stas Sergeev
499e15d791 make firmware buffer persistent to not request firmware on every access 2014-02-14 13:46:49 -06:00
Larry Finger
295bb23ffe rtl8188eu: Fix reporting of signal strength and quality
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-12-30 21:18:17 -06:00
Larry Finger
91938194fd rtl8188eu: Make this code look exactly like the code in the kernel version
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-11-29 16:10:20 -06:00
Larry Finger
d53cd09c9d staging: r8188eu: Convert driver to use external firmware
As originally submitted, this driver acquired its firmware from data
statements embedded in the source code. This information has been extracted
into a binary file that has been accepted into the linux-firmware git
repo as commit ffc47f1 entitled "rtlwifi: Add new firmware files for
rtl8188eu". This patch switches the driver to use this file, and deletes
the firmware data from the source.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-19 16:23:12 -05:00
Larry Finger
19db43ecbd rtl8188eu: Backport kernel version
This driver was added to the kernel with version 3.12. The changes in that
version are now brought back to the GitHub repo. Essentually all of the code
is updated.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-19 12:45:47 -05:00
Larry Finger
f4d1258158 r8188eu: Fix skb leak in usb_read_port_complete()
In the completion routine for a usb_fill_bulk_urb() call, an skb is
leaked whenever the status of the USB transaction is not zero. A call
to skb_put() is needed to fix the problem.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-10-07 10:13:38 -05:00
Álvaro Fernández Rojas
04251b45bb Remove more unused variables from hal files. 2013-09-27 22:01:01 +02:00
Álvaro Fernández Rojas
9365e8f151 Remove unused variables from hal files. 2013-09-27 21:41:36 +02:00
Larry Finger
a5e071f8da rtl8188eu: Fix smatch warnings in hal/rtl8188e_hal_init.c
Smatch displays the following:
  CHECK   /home/finger/rtl8188eu/hal/rtl8188e_hal_init.c
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:1695 hal_EfusePgPacketWriteData() info: ignoring unreachable code.
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2269 Hal_ReadPowerValueFromPROM_8188E() error: buffer overflow 'pwrInfo24G->IndexBW40_Base[rfPath]' 5 <= 5
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2466 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_CCK_Base[rfPath]' 14 <= 14
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2468 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_BW40_Base[rfPath]' 14 <= 14
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2474 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_CCK_Base[rfPath]' 14 <= 14
/home/finger/rtl8188eu/hal/rtl8188e_hal_init.c:2475 Hal_ReadTxPowerInfo88E() error: buffer overflow 'pHalData->Index24G_BW40_Base[rfPath]' 14 <= 14

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:32:25 -05:00
Larry Finger
1d3cceea6a rtl8188eu: Fix smatch warnings in hal/HalPhyRf_8188e.c
Smatch reports the following:
  CHECK   /home/finger/rtl8188eu/hal/HalPhyRf_8188e.c
/home/finger/rtl8188eu/hal/HalPhyRf_8188e.c:1878 PHY_APCalibrate_8188E() info: ignoring unreachable code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:14:11 -05:00
Larry Finger
4749e2c19e rtl8188eu: Fix smatch warning in hal/usb_ops_linux.c
Smatch shows the following:
  CHECK   /home/finger/rtl8188eu/hal/usb_ops_linux.c
/home/finger/rtl8188eu/hal/usb_ops_linux.c:630 usb_read_port() warn: variable dereferenced before check 'precvbuf' (see line 627)

The code is refactored.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:58:13 -05:00
Larry Finger
7446992dc4 rtl8188eu: Remove include/circ_buf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-15 20:09:00 -05:00
Larry Finger
2db42a3fbf rtl8188eu: Convert non-standard variable types to regular ones
These include changing s1Byte to s8, etc.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-14 12:03:28 -05:00
Larry Finger
a311b57c32 rtl8188eu: Fix remaining checkfile errors in hal/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-08 22:23:49 -05:00
Larry Finger
f527ca59c9 rtl8188eu: Fix checkpatch errors in hal/rtl8188e_mp.c, hal/rtl8188e_phycfg.c, and hal/rtl8188e_rf6052.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-08 09:31:29 -05:00
Larry Finger
9c3c9ddc8c rtl8188eu: Fix checkpatch errors for hal/rtl8188e_hal_init.c and hal/rtl8188e_dm.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-08 00:41:21 -05:00
Larry Finger
5a29bf421e rtl8188eu: Fix checkpatch errors for hal/rtl8188e_cmd.c, hal/odm_interface.c, hal/odm_RegConfig8188E.c, and hal/odm_RTL8188E.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-07 16:24:48 -05:00
Larry Finger
f083317939 rtl8188eu: Fix checkpatch errors in hal/odm_HWConfig.c and hal/odm_debug.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-07 14:30:06 -05:00
Larry Finger
bc21c61991 rtl8188eu: Fix checkpatch errors in hal/odm.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-06 22:34:32 -05:00
Larry Finger
98a63bfadd rtl8188eu: Fix checkpatch errors and checks in hal/HalPwrSeqCmd.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-06 15:50:37 -05:00
Larry Finger
cacca3d6b2 rtl8188eu: Fix checkpatch errors in hal/HalPhyRf.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-06 15:37:28 -05:00
Larry Finger
f1cf522a99 rtl8188eu: Fix checkpatch errors in hal/HalPhyRf_8188e.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-06 15:24:06 -05:00
Larry Finger
574e5bb72b rtl8188eu: Fix checkpatch errors and warnings in hal/hal_intf.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-04 18:08:37 -05:00
Larry Finger
e0542cf999 rtl8188eu: Fix checkfile errors in hal/HalHWImg8188E_RF.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-04 17:34:48 -05:00
Larry Finger
4e6e85f466 rtl8188eu: Fix checkpatch errors in hal/HalHWImg8188E_MAC.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-04 17:14:19 -05:00
Larry Finger
265bcabda9 rtl8188eu: Fix errors in hal/hal_com.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-04 15:12:30 -05:00
Larry Finger
716a0e47ff rtl8188eu: Fix checkpatch errors in hal/Hal8188EPwrSeq.c and hal/HalHWImg8188E_BB.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-04 14:20:21 -05:00
Larry Finger
a153120e2e rtl8188eu: Fix checkpatch errors and warnings in hal/Hal8188EFWImg_CE.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-03 11:04:21 -05:00
Larry Finger
6d1127b181 rtl8188eu: Remove dead code for CONFIG_FILE_FWIMG
Eventually the internal FW will be replaced by an external file; however,
the code will be redone. Remove this stuff for now.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 11:09:18 -05:00
Larry Finger
1ada4e9170 rtl8188eu: Remove configuration parameter CONFIG_80211N_HT
This one will always be selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 10:56:06 -05:00
Larry Finger
f55990fd29 rtl8188eu: Remove most of the remaining parameters from autoconf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:47:25 -05:00
Larry Finger
1e96c9a1d4 rtl8188eu: Remove MP_DRIVER conditionals - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:26:30 -05:00
Larry Finger
caeea00c03 rtl8188eu: Remove SIC_ENABLE and SIC_HW_SUPPORT - neither selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:13:06 -05:00
Larry Finger
90575aca87 rtl8188eu: Remove code for ENABLE_USB_DROP_INCORRECT_OUT and DISABLE_BB_RF
Neither is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:58:08 -05:00
Larry Finger
6b83fa17db rtl8188eu: Remove POWER_TRAINING_ACTIVE - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:52:05 -05:00
Larry Finger
a0911e4309 rtl8188eu: Remove RATE_ADAPTIVE_SUPPORT - this is selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:47:50 -05:00
Larry Finger
4f92869c5b rtl8188eu: Remove "if 1" statements
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:37:57 -05:00
Larry Finger
2bd2f4b4c8 rtl8188eu: Convert typedef for _adapter, etc.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 20:08:39 -05:00
Larry Finger
e8012b9521 rtl8188eu: Convert typedef statement in include/rtw_pwrctrl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 18:15:45 -05:00
Larry Finger
b2804a6af7 rtl8188eu: Convert typedef statement from include/hal_intf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 18:04:37 -05:00
Larry Finger
476eaf9a4e rtl8188eu: Convert typedef statements from include/odm_HWConfig.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 17:56:14 -05:00
Larry Finger
a4a1896f86 rtl8188eu: Convert typedef statements in include/Hal8188EPwrSeq.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 17:29:07 -05:00
Larry Finger
8d9e1697d6 rtl8188eu: Convert typedef statements in include/odm_HWConfig.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:52:36 -05:00
Larry Finger
ec5245f648 rtl8188eu: Convert typedef statements in include/rtw_rf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:27:19 -05:00
Larry Finger
5cfecb6edc rtl8188eu: Convert most typedef statements in include/rtw_mp.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:08:55 -05:00
Larry Finger
7161cf35ba rtl8188eu: Convert typedef statements in include/rtl8188e_hal.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 15:54:27 -05:00
Larry Finger
75fa3f7c0b rtl8188eu: Convert typedef statements in include/odm_types.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 15:25:06 -05:00
Larry Finger
cf3dfeecf9 rtl1811eu: Convert typedef statements in include/rtl8188e_cmd.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 14:58:04 -05:00
Larry Finger
7449a3d03b rtl8188eu: Convert typedef statements in include/Hal8188EPhyCfg.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 13:36:38 -05:00
Larry Finger
f311a752bb rtl8188eu: Convert all typedef statements in include/odm.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 11:20:42 -05:00
Larry Finger
3d755766c9 rtl8188eu: Convert typedef for _list to struct list_head
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-25 09:49:25 -05:00
Larry Finger
689d01adf6 rtl8188eu: Convert typedef for _queue to struct __queue
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 17:55:38 -05:00
Larry Finger
3e3d47445a rtl8188eu: Convert typedef for _pkt into struct sk_buff
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 17:03:54 -05:00
Larry Finger
2685b52404 rtl8188eu: Replace several local size defines/typedefs with kernel header version
These include the following:

SIZE_T => size_t
SSIZE_T => ssize_t
SIZE_PTR => size_t

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 12:19:14 -05:00
Larry Finger
41ad3e27c6 rtl8188eu: Convert some typedef statements from include/osdep_service.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:39:20 -05:00
Larry Finger
a831dc1f7e rtl8188eu: Convert most typedef statements from include/rtw_pwrctrl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:24:42 -05:00
Larry Finger
76c8b6a9a1 rtl8188eu: Convert most typedef statements from include/odm_interface.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 21:54:38 -05:00
Larry Finger
a01908ab27 rtl8188eu: Convert the typedef statements in include/wlan_bssdef.h
One remains that I still do not know how to convert; however, it has been
moved to os_dep/ioctl_linux.c where it is used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 21:31:04 -05:00
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