Commit graph

276 commits

Author SHA1 Message Date
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
481d6c817d rtl8188eu: Clean up more Sparse messages
There are still problems remaining, but those are believed to be cosmetic.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-29 15:27:28 -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
b2de21036e rtl8188eu: Remove CONFIG_LITTLE_ENDIAN
Replace with kernel-devined __LITTLE_ENDIAN. This also applies
to CONFIG_BIG_ENDIAN.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-26 16:45:43 -06:00
Larry Finger
d442f6a7c9 rtl8188eu: Fix build on kernel 3.17
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2015-01-11 11:17:50 -06:00
Larry Finger
4b573cbd5a rtl8188eu: Replace UINT, USHORT and UCHAR with u32, u16, and u8
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 18:05:09 -06:00
Larry Finger
1038ee1874 rtl8188eu: Replace sNByte with appropriate s value
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 17:58:53 -06:00
Larry Finger
c8a4d4ba06 rtl8188eu: Replace u8Byte with u64
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 17:52:40 -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
8aad1f53ce rtl8188eu: Convert u4Bytw to u32
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-30 16:55:10 -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
78015aef77 rtl8188eu: Remove dead code for DM_ODM_SUPPORT_TYPE - Part 1
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-29 21:29:35 -06:00
Larry Finger
327b55965f rtl8188eu: Remove some unused files, and flatten include/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-28 20:44:53 -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
86b0c1a52e rtl8188eu: Fix build on kernel 3.12
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-27 20:09:18 -06:00
Larry Finger
4a660c6a67 rtl8188eu: Fix remaining warnings in build
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-27 18:06:03 -06:00
Larry Finger
6348961d3a rtl8188eu: Fix to build on modern kernels
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-27 16:41:28 -06:00
Larry Finger
c8e5247e2e rtl8188eu: More Sparse fixes
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-19 13:49:35 -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
8db176767f rtl8188eu: Fix Sparse warnings in core/rtw_mlme_ext.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-18 22:28:04 -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
ec15c88773 rtl8188eu: Make debug level settable from module loading
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-17 00:40:52 -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
d4d462411e rtl8188eu: Remove code for other devices in include/*.h
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-16 18:46:19 -06:00
Larry Finger
62ef49de15 rtl8188eu: Remove the PLATFORM_LINUX tests
This configuration parameter is always selected.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 18:29:43 -06:00
Larry Finger
dd606233f2 rtl8188eu: Remove dead code for FREEBSD
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 16:58:13 -06:00
Larry Finger
a68c6cc26e rtl8188eu: Remove code used only for Windows
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 14:28:28 -06:00
Larry Finger
4ee8d3010d rtl8188eu: Remove dead code from CONFIG_MP_INCLUDED
This parameter is used to turn on manufacturing test code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-15 13:42:27 -06:00
Larry Finger
a0c85b341e rtl8188eu: Remove some Sparse problems
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-14 23:08:37 -06:00
Larry Finger
065126d8ce rtl8188eu: Place driver rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104 in branch v4.1.8_9499
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-12-11 15:15:04 -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
849d585656 rtl8188eu: Fix some edit errors from replace spin lock wrappers
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 18:42:41 -06:00
Larry Finger
8b76b3b701 rtl8188eu: Convert spin lock macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 17:37:57 -06:00
Larry Finger
9fe0c17a65 rtl8188eu: Remove wrapper _rtw_spinlock_init
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-28 11:14:29 -06:00
Larry Finger
287f6491f3 rtl8188eu: Part 3 of the upgrades from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-20 00:12:27 -06:00
Larry Finger
ef77969222 rtl8188eu: More changes from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
This one completes the changes for rtw_mlme.c

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-19 18:03:11 -06:00
Larry Finger
c8a380cd16 rtl8188eu: Make updates from rtl8188EUS_rtl8189ES_linux_v4.1.8_9499.20131104
This patch is step 1 of many. This driver has much better sensitivity than
the previous version.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-19 14:32:12 -06:00
Larry Finger
ce4406631c rtl8188eu: Align the eeprom buffer
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-11-13 11:03:55 -06:00
Larry Finger
fcc9034b0d rtl8188eu: Remove unused enum
As firmware_source is no longer used, remove it.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-14 13:48:39 -06:00
Stas Sergeev
499e15d791 make firmware buffer persistent to not request firmware on every access 2014-02-14 13:46:49 -06:00
Larry Finger
c2741d0bec rtl8188eu: Fix compilation for kernels older that 2.6.36
These changes will apply at least back to 2.6.32.

From: Stas Sergeev <stsp@list.ru>
Signed-off-by: Stas Sergeev <stsp@list.ru>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-02-12 11:05:30 -06:00
Larry Finger
67b05876af rtl8188eu: Fix all the warnings introduced by commit 619d14b0a2
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2014-01-04 13:39:59 -06:00
Shaun2029
619d14b0a2 Enabled AP and P2P modes. 2014-01-04 16:25:18 +00:00
Larry Finger
295bb23ffe rtl8188eu: Fix reporting of signal strength and quality
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-12-30 21:18:17 -06:00
Larry Finger
91938194fd rtl8188eu: Make this code look exactly like the code in the kernel version
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2013-11-29 16:10:20 -06:00