Larry Finger
c8bd30ee46
rtl8188eu: Fix Sparse errors in os_dep/ioctl_linux.c
...
The following Sparse warnings are output:
CHECK /home/finger/rtl8188eu/os_dep/ioctl_linux.c
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:3184:9: warning: context imbalance in 'rtw_get_ap_info' - different lock contexts for basic block
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:3916:9: warning: context imbalance in 'rtw_p2p_get_go_device_address' - wrong count at exit
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:4063:9: warning: context imbalance in 'rtw_p2p_get_device_name' - wrong count at exit
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:4146:9: warning: context imbalance in 'rtw_p2p_get_invitation_procedure' - wrong count at exit
/home/finger/rtl8188eu/os_dep/ioctl_linux.c:6879:12: warning: context imbalance in 'rtw_del_sta' - different lock contexts for basic block
Each of these is a real error caused by improper use of a spin lock when
a spin unlock is needed.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-14 19:35:20 -05:00
Larry Finger
0160af01ca
rtl8188eu: Fix build warning for kernel 4.1 and later
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-12 10:58:21 -05:00
Larry Finger
b5cf1b0cf3
rtl8188eu: On kernel 2.6.32, a NULL dereference was found
...
This bug was reported and debugged by GitHub user jdowells.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-05-15 15:23:44 -05:00
Larry Finger
d76cbb313d
rtl8188eu: Replace rtw_ieee80211_ht_cap with standard kernel version
...
As shown in the previous commits, keeping alignment beetween the private header
and the kernel version is a problem. Solve the issue by using the kernel
version.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-08 13:43:40 -05:00
Larry Finger
7460f4b22a
rtl8188eu: Remove most typedef statements from include/hal_intf.h
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-17 10:31:25 -05:00
Larry Finger
8259a22027
rtl8188eu: Remove typedef statements from include/rtw_mp_ioctl.h
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-16 20:24:53 -05:00
Larry Finger
e2285839e9
rtl8188eu: Remove most typedef statements from include/osdep_service.h
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-16 08:54:18 -05:00
Larry Finger
851dc8fff5
rtl8188eu: Remove typedef statements from include/wlan_bssdef.h
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-14 18:14:05 -05:00
Larry Finger
e233420466
rtl8188eu: Remove executable mode for all source files
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 16:54:44 -05:00
Larry Finger
b054bfff27
rtl8188eu: Convert driver to use external firmware
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 21:01:49 -05:00
Larry Finger
669536c180
rtl8188eu: Remove CONFIG_SPECIAL_SETTING_FOR_FUNAI_TV
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 14:24:31 -05:00
Larry Finger
6eb9cc27c9
rtl8188eu: Remove CONFIG_USE_USB_BUFFER_ALLOC_TX
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 14:20:06 -05:00
Larry Finger
f42ef2ce84
rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_TX
...
This change also allows the removal of rtw_set_tx_chksum_offload() as
it is now empty.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 14:14:19 -05:00
Larry Finger
cf743bff3d
rtl8188eu: Remove CONFIG_ADAPTOR_INFO_CACHING_FILE
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:44:10 -05:00
Larry Finger
109963133b
rtl8188eu: Remove CONFIG_RESUME_IN_WORKQUEUE
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:29:25 -05:00
Larry Finger
2339d6c52a
rtl8188eu: Remove DBG_CONFIG_ERROR_DETECT
...
This symbol is defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:21:04 -05:00
Larry Finger
4c042ff344
rtl8188eu: Remove CONFIG_EVENT_THREAD_MODE
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:38:11 -05:00
Larry Finger
e136a7d492
rtl8188eu: Remove CONFIG_RECV_THREAD_MODE
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:34:16 -05:00
Larry Finger
bc08957f00
rtl8188eu: Remove CONFIG_XMIT_THREAD_MODE
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:31:05 -05:00
Larry Finger
cd557898d2
rtl8188eu: Remove CONFIG_DETECT_C2H_BY_POLLING
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:24:40 -05:00
Larry Finger
e542073502
rtl8188eu: Remove XX_PLATFORM_YY
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:16:36 -05:00
Larry Finger
90df80d763
rtl8188eu: Fix build when CONFIG_P2P is not defined
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-10 21:45:35 -05:00
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
ee006634cb
rtl8188eu: Remove CONFIG_PLATFORM_ARM_XX
...
None of these are defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:12:29 -06:00
Larry Finger
464dd388cf
rtl8188eu: Remove CONFIG_PLATFORM_MT53XX
...
This is not selected.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:10:07 -06:00
Larry Finger
10a995af18
rtl8188eu: Remove RTK_DMP_PLATFORM
...
This is not selected.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:07:38 -06: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
715a0150a8
rtl8188eu: Remove CONFIG_TCP_CSUM_OFFLOAD_RX
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 12:36:04 -06:00
Larry Finger
49de871812
rtl8188eu: Remove CONFIG_PLATFORM_ROCKCHIPS
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 19:00:36 -06:00
Larry Finger
3b93a7822a
rtl8188eu: Remove CONFIG_SIGNAL_DISPLAY_DBM
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:58:36 -06:00
Larry Finger
4bf02bb7d8
rtl8188eu: Replace typedef for WLAN_BSSID_EX
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:26:23 -06:00
Larry Finger
5d615fab61
rtl8188eu: Rename get_WLAN_BSSID_EX_sz
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-06 18:01:31 -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
dd62caa1e1
rtl8199eu: Replace TRUE and FALSE with true and false
...
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:25:27 -06:00
Larry Finger
dfeb1b4e83
rtl8188eu: Remove CONFIG_GPIO_WAKEUP
...
This symbol was not defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:06:30 -06:00
Larry Finger
ed192682fe
rtl_8188eu: Remove CONFIG_MMC_PM_KEEP_POWER, and CONFIG_WOWLAN
...
These parameters are not defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:03:18 -06:00
Larry Finger
2a75f42bff
rtl8188eu: Remove CONFIG_EFUSE_CONFIG_FILE and CONFIG_RF_GAIN_OFFSET
...
These two interdependent parameters are not defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 11:34:17 -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
1d52d1060a
rtl8188eu: Remove CONFIG_INTEL_WIDI
...
This symbol was not defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 10:54:45 -06:00
Larry Finger
e5f09bb52b
rtl8188eu: Remove CONFIG_GLOBAL_UI_PID
...
This symbol is always defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 10:35:25 -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
1155811fcf
rtl8188eu: Remove CONFIG_IOL
...
This parameter is defined by default.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:36:23 -06:00
Larry Finger
71377b69a4
rtl8188eu: Change CONFIG_IOL_READ_EFUSE_MAP to CONFIG_IOL
...
When CONFIG_IOL is defined, then CONFIG_IOL_READ_EFUSE_MAP is automatically
defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:20:25 -06:00
Larry Finger
427ab12050
rtl8188eu: Remove CONFIG_IOL_NEW_GENERATION
...
This one is selected by defining CONFIG_IOL.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 16:12:47 -06:00
Larry Finger
31d5798603
rtl8188eu: Remove CONFIG_HW_PWRP_DETECTION
...
It is not defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 16:06:01 -06:00
Larry Finger
eba06c1708
rtl8188eu: Remove CONFIG_WIFI_TEST
...
The one is never selected.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 16:02:57 -06:00
Larry Finger
ee0ecc2037
rtl8188eu: Remove CONFIG_TX_EARLY_MODE
...
This one is not defined.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-28 12:41:56 -06:00