Larry Finger
b2e37eb332
rtl8188eu: Do some cleanup in hal/usb_ops_linux.c
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 23:44:54 -06:00
Larry Finger
64a0fd240e
rtl8188eu: Fix an endian issue that was missed
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 18:31:33 -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
b2de21036e
rtl8188eu: Remove CONFIG_LITTLE_ENDIAN
...
Replace with kernel-devined __LITTLE_ENDIAN. This also applies
to CONFIG_BIG_ENDIAN.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 16:45:43 -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
1038ee1874
rtl8188eu: Replace sNByte with appropriate s value
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 17:58:53 -06:00
Larry Finger
c8a4d4ba06
rtl8188eu: Replace u8Byte with u64
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 17:52:40 -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
8aad1f53ce
rtl8188eu: Convert u4Bytw to u32
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 16:55:10 -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
007b33ebde
rtl8188eu: Remove code for chips other than RTL8188EU
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 14:52:15 -06:00
Larry Finger
3a518f1886
rtl8188eu: Remove remainder of code that depends on DM_ODM_SUPPORT_TYPE
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 13:48:00 -06:00
Larry Finger
78015aef77
rtl8188eu: Remove dead code for DM_ODM_SUPPORT_TYPE - Part 1
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-29 21:29:35 -06:00
Larry Finger
6b438a9749
rtl8188eu: Remove more unused files
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:53:09 -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
ec15c88773
rtl8188eu: Make debug level settable from module loading
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 00:40:52 -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
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
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