Commit graph

409 commits

Author SHA1 Message Date
Larry Finger
b8bfb4c958 rtl8188eu: Remove symbol MAX_RF_PATH_NUMS
This one is always equal to RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:34:21 -06:00
Larry Finger
69faa02ea5 rtl8723bs: Remove second interface name
Only the RTL8192D chips have multiple interfaces per chip, thus
this logic has no value here.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-26 13:54:47 -05:00
Larry Finger
2601c36dd9 rtl8723bs: Remove rtw_chip_version as module parameter
This parameter might be useful when the original driver was developed,
but it is useless in production code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-26 13:22:28 -05:00
Larry Finger
8ac0b5364d rtl8188eu: Replace LONG variants with the standard uxx form
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-09-08 00:04:30 -05:00
Larry Finger
fc326e6a07 rtl8188eu: Remove CONFIG_WAKELOCK, CONFIG_HAS_EARLYSUSPEND, and CONFIG_ANDROID_POWER
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-17 10:23:46 -05:00
Larry Finger
549cb92f47 rtl8188eu: Remove CONFIG_INTEL_PROXIM
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-17 10:11:05 -05:00
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
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
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
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
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
16ab32d5e3 rtl8188eu: Make more little endian changes
The master branch works on PPC architecture, which is big endian; however,
v4.1.8-9499 fails to connect. Receiving is OK as scanning works, thus it is
close to working. These changes make the two branches agree on the endianess
of various header items.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-08-14 19:18:20 -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
496a632c98 rtl8188eu: Fix struct rtw_ieee80211_ht_cap
To work with hostapd, the length of rtw_ieee80211_ht_cap must match
that of the kernel's ieee80211_ht_cap. Two errors were found.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-04-07 10:25:43 -05:00
Larry Finger
be58a411b0 rtl8188eu: Enable LEDs
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-23 18:46:53 -05:00
Larry Finger
7162635d09 rtl8188eu: Remove typedef statements from include/ieee80211.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-18 13:12:26 -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
fa43f604b9 rtl8188eu: Remove typedef statement from include/sta_info.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-17 10:01:59 -05:00
Larry Finger
22afcbab09 rtl8188eu: Remove typedef statements from include/HalVerDef.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-17 09:57:29 -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
4547604302 rtl8188eu: Remove typedef statements in include/rtw_mp.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-16 20:14:52 -05:00
Larry Finger
067adff3fd rtl8188eu: Remove unused header files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-16 09:53:23 -05:00
Larry Finger
b2720d8002 rtl8188eu: Remove C90 comments from include/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-16 09:43: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
26b163f24f rtl8188eu: Remove typedef statements from include/rtw_rf.h and delete unused header files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-15 12:43:37 -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
03bcc1a3e2 rtl8188eu: Delete some unused header files
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 16:43:34 -05:00
Larry Finger
d26bbefc3a rtl8188eu: Remove useless IN and OUT from parameter lists
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 12:06:38 -05:00
Larry Finger
460e260891 rtl8188eu: Convert typedef WLAN_PWR_CFG to struct wl_pwr_cfg
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-13 10:59:57 -05:00
Larry Finger
752f418bf0 rtl8188eu: Remove CONFIG_EMBEDDED_FWIMG
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-12 21:09:07 -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
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
bb4b1fe327 rtl8188eu: Remove CONFIG_BSD_RX_USE_MBUF
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:47:48 -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
7d8e675f12 rtl8188eu: Remove CONFIG_DEBUG_RTL871X
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:39:39 -05:00
Larry Finger
3f5c8ae480 rtl8188eu: Remove CONFIG_STA_MODE_SCAN_UNDER_AP_MODE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:36:16 -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
d82a27dfb2 rtl8188eu: Remove DBG_CONFIG_ERROR_RESET
This one is defined.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-11 20:23:49 -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
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