Commit graph

436 commits

Author SHA1 Message Date
Larry Finger
4880865d31 rtl8188eu: Remove dead code for devices other than RTL8188EU
This commit handles files in include/.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 01:01:20 -05:00
Larry Finger
bf88fed9a4 rtl8188eu: Fix a number of sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-03 00:39:38 -05:00
Larry Finger
bbc8dd8720 Merge branch 'v5.2.2.4' of http://github.com/lwfinger/rtl8188eu into v5.2.2.4 2018-11-01 09:17:58 -05:00
Larry Finger
7c7b83836e rtl8188eu: Fix more sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-29 10:58:36 -05:00
Larry Finger
c1068fee54 rtl8188eu: Fix more sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 14:23:42 -05:00
Larry Finger
c589c7a0c2 rtl8188eu: Remove a couple of useless routines from platform/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-25 11:31:36 -05:00
Larry Finger
6882712849 rtl8188eu: Remove more files that are not needed
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 19:11:50 -05:00
Larry Finger
642f6effc3 rtl8188eu: Remove local byte endian operations
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 19:06:22 -05:00
Larry Finger
94afbb0df3 rtl8188eu: Convert to use __LITTLE_ENDIAN symbol from kernel
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 17:25:46 -05:00
Larry Finger
e0d59adcf6 rtl8188eu: Flatted os_dep/linux/ into os_dep/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 16:53:39 -05:00
Larry Finger
18b0977770 rtl8188eu: Remove files not needed in include/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-24 16:48:25 -05:00
Larry Finger
010390f8d0 rtl8188eu: Remove some unused files and remove code for platforms other than Linux in os_dep/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-22 13:56:29 -05:00
Larry Finger
841934da48 rtl8188eu: Remove special code for Windows and FreeBSD from include/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 15:16:35 -05:00
Larry Finger
d8ced1a187 rtl8188eu: Remove _rtw_spinlock_init
This function is the same as spin_lock_init()

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 11:48:13 -05:00
Larry Finger
9d1d96c95d rtl8188eu: Update for driver to build on kernel 4.19
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-19 11:28:43 -05:00
Larry Finger
f62909c0c1 rtl8188eu: Fix warnings when building with 4.19+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-15 16:00:58 -05:00
Larry Finger
ab27643547 rtl8188eu: Remove all unused code for DM_ODM_SUPPORT_TYPE of ODM_WIN and ODM_AP
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-15 12:06:18 -05:00
Larry Finger
80c723e738 rtl8188eu: Fix sparse issues in core/rtw_mp.c
For the most part, these are endian related.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-14 23:29:18 -05:00
Larry Finger
6fa9ed423c rtl8188EUS: Initial addition of files in branch v5.2.2.4
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-10-14 19:09:51 -05:00
MilhouseVH
5a6d034565 IEEE80211_MAX_AMPDU_BUF is bumped in 4.19-rc1 - avoid redefine warning
Ref: b8042b3da9
2018-08-30 13:24:13 -05:00
Larry Finger
242c9f54cc rtl8188eu: Fix some checkpatch warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-08-30 13:19:58 -05:00
Larry Finger
594a5a050d rtl8188eu: Fix builds for branch v4.1.8_9499 for newer kernels
These changes allow builds up through kernel 4.16.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-04-11 10:19:48 -05:00
Larry Finger
add1bba8bc rtl8188eu: Fix some build problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-03-14 10:45:07 -05:00
Larry Finger
551ec1598c rtl8188eu: The platform can never be ODM_MP
Remove that symbol.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-04-09 14:30:01 -05:00
Larry Finger
f8ec1962dd rtl8188eu: Remove "enum ODM_RF_RADIO_PATH" and ODM_RF_PATH_x
These are already expressed as "enum rf_radio_path" and RF_PATH_x. Having
two definitions is ridiculous.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 20:14:42 -06:00
Larry Finger
2936b46458 rtl8188eu: Remove ODM_RF_PATH_MAX
This is always equal to RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:43:38 -06:00
Larry Finger
e1e88e1ceb rtl8188eu: Remove MAX_RF_PATH
This symbol has the same value as RF_PATH_MAX.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2016-02-14 19:39:28 -06:00
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