Commit graph

267 commits

Author SHA1 Message Date
Larry Finger
1d3cceea6a rtl8188eu: Fix smatch warnings in hal/HalPhyRf_8188e.c
Smatch reports the following:
  CHECK   /home/finger/rtl8188eu/hal/HalPhyRf_8188e.c
/home/finger/rtl8188eu/hal/HalPhyRf_8188e.c:1878 PHY_APCalibrate_8188E() info: ignoring unreachable code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 22:14:11 -05:00
Larry Finger
ffac87a92b rtl8188eu: Fix code error in include/rtw_xmit.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-09-05 17:13:58 -05:00
Álvaro Fernández Rojas
9d32703c93 Remove duplicated CONFIG_AP_MODE check. 2013-09-05 15:16:49 +02:00
Larry Finger
9e9f54983f rtl8188eu: Increase maximum RX gain
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-31 20:02:19 -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
168faff726 rtl8188eu: Fix checkpatch errors in include/*.h - part 4
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-15 20:04:25 -05:00
Larry Finger
8a46c9e7a5 rtl8188eu: Fix checkpatch errors in include/*.h - part 3
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-15 16:11:51 -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
2db42a3fbf rtl8188eu: Convert non-standard variable types to regular ones
These include changing s1Byte to s8, etc.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-14 12:03:28 -05:00
Larry Finger
9dd1827027 rtl8188eu: Fix checkpatch errors in include/*.h - part 1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-13 21:01:38 -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
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
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
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
a311b57c32 rtl8188eu: Fix remaining checkfile errors in hal/*.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-08 22:23:49 -05:00
Larry Finger
bc21c61991 rtl8188eu: Fix checkpatch errors in hal/odm.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-08-06 22:34:32 -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
6e2ae99fd8 rtl8188eu: Fix checkpatch errors in core/rtw_led.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-29 15:06:54 -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
de0b9f2155 rtl8188eu: Delete unused _MODULE_DEFINE_ code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-27 00:13:44 -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
f55990fd29 rtl8188eu: Remove most of the remaining parameters from autoconf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:47:25 -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
caeea00c03 rtl8188eu: Remove SIC_ENABLE and SIC_HW_SUPPORT - neither selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:13:06 -05:00
Larry Finger
e5e7596841 rtl8188eu: Remove RTL8188E_FPGA_true_PHY_VERIFICATION - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 22:07:57 -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
90575aca87 rtl8188eu: Remove code for ENABLE_USB_DROP_INCORRECT_OUT and DISABLE_BB_RF
Neither is selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:58:08 -05:00
Larry Finger
6b83fa17db rtl8188eu: Remove POWER_TRAINING_ACTIVE - selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:52:05 -05:00
Larry Finger
a0911e4309 rtl8188eu: Remove RATE_ADAPTIVE_SUPPORT - this is selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 21:47:50 -05:00
Larry Finger
35044413a3 rtl8188eu: Fix remainder of trivial typedef statements
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 20:15:31 -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
e8012b9521 rtl8188eu: Convert typedef statement in include/rtw_pwrctrl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 18:15:45 -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
a4a1896f86 rtl8188eu: Convert typedef statements in include/Hal8188EPwrSeq.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 17:29:07 -05:00
Larry Finger
15888962e2 rtl8188eu: Convert typedef statements in include/usb_vendor_req.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 17:10:24 -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
8d9e1697d6 rtl8188eu: Convert typedef statements in include/odm_HWConfig.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:52:36 -05:00
Larry Finger
ed7a8186fe rtl8188eu: Convert typedef statements in include/rtw_mlme.h
2
2013-07-26 16:37:24 -05:00
Larry Finger
9eeabb2600 rtl8188eu: Convert typedef statement in include/rtl8188e_xmit.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:30:34 -05:00
Larry Finger
ec5245f648 rtl8188eu: Convert typedef statements in include/rtw_rf.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:27:19 -05:00
Larry Finger
5cfecb6edc rtl8188eu: Convert most typedef statements in include/rtw_mp.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 16:08:55 -05:00
Larry Finger
7161cf35ba rtl8188eu: Convert typedef statements in include/rtl8188e_hal.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 15:54:27 -05:00
Larry Finger
75fa3f7c0b rtl8188eu: Convert typedef statements in include/odm_types.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 15:25:06 -05:00
Larry Finger
cf3dfeecf9 rtl1811eu: Convert typedef statements in include/rtl8188e_cmd.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 14:58:04 -05:00
Larry Finger
7449a3d03b rtl8188eu: Convert typedef statements in include/Hal8188EPhyCfg.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 13:36:38 -05:00
Larry Finger
b925112e2a rtl8188eu: Convert typedef statements in include/rtw_mlme_ext.h
Some 5G material was removed. More to come.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 13:02:50 -05:00
Larry Finger
f311a752bb rtl8188eu: Convert all typedef statements in include/odm.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-26 11:20:42 -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
a831dc1f7e rtl8188eu: Convert most typedef statements from include/rtw_pwrctrl.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:24:42 -05:00
Larry Finger
aa1c606fc6 rtl8188eu: Convert typedef statements in include/ieee80211.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 22:08:22 -05:00
Larry Finger
76c8b6a9a1 rtl8188eu: Convert most typedef statements from include/odm_interface.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 21:54:38 -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
3c0fdf5c36 rtl8188eu: Remove typedef statements from include/rtl8188e_recv.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-23 11:12:23 -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
48f49d413c rtl8188eu: Delete unused file include/rtw_bt_mp.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 22:15:09 -05:00
Larry Finger
9dca89bb09 rtl8188eu: Remove "typedef struct BSSIDInfo"
This struct is not used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 22:02:35 -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
b8e9aac38d rtl8188eu: Convert "typedef struct PG_PKT_STRUCT_A" to "struct pgpkt"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:54:53 -05:00
Larry Finger
c2a914a341 rtl8188eu: Convert typedef statements in include/HalVerDef.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:43:38 -05:00
Larry Finger
35fba91a0f rtl8188eu: Convert "typedef enum _RT_CUSTOMER_ID" to "enum RT_CUSTOMER_ID"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:21:17 -05:00
Larry Finger
ba0934f3c8 rtl8188eu: Convert "typedef enum _LED_STRATEGY_871x" to "enum LED_STRATEGY_871x"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:10:49 -05:00
Larry Finger
7c128d19a1 rtl8188eu: Convert "typedef struct {}LED_871x" to "struct PLED_871x"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 17:07:13 -05:00
Larry Finger
f29537124a rtl8188eu: Convert "typdef enum LED_PIN_871x" to "enum LED_PIN_871x"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 16:52:57 -05:00
Larry Finger
159c578e85 rtl8188eu: Convert typedef enum LED_STATE_871x to enum LED_STATE_871x
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 16:49:13 -05:00
Larry Finger
9d0ff170d0 rtl8188eu: Convert typedef LED_CTL_MODE to enum LED_CTL_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 16:45:04 -05:00
Larry Finger
46115db809 rtl8188eu: Remove CONFIG_SUPPORT_USB_INT - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-22 14:47:05 -05:00
Larry Finger
89aeab9b41 rtl8188eu: Remove CONFIG_PREALLOC_RECV_SKB - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 22:19:31 -05:00
Larry Finger
74c8d64df5 rtl8188eu: Remove CONFIG_EMBEDDED_FWIMG - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 21:32:31 -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
5175f81cb1 rtl8188eu: Remove CONFIG_DBG_P2P
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 20:37:56 -05:00
Larry Finger
7af1e2fdad rtl8188eu: Remove REMOVE_PACK - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:30:47 -05:00
Larry Finger
f1ac5a45a0 rtl8188eu: Remove RTW_DVOBJ_CHIP_HW_TYPE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:28:16 -05:00
Larry Finger
e93cc6a163 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_BUFFER_PREALLOC - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:25:04 -05:00
Larry Finger
72ff07da57 rtl8188eu: Remove CONFIG_USB_VENDOR_REQ_MUTEX - defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:19:17 -05:00
Larry Finger
757404fd0e rtl8188eu: Remove CONFIG_MAC_LOOPBACK_DRIVER - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:14:53 -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
8b0cf8ad5b rtl8188eu: Remove RTL8XXXY_SUPPORT symbols and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 18:06:56 -05:00
Larry Finger
1079016261 rtl8188eu: Remove AUTO_CONFIG and WDS
Neither of these is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:28:27 -05:00
Larry Finger
d76c2ca5f6 rtl8188eu: Remove DBG_IOL_READ_EFUSE_MAP, DBG_IOCTL, and DBG_IO
All three of these are not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:23:01 -05:00
Larry Finger
d4229b4bf1 rtl8188eu: Remove INTF_DATA - only used for SDIO
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:15:39 -05:00
Larry Finger
f9be1cea77 rtl8188eu: Remove CONFIG_DRVEXT_MODULE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:12:53 -05:00
Larry Finger
838257750b rtl8188eu: File include/rtw_ioctl_query.h is no longer needed
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 13:05:38 -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
42e1c0f32b rtl8188eu: Remove CONFIG_R871X_TEST - not selected
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-07-21 11:12:37 -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