22 Commits

Author SHA1 Message Date
ZHANG Yuntian
339d6c4d89 rtl8723ds: Update comments with UTF-8 encoding
When packaging the source as a Debian DKMS package, lintian will warn
national-encoding due to Big5 encoded characters in comments.

Update to English comments from other files when available, and
reencode Chinese in UTF-8.

Signed-off-by: ZHANG Yuntian <yt@radxa.com>
2023-05-05 14:35:35 +08:00
Giulio Benetti
aaf31f36eb rtl8723ds: get_ra() exists only on PowerPC
In PowerPc Linux only get_ra() exists[0] and conflicts with local get_ra()
that has a completely different purpose. So let's rename local get_ra()
to wifi_get_ra() to make it different from Linux's get_ra().

[0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/include/asm/disassemble.h?h=v6.1-rc7#n49

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2022-12-01 15:24:08 +01:00
John Keeping
161bb7bab4 rtl8723ds: remove raw_spinlock on RT
There's no need for a raw spinlock in this driver as it doesn't do
anything in hardirq context on -rt.  Some of the critical sections
guarded by these locks are long and contain unbounded loops so there is
a risk of raw spinlocks causing latency spikes on -rt.

The existing code is broken with CONFIG_PREEMPT_RT anyway as only a
subset of the functions that depend on lock type are covered by the
preprocessor #if/#else blocks.

Remove the special-case for CONFIG_PREEMPT_RT.

Signed-off-by: John Keeping <john@metanate.com>
2022-07-26 15:06:25 +01:00
Larry Finger
76146e8584 rtl8723ds: Fix build errors with kernel 5.18
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-04-07 10:53:17 -05:00
Larry Finger
76fb80685b rtl8723ds: Fix build on kernel 5.17
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2022-02-05 11:47:13 -06:00
Icenowy Zheng
9afd800400 fix hang on 5.14
Signed-off-by: Icenowy Zheng <icenowy@sipeed.com>
2021-07-24 18:40:13 +08:00
Larry Finger
f3167881f4 rtl8723ds: Use CONFIG_PREEMPT_RT to select raw spin lock form for real-time kernels
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2021-03-24 21:00:11 -05:00
Larry Finger
c54996f3a7 rtl8723ds: Fix builds for kernel 5.8+
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2020-09-17 11:19:09 -05:00
Larry Finger
3030a734d7 rtl8723ds: Update source for recent API changes
The source will now compile on kernels up to 4.20.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2018-11-29 11:43:26 -06:00
Larry Finger
5949fdf1cc rtl8723ds: Fix more Sparse errors
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-27 15:25:56 -05:00
Larry Finger
ef471acce1 rtl8723ds: Fix Sparse errors/warnings in core/rtw_security.c
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-27 14:53:08 -05:00
Larry Finger
d7a5aeb7f2 rtl8723ds: Fix some little-endian errors in macros
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-25 14:47:30 -05:00
Larry Finger
c69a20ba17 rtl8723ds: Fix a couple of errors in overlapping locks
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-25 13:56:39 -05:00
Larry Finger
1621248cc1 rtl8723ds: Make fixes for more Sparse errors
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-25 11:34:05 -05:00
Larry Finger
525d5256f5 rtl8723ds: Remove CONFIG_PCI_HCI and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-17 00:11:49 -05:00
Larry Finger
3c1cb50012 rtl8723ds: Remove PLATFORM_LINUX symbol - it is the only one supported
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-16 23:55:54 -05:00
Larry Finger
58d8344823 rtl8723ds: Remove code for FREEBSD, OS_XP and OS_CE
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-16 21:52:02 -05:00
Larry Finger
c3c991544f rtl8723ds: Remove WINDOWS code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-16 20:43:56 -05:00
Larry Finger
27368d0b9c rtl8723ds: Fix some checkpatch warnings and change default log level
The default debug level is reduced from 4 to 2.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-16 16:38:46 -05:00
Larry Finger
452f4494cd rtl8723ds: Fix some Sparse warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-14 16:19:56 -05:00
Larry Finger
eb9c1aa49f rtl8723ds: Fix builds for kernel 4.14
Signed-off-by: Alexander Kaplan <alex@nextthing.co>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-10-14 09:31:11 -05:00
Larry Finger
e87533e664 rtl8723ds: Initial commit of files
This repository contains the Realtek driver V5.1.1.5_20523.20161209_BTCOEX20161208-1212.

At inclusion, the only changes from the Realtek version were to fix any compile
warnings or errors. With these changes, the driver builds on kernels through
4.11.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
2017-04-25 10:13:42 -05:00