Commit graph

99 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
cfd60faf5e rtl8188eu: Remove "if 1"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-07 13:00:36 -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
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
0b5c6eb35b rtl8188eu: Change BOOLEAN to bool
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-02 17:21:23 -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
314bad7109 rtl8188eu: FRemove the undefined CONFIG_IOL_LLT
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-03-01 10:38:32 -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
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
592c85f4e2 rtl8188eu: Convert C90 comments
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-02-19 18:51:33 -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
Larry Finger
5b8f5bc69d rtl8188eu: More Sparse fixes
There are only a few more left. Most are in the P2P code

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-29 21:41:53 -06:00
Larry Finger
6dc546efc8 rtl8188eu: Remove byte ordering routines
The kernel routines can handle everything that is needed

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-28 23:58:29 -06:00
Larry Finger
7c7f632ac7 rtl8188eu: Fix some sparse warnings
The driver did not work on PowerPC, which is big endian. This patch
fixes all the sparse warnings concerning improper use of __le16 and __le32
variables.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-27 23:14:58 -06:00
Larry Finger
77e8b5de91 rtl8188eu: Fix endedness of EEPROM readout for BE machines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 21:14:34 -06:00
Larry Finger
a8e1fbf1f9 rtl8188eu: Remove __func_enter__ and __func_exit__
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 16:20:25 -06:00
Larry Finger
b77dd7b8df rtl8188eu: Replace p1byte with u8
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 17:50:44 -06:00
Larry Finger
5f39818cb5 rtl8188eu: Change u2Byte to u16
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 16:52:58 -06:00
Larry Finger
06334102cd rtl8188eu: Replace _FALSE and _TRUE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:13:24 -06:00
Larry Finger
17d1637977 rtl8188eu: Replace PVOID and VOID
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:07:17 -06:00
Larry Finger
b6b121512b rtl8188eu: Remove dead code inside #if 0
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:00:11 -06:00
Larry Finger
2d60bad9ad rtl8188eu: FRemove dead code for other than USB
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 11:13:03 -06:00
Larry Finger
bb33327257 rtl8188eu: Remove all trailing spaces from code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 00:59:46 -06:00
Larry Finger
202d20077c rtl8192eu: Replace typedefs for struct adapter
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 17:13:53 -06:00
Larry Finger
494792ba07 rtl8188eu: Flatten directory hal/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 22:09:56 -06:00
Larry Finger
bad0b4cde4 rtl8188eu: Remove cases of two or more blank lines
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 18:00:05 -06:00
Larry Finger
e91077579f rtl8188eu: Remove _func_enter_ and _func_exit_ statements
Kernel tracing is more effective.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-01 16:31:15 -06:00
Larry Finger
486757db0d r8188eu: Fix reading of EEPROM on big-endian hardware
Signed-off-by: Larry Finger <l]Larry.Finger@lwfinger.net>
2014-11-24 14:29:11 -06:00
Larry Finger
dc10076d5c r8188eu: Make error in EEPROMId log even at default debug level
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-12 18:42:52 -06:00