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
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
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
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
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
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
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
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
Larry Finger
77e8b5de91
rtl8188eu: Fix endedness of EEPROM readout for BE machines
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 21:14:34 -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
b77dd7b8df
rtl8188eu: Replace p1byte with u8
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 17:50:44 -06:00
Larry Finger
5f39818cb5
rtl8188eu: Change u2Byte to u16
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 16:52:58 -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
17d1637977
rtl8188eu: Replace PVOID and VOID
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:07:17 -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
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
494792ba07
rtl8188eu: Flatten directory hal/
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 22:09:56 -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
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
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
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
Á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
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
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
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
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
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
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
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
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
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
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
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
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