Commit graph

148 commits

Author SHA1 Message Date
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
87f2c0473e rtl8188eu: More endian fixes
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-18 11:42:22 -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
f0f2a06c6d rtl8188eu: Fix a missing cpu_to_le16
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-09 17:28:30 -06:00
Larry Finger
a8e1fbf1f9 rtl8188eu: Remove __func_enter__ and __func_exit__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 16:20:25 -06:00
Larry Finger
06334102cd rtl8188eu: Replace _FALSE and _TRUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:13:24 -06:00
Larry Finger
b6b121512b rtl8188eu: Remove dead code inside #if 0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:00:11 -06:00
Larry Finger
2d60bad9ad rtl8188eu: FRemove dead code for other than USB
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 11:13:03 -06:00
Larry Finger
bb33327257 rtl8188eu: Remove all trailing spaces from code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 00:59:46 -06:00
Larry Finger
8db176767f rtl8188eu: Fix Sparse warnings in core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-18 22:28:04 -06:00
Larry Finger
202d20077c rtl8192eu: Replace typedefs for struct adapter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 17:13:53 -06:00
Larry Finger
b0c8a54865 rtl8188eu: Remove other device configurations from core and hal
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 18:58:56 -06:00
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
dd606233f2 rtl8188eu: Remove dead code for FREEBSD
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 16:58:13 -06:00
Larry Finger
a0c85b341e rtl8188eu: Remove some Sparse problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-14 23:08:37 -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
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
c8a380cd16 rtl8188eu: Make updates from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
This patch is step 1 of many. This driver has much better sensitivity than
the previous version.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-19 14:32:12 -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
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
Álvaro Fernández Rojas
a7e9834fbc Remove unused variables from core files. 2013-09-06 02:44:02 +02:00
Larry Finger
9dd1827027 rtl8188eu: Fix checkpatch errors in include/*.h - part 1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-13 21:01:38 -05:00
Larry Finger
09a9f2fc31 rtl8188eu: Fix checkpatch errors in core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-31 21:12:42 -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
237fa4c813 rtl8188eu: Remove a few more configuration variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 00:03:32 -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
35044413a3 rtl8188eu: Fix remainder of trivial typedef statements
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 20:15:31 -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
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
ed7a8186fe rtl8188eu: Convert typedef statements in include/rtw_mlme.h
2
2013-07-26 16:37:24 -05:00
Larry Finger
b925112e2a rtl8188eu: Convert typedef statements in include/rtw_mlme_ext.h
Some 5G material was removed. More to come.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 13:02:50 -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
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
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
e9bc67fa4f rtl8188eu: Remove CONFIG_PATCH_JOIN_WRONG_CHANNEL - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:03:50 -05:00
Larry Finger
0e3b2adb3f rtl8188eu: Remove CONFIG_SPCT_CH_SWITCH - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 21:52:18 -05:00
Larry Finger
88dda12d3b rtl8188eu: Remove CHECK_EVENT_SEQ - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 21:40:46 -05:00
Larry Finger
cc7f562a55 rtl8188eu: Remove CONFIG_DEBUG_RTL871X - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 21:36:22 -05:00
Larry Finger
5175f81cb1 rtl8188eu: Remove CONFIG_DBG_P2P
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 20:37:56 -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
712e0297fc rtl8188eu: Remove CONFIG_80211D - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 11:02:38 -05:00
Larry Finger
c803b22c53 rtl8188eu: Remove CONFIG_STA_MODE_SCAN_UNDER_AP_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 21:59:59 -05:00
Larry Finger
41163d07a7 rtl8188eu: Remove DBG_EXPIRATION_CHK - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 17:03:39 -05:00
Larry Finger
c7c446f21a rtl8188eu: Remove CONFIG_DFS - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:58:15 -05:00
Larry Finger
c4b448935f rtl8188eu: Remove DBG_RX_SEQ - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 16:39:17 -05:00
Larry Finger
39f4cd8546 rtl8188eu: Remove CONFIG_WFD - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 13:53:07 -05:00
Larry Finger
f2c2552bb1 rtl8188eu: Remove CONFIG_IOCTL_CFG80211 and others
The other parameters are CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER,
CONFIG_SET_SCAN_DENY_TIMER, CONFIG_DRV_ISSUE_PROV_REQ, and
RTW_USE_CFG80211_STA_EVENT. None of these are defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 13:18:13 -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
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
9799b069cb rtl8188eu: Remove RTL8192C_RECONFIG_TO_1T1R
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 22:15:17 -05:00
Larry Finger
e8b7f536c4 rtl8188eu: Remove CONFIG_WIFI_TEST
This parameter is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 21:30:21 -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
d2528caa5f rtl8188eu: Remove CONFIG_FIND_BEST_CHANNEL
This variable is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 17:13:46 -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
387ba28bf9 rtl8188eu: Remove CONFIG_DISABLE_MCS13TO15
This variable is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 16:41:41 -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
9a0ed4ec27 rtl8188eu: Remove CONFIG_ACTIVE_KEEP_ALIVE_CHECK
This configuration variable is always set

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-18 23:30:35 -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
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
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
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
285af1cf22 rtl8188eu: Remove dead code inside "ifdef PLATFORM_FREEBSD" sections
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-10 20:10:20 -05:00
Larry Finger
d2c90ee304 rtl8188eu: Change C90 comments to kernel form for files in core/
This commit also includes some sparse fixes for endian issues.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-09 17:38:46 -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
254539b5ec rtl8188eu: Fix more sparse warnings
Most of these are for endian issues

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-06-07 09:43:09 -05:00
Larry Finger
925510ff1a rtl8188eu: Change all MAC_FMT to %pM
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-30 15:51:53 -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
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
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
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
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
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
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