Commit graph

83 commits

Author SHA1 Message Date
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
cfd60faf5e rtl8188eu: Remove "if 1"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:00:36 -06:00
Larry Finger
89552a85d0 rtl8188eu: Remove _rtw_spinlock_free
This routine does nothing.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 16:48:54 -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
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
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
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
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
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
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
54abf571c4 rtl8188eu: Change C90 comments to /* */ form
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 15:34:32 -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
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
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
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
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
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
41245153f4 r8188eu: Fix an le16 problem
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-13 16:28:55 -06:00
Larry Finger
c2741d0bec rtl8188eu: Fix compilation for kernels older that 2.6.36
These changes will apply at least back to 2.6.32.

From: Stas Sergeev <stsp@list.ru>
Signed-off-by: Stas Sergeev <stsp@list.ru>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-12 11:05:30 -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
Larry Finger
c2a0523bb7 rtl8188eu: Fix smatch warning in core/rtw_xmit.c
Smatch shows the following:
  CHECK   /home/finger/rtl8188eu/core/rtw_xmit.c
/home/finger/rtl8188eu/core/rtw_xmit.c:1560 dequeue_one_xmitframe() info: ignoring unreachable code.

A while loop that has a break in the first pss is converted to to an if statement.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-06 22:11:06 -05:00
Larry Finger
96ba7d3cca rtl8188eu: Fix smatch warning in core/rtw_xmit.c
Smatch displays the following:
  CHECK   /home/finger/rtl8188eu/core/rtw_xmit.c
/home/finger/rtl8188eu/core/rtw_xmit.c:1571 dequeue_one_xmitframe() info: ignoring unreachable code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:25:22 -05:00
Álvaro Fernández Rojas
a7e9834fbc Remove unused variables from core files. 2013-09-06 02:44:02 +02: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
Larry Finger
527bc4066f rtl8188eu: Fix checkpatch errors in core/rtw_xmit.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-02 22:16:03 -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
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
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
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