Commit graph

137 commits

Author SHA1 Message Date
Larry Finger
43dd404762 rtl8188eu: Fix smatch warning in os_dep/osdep_service.c
Smatch shows the following warning:
  CHECK   /home/finger/rtl8188eu/os_dep/osdep_service.c
/home/finger/rtl8188eu/os_dep/osdep_service.c:670 rtw_change_ifname() warn: variable dereferenced before check 'padapter' (see line 666)

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:30:18 -05:00
Larry Finger
be114f8fae rtl8188eu: Fix smatch warning in os_dep/recv_linux.c
Smatch shows the following warning:
  CHECK   /home/finger/rtl8188eu/os_dep/recv_linux.c
/home/finger/rtl8188eu/os_dep/recv_linux.c:236 rtw_recv_indicatepkt() warn: variable dereferenced before check 'precv_frame' (see line 142)

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:23:55 -05:00
Larry Finger
72c61c0cb2 rtl8188eu: Fix smatch warning in os_dep/usb_intf.c
iSmatch shows the following warning:
  CHECK   /home/finger/rtl8188eu/os_dep/usb_intf.c
/home/finger/rtl8188eu/os_dep/usb_intf.c:720 rtw_resume_process() error: potentially dereferencing uninitialized 'pwrpriv'.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:21:46 -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
Larry Finger
49ab4b6c4f rtl8188eu: Fix checkpatch errors in os_dep/xmit_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 22:07:26 -05:00
Larry Finger
aa6edf1619 rtl8188eu: Fix checkpatch errors for os_dep/usb_ops_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 21:47:28 -05:00
Larry Finger
30b92ac1c6 rtl8188eu: Fix checkpatch errors in os_dep/usb_intf.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-11 20:59:28 -05:00
Larry Finger
b5d91ff7e0 rtl8188eu: Fix checkpatch errors in os_dep/rtw_android.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 22:41:06 -05:00
Larry Finger
13e0c8cab0 rtl8188eu: Fix checkpatch errors for os_dep/recv_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 22:17:11 -05:00
Larry Finger
a90ca697ca rtl8188eu: Fix checkpatch errors in os_dep/os_intfs.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 21:53:06 -05:00
Larry Finger
394828ff89 rtl8188eu: Fix checkpatch errors in os_dep/osdep_service.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 12:57:27 -05:00
Larry Finger
5a7c47efff rtl8188eu: Fix checkpatch errors in os_dep/mlme_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 12:20:19 -05:00
Larry Finger
8414aef8bd rtl8188eu: Fix checkpatch errors in os_dep/ioctl_linux.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-10 11:56:55 -05:00
Larry Finger
6d1127b181 rtl8188eu: Remove dead code for CONFIG_FILE_FWIMG
Eventually the internal FW will be replaced by an external file; however,
the code will be redone. Remove this stuff for now.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 11:09:18 -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
d1802e72f4 rtl8188eu: Remove RTW_ENABLE_WIFI_CONTROL_FUNC - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 00:08:03 -05:00
Larry Finger
237fa4c813 rtl8188eu: Remove a few more configuration variables
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 00:03:32 -05:00
Larry Finger
1e96c9a1d4 rtl8188eu: Remove MP_DRIVER conditionals - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:26:30 -05:00
Larry Finger
e520b8da19 rtl8188eu: Remove CONFIG_MP_IWPRIV_SUPPORT - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:04:40 -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
b2804a6af7 rtl8188eu: Convert typedef statement from include/hal_intf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 18:04: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
0ce4977846 rtl8188eu: Convert typedef statements in include/rtw_security.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 17: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
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
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
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
a01908ab27 rtl8188eu: Convert the typedef statements in include/wlan_bssdef.h
One remains that I still do not know how to convert; however, it has been
moved to os_dep/ioctl_linux.c where it is used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 21:31:04 -05:00
Larry Finger
dd4a02b2ff rtl8188eu: Remove typedefs from include/rtw_mp_ioctl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 22:39:52 -05:00
Larry Finger
5ae9f5f712 rtl8188eu: Convert "typedef struct android_wifi_priv_cmd" to "struct android_wifi_priv_cmd"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 20:42:09 -05:00
Larry Finger
548e42fb94 rtl8188eu: Convert "typedef HAL_DATA_TYPE" to "struct hal_data_8188e"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 18:18:19 -05:00
Larry Finger
d2de492de6 rtl8188eu: Convert "typedef struct _EFUSE_HAL" to "struct efuse_hal"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:59:49 -05:00
Larry Finger
2e6130080e rtl8188eu: Remove CONFIG_USB_AUTOSUSPEND - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:52:08 -05:00
Larry Finger
04e83e3288 rtl8188eu: Remove CONFIG_POWER_SAVING - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:48:13 -05:00
Larry Finger
7f074ef6dd rtl8188eu: Remove IW_SCAN_CAPA_ESSID - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:27:55 -05:00
Larry Finger
2ba4f2415c rtl8188eu: Remove CONFIG_DEBUG_RTW_WX_SET_PRIV - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:24:26 -05:00
Larry Finger
69f205189c rtl8188eu: Remove CONFIG_SIGNAL_DISPLAY_DBM - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:20:59 -05:00
Larry Finger
90670e559c rtl8188eu: Remove CONFIG_EVENT_THREAD_MODE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:10:30 -05:00
Larry Finger
e92c85ed95 rtl8188eu: Remove CONFIG_NO_WIRELESS_HANDLERS - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:08:59 -05:00
Larry Finger
3990f4dcea rtl8188eu: Remove CONFIG_HW_PWRP_DETECTION - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:07:16 -05:00
Larry Finger
3eb2ca707d rtl8188eu: Remove CONFIG_EASY_REPLACEMENT - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:04:57 -05:00
Larry Finger
6b0ff2a824 rtl8188eu: Remove CUSTOM_OOB_GPIO_NUM - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:03:04 -05:00
Larry Finger
8c45e88985 rtl8188eu: Remove DBG_TX - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 15:01:27 -05:00
Larry Finger
a877d929d5 rtl8188eu: Remove CONFIG_REDUCE_USB_TX_INT - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 14:59:59 -05:00