Commit graph

63 commits

Author SHA1 Message Date
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
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
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
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
8db176767f rtl8188eu: Fix Sparse warnings in core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-18 22:28:04 -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
dd606233f2 rtl8188eu: Remove dead code for FREEBSD
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 16:58:13 -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
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
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
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
7120e63109 rtl8188eu: Fix chackpatch errors in include/*.h - part 2
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-14 22:03:17 -05:00
Larry Finger
f9d86b986b rtl8188eu: Fix C90 comments in include/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 23:36:23 -05:00
Larry Finger
7b59aa12db rtl8188eu: Fix checkpatch errors in core/rtw_wlan_util.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-02 12:12:37 -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
d8af6fff83 rtl8188eu: Convert typedef for _workitem to struct work_struct
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-25 11:02:03 -05:00
Larry Finger
ee237545ff rtl8188eu: Convert typedef for _nic_hdl to struct net_device *
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-25 10:53:16 -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
Larry Finger
e76fb1a97d rtl8188eu: Convert typedef for _buffer to unsigned char
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 17:09:06 -05:00
Larry Finger
3e3d47445a rtl8188eu: Convert typedef for _pkt into struct sk_buff
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 17:03:54 -05:00
Larry Finger
9c56f20d4c rtl8188eu: Replace typedef for _timer with struct timer_list
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 15:10:50 -05:00
Larry Finger
7b01fe6191 rtl8188eu: Convert typedef for _lock to spinlock_t
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 15:00:47 -05:00
Larry Finger
5f133c3764 rtl8188eu: Convert typedef for _sema and _pwrlock to struct semaphore
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 14:17:51 -05:00
Larry Finger
73f9c27ffd rtl8188eu: Convert typedef for _mutex to struct mutex
This will break builds for kernels before mutexes were introduced. As this
is very early, it should not affect any modern users.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 14:00:39 -05:00
Larry Finger
dfb5277a29 rtl8188eu: Replace typedefs related to threads with standard kernel types
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 12:47:20 -05:00
Larry Finger
2685b52404 rtl8188eu: Replace several local size defines/typedefs with kernel header version
These include the following:

SIZE_T => size_t
SSIZE_T => ssize_t
SIZE_PTR => size_t

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-24 12:19:14 -05:00
Larry Finger
41ad3e27c6 rtl8188eu: Convert some typedef statements from include/osdep_service.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:39:20 -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
57d32befb3 rtl8188eu: Remove DBG_DELAY_OS - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:11:10 -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
a31bd964a2 rtl8188eu: Remove CONFIG_WAKELOCK - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 11:09:05 -05:00
Larry Finger
161c8d6e80 rtl8188eu: Remove DBG_MEM_ALLOC - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 23:27:16 -05:00
Larry Finger
8fff3d8663 rtl8188eu: Remove CONFIG_USE_VMALLOC - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 23:24:20 -05:00
Larry Finger
f2c2552bb1 rtl8188eu: Remove CONFIG_IOCTL_CFG80211 and others
The other parameters are CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER,
CONFIG_SET_SCAN_DENY_TIMER, CONFIG_DRV_ISSUE_PROV_REQ, and
RTW_USE_CFG80211_STA_EVENT. None of these are defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-20 13:18:13 -05:00
Larry Finger
6b313fba49 rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_TX
This configuration option is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-19 16:35:51 -05:00
Larry Finger
4c57c6047a rtl8188eu: Remove configuration variables *ANDROID* and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-12 10:54:26 -05:00
Larry Finger
1c5cb9ca00 rtl8199eu: Remove all PLATFORM_LINUX ifdefs
This option is always chosen.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-11 00:30:22 -05:00
Larry Finger
a3ca3380b5 rtl8188eu: Remove dead code used for PLATFORM_WINDOWS, PLATFORM_OS_XP, and PLATFORM_OS_CE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-10 20:46:15 -05:00
Larry Finger
e5113c831c rtl8188eu: Fix more sparse warnings
For the most part, these are all endian issues.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-09 17:40:50 -05:00
Larry Finger
327817d32a rtl8188eu: Fix most sparse warnings other than endedness problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-06-03 14:52:18 -05:00
Larry Finger
925510ff1a rtl8188eu: Change all MAC_FMT to %pM
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-30 15:51:53 -05:00