Commit graph

296 commits

Author SHA1 Message Date
Larry Finger
e136a7d492 rtl8188eu: Remove CONFIG_RECV_THREAD_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:34:16 -05:00
Larry Finger
bc08957f00 rtl8188eu: Remove CONFIG_XMIT_THREAD_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:31:05 -05:00
Larry Finger
993b4435cb rtl8188eu: Fix most errors from smatch
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-10 11:18:03 -05:00
Larry Finger
10a995af18 rtl8188eu: Remove RTK_DMP_PLATFORM
This is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:07:38 -06:00
Larry Finger
cfd60faf5e rtl8188eu: Remove "if 1"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:00:36 -06:00
Larry Finger
4bf02bb7d8 rtl8188eu: Replace typedef for WLAN_BSSID_EX
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:26:23 -06:00
Larry Finger
c0ef452bab rtl8188eu: Remove wrappers around spin_lock_bh and spin_unlock_bh
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 11:55:51 -06:00
Larry Finger
dc4dbd3a7c rtl8188eu: Remove wrapper around spin_lock_init
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-05 14:43:57 -06:00
Larry Finger
1bb0401638 rtl8188eu: CONFIG_TDLS
This variable is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-04 15:31:57 -06:00
Larry Finger
c291f6278d rtl8188eu: Remove ENABLE_USB_DROP_INCORRECT_OUT
It is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-03 21:43:57 -06:00
Larry Finger
dd62caa1e1 rtl8199eu: Replace TRUE and FALSE with true and false
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:25:27 -06:00
Larry Finger
0b5c6eb35b rtl8188eu: Change BOOLEAN to bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:21:23 -06:00
Larry Finger
4081d131cc rtl8188eu: Remove CONFIG_ODM_ADAPTIVITY
This one is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:13:19 -06:00
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
4b61fd5bf7 rtl8188eu: Remove CONFIG_WAPI_SUPPORT
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 11:12:58 -06:00
Larry Finger
7f426e6764 rtl8188eu: Remove CONFIG_LED and related configuration variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 22:55:42 -06:00
Larry Finger
27f745af7b rtl8188eu: Remove some configuration variables defined when CONFIG_P2P is defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 22:48:40 -06:00
Larry Finger
9decc528d8 rtl8188eu: Remove CONFIG_SUPPORT_USB_INT
This one is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:56:24 -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
f7d31c956e rtl8188eu: Convert CONFIG_IOL_EFUSE_PATCH to CONFIG_IOL
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:22:58 -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
6dea1f4270 rtl8188eu: Remove CONFIG_IOL_IOREG_CFG
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:17:09 -06:00
Larry Finger
3ce8fc76d7 rtl8188eu: Remove CONFIG_IOL_IOREG_CFG_DBG
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 16:20:44 -06:00
Larry Finger
ee0ecc2037 rtl8188eu: Remove CONFIG_TX_EARLY_MODE
This one is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 12:41:56 -06:00
Larry Finger
1eb356210f rtl8188eu: Remove all configuration variables that use RTL8188E*
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 12:34:59 -06:00
Larry Finger
efaf0dce64 rtl8188eu: Remove remaining configuration code for other devices
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:38:37 -06:00
Larry Finger
32c09fed58 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:21:19 -06:00
Larry Finger
51e00090df rtl8188eu: Remove CONFIG_PREALLOC_RECV_SKB
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:17:55 -06:00
Larry Finger
1a2d9b8514 rtl8188eu: Remove CONFIG_NEW_SIGNAL_STAT_PROCESS
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:11:07 -06:00
Larry Finger
73821a9a55 rtl8188eu: Remove CONFIG_LONG_DELAY_ISSUE
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:05:06 -06:00
Larry Finger
5a7239faf3 rtl8188eu: Remove CONFIG_USB_RX_AGGREGATION
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:23:17 -06:00
Larry Finger
3263fc1330 rtl8188eu: Remove CONFIG_USB_TX_AGGREGATION
This one was defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:19:01 -06:00
Larry Finger
42a1d09fe1 rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_RX
This was never defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-26 14:06:11 -06:00
Larry Finger
ad60073d21 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-25 22:07:13 -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
dae15933ce rtl8188eu: Remove CONFIG_LPS
This symbol is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 20:32:00 -06:00
Larry Finger
e932bd9250 rtl8188eu: Remove CONFIG_LPS_LCLK
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 20:22:38 -06:00
Larry Finger
636309c83f rtl8188eu: Remove SUPPORT_HW_RFOFF_DETECTED
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 10:26:03 -06:00
Larry Finger
4a969a1ae9 rtl8188eu: Remove CONFIG_PHY_SETTING_WITH_ODM
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 09:52:54 -06:00
Larry Finger
a76a620b5f rtl8188eu: Remove CONFIG_ODM_REFRESH_RAMASK
This parameter is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 09:43:25 -06:00
Larry Finger
2b27b83d40 rtl8188eu: Remove CONFIG_80211N_HT
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 20:30:23 -06:00
Larry Finger
49437ec417 rtl8188eu: Remove CONFIG_TX_MCAST2UNI
This parameter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 10:11:36 -06:00
Larry Finger
8c846f57f0 rtl8188eu: Remove CONFIG_INTERRUPT_BASED_TXBCN and derivatives
These are never selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:59:38 -06:00
Larry Finger
5ded2b3ded rtl8188eu: Remove CONFIG_XMIT_ACK and CONFIG_XMIT_ACK_POLLING
The first one was always selected. The second was not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:37:42 -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
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
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
481d6c817d rtl8188eu: Clean up more Sparse messages
There are still problems remaining, but those are believed to be cosmetic.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-29 15:27:28 -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
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