Larry Finger
77d786b6e8
rtl8188eu: Copy the code from the kernel into a new branch
...
This version takes advantage of all the cleanups to the code. It has
been modified to build on older kernels.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-06-08 18:46:35 -05:00
Larry Finger
126d786bd4
rtl8188eu: Fix fallthrough statements
...
In kernel 5.4.0-rc3, the kernel includes define a "fallthrough" macro,
which breaks a couple of the statements in the driver. Use __fallthrough__
instead.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-10-16 11:10:48 -05:00
Larry Finger
2525cdee47
rtl8188eu: Fis fall-through warning
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2019-09-28 13:14:03 -05:00
Larry Finger
61690cbca6
rtl8188eu: rtw_get_current_time() is jiffies
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:20:06 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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