Larry Finger
65bb1fa9d4
rtl8188eu: Fix build for kernels through 5.15
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-11-12 16:42:02 -06:00
Larry Finger
e2e51bd6f4
rtl8188eu: Remove empty _rtw_free_sema()
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:28:20 -06:00
Larry Finger
890e54b7a7
rtl8188eu: Remove wrapper around init_sema()
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:25:08 -06:00
Larry Finger
61690cbca6
rtl8188eu: rtw_get_current_time() is jiffies
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:20:06 -06:00
Larry Finger
209e50ad60
rtlwifi: Remove list-handling macros
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 15:06:22 -06:00
Larry Finger
6d3d853360
rtl8188eu: Remove wrapper get_next()
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 11:50:41 -06:00
Larry Finger
567257655f
rtl8188eu: Replace LIST_CONTAINOR with container_of
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 10:40:44 -06:00
Larry Finger
89efde68f8
rtl8188eu: Remove wrapper around memcmp()
...
Caution: The wrapper inverts the state.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-13 09:38:17 -06:00
Larry Finger
9ad78a5b0d
rtl8188eu: Remove wrapper around INIT_LIST_HEAD()
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 23:13:40 -06:00
Larry Finger
609fff0d67
rtl8188eu: Remove wrapper around semaphore 'up'
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 22:51:56 -06:00
Larry Finger
545d963a9e
rtl8188eu: Remove wrapper for memset()
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 22:43:35 -06:00
Larry Finger
6ba33b6e48
rtl8188eu: Remove macro RTW_GET_LE16
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-12 21:55:10 -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
Larry Finger
4342c7358c
rtl8188eu: Fix some sparse errors
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-05-27 17:32:24 -05:00