Commit graph

136 commits

Author SHA1 Message Date
Larry Finger
3a3339b715 rtl8188eu: Replace degub macro DBG_871X with DBG_88E
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:38:30 -05:00
Larry Finger
1e6accffc4 rtl8188eu: Remove wrapper routine rtw_get_current_time()
This wrapper can be replaced with jiffies.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 16:35:29 -05:00
Larry Finger
11ab93f073 rtl8188eu: Remove double blank lines in core/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:44:41 -05:00
Larry Finger
51e6fae39e rtl8188eu: Chnage "=NULL" to "= NULL"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:31:56 -05:00
Larry Finger
16d2a24227 rtl8188eu: Change "}else{" and variants to "} else {"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:27:00 -05:00
Larry Finger
0a97479cee rtl8188eu: Change "){" to ") {"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:24:16 -05:00
Larry Finger
c137ff21e5 rtl8188eu: Change "==0" to "== 0"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:22:58 -05:00
Larry Finger
83488f50f7 rtl8188eu: Add spaces after comma, etc.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:19:16 -05:00
Larry Finger
9ee6ae40c3 rtl8188eu: Change "for(" to "for ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:06:32 -05:00
Larry Finger
c818db1282 rtl8188eu: Change "switch(" to "switch ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:05:44 -05:00
Larry Finger
8e22f0d2e8 rtl8188eu: Change "while(" to "while ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:04:12 -05:00
Larry Finger
6ead3e77dc rtl8188eu: Change all "if(" to "if ("
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:02:34 -05:00
Larry Finger
aa89a39a09 rtl8188eu: Remove spaces before quoted newline
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-15 13:00:19 -05:00
Larry Finger
efddeb40e2 rtl8188eu: Fix Sparse warnings in core/rtw_mlme.c
Sparse reports the following:

  CHECK   /home/finger/rtl8188eu/core/rtw_mlme.c
/home/finger/rtl8188eu/core/rtw_mlme.c💯6: warning: symbol 'rtw_mfree_mlme_priv_lock' was not declared. Should it be static?
/home/finger/rtl8188eu/core/rtw_mlme.c:481:9: warning: symbol 'rtw_enqueue_network' was not declared. Should it be static?
/home/finger/rtl8188eu/core/rtw_mlme.c:510:6: warning: symbol 'rtw_free_network' was not declared. Should it be static?

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-14 20:13: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
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
8a5e5024c0 rtl8188eu: Remove typedef statements from include/rtw_mlme_ext.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 17:25:11 -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
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
bef55d3a6c rtl8188eu: Remove RTL8192C_RECONFIG_TO_1T1R
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 13:41:12 -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
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
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
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
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
9b21efa5d6 rtl8188eu: Remove CONFIG_FTP_PROTECT
This one is not selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 10:43:05 -06:00
Larry Finger
44ff69caaa rtl8188eu: Remove CONFIG_DISABLE_MCS13TO15
This one is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 10:39:28 -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
1a2d9b8514 rtl8188eu: Remove CONFIG_NEW_SIGNAL_STAT_PROCESS
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 20:11:07 -06:00
Larry Finger
72bd29ec15 rtl8188eu: Remove CONFIG_LAYER2_ROAMING
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-27 15:46:32 -06:00
Larry Finger
f6fb81d6a0 rtl8188eu: Remove antenna diversity configuration variables
Always selected are CONFIG_ANTENNA_DIVERSITY and CONFIG_hW_ANTENNA_DIVERSITY.
Not selected is CONFIG_SW_ANTENNA_DIVERSITY.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-25 15:41:18 -06:00
Larry Finger
dae15933ce rtl8188eu: Remove CONFIG_LPS
This symbol is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 20:32:00 -06:00
Larry Finger
e932bd9250 rtl8188eu: Remove CONFIG_LPS_LCLK
This symbol is not defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 20:22:38 -06:00
Larry Finger
cc8740eb70 rtl8188eu: Remove CONFIG_SET_SCAN_DENY_TIMER
This one is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-24 10:01:42 -06:00
Larry Finger
856f0de3ce rtl8188eu: Remove CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER
This symbol is always defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-21 11:42:14 -06:00
Larry Finger
2b27b83d40 rtl8188eu: Remove CONFIG_80211N_HT
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 20:30:23 -06:00
Larry Finger
37a28f802f rtl8188eu: Remove CONFIG_ACTIVE_KEEP_ALIVE_CHECK
This symbol is always defined. In addition, a number of defines that are commented
out in include/autoconf.h have been removed.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 20:07:27 -06:00
Larry Finger
8f5cbefdef rtl8188eu: Remove _CONFIG_NATIVEAP_MLME_ and CONFIG_NATIVEAP_MLME
The first is never defined. The second is always devined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-20 09:52:14 -06:00
Larry Finger
5470a10d13 rtl8188eu: Remove CONFIG_IOCTL_CFG80211
This one is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 22:52:01 -06:00
Larry Finger
54abf571c4 rtl8188eu: Change C90 comments to /* */ form
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 15:34:32 -06:00
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