1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-22 05:24:47 +00:00
Commit Graph

179 Commits

Author SHA1 Message Date
morrownr
0d5a059cf5 minor update to docs 2024-03-18 14:42:41 -05:00
morrownr
5b39398e2d
Merge pull request #140 from 5kft/kernel-v6.8-changes
changes for kernel v6.8
2024-01-21 13:39:18 -06:00
5kft
43111f1972
changes for kernel v6.8 2024-01-21 08:10:45 -08:00
morrownr
a41ef7cabd update dkms.conf 2023-12-22 11:29:42 -06:00
morrownr
eb52ece926 fix support for kernel 6.7 2023-11-26 13:04:38 -06:00
morrownr
2b48616df2 update docs and scripts 2023-11-25 15:25:49 -06:00
morrownr
07bc2163cc support for kernel 6.7 2023-11-25 14:10:47 -06:00
morrownr
fdbb62727c
Merge pull request #120 from radxa-pkg/master
Update comments with UTF-8 encoding
2023-10-16 10:38:46 -05:00
ZHANG Yuntian
f227602610 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.

Reencode Chinese in UTF-8.

Signed-off-by: ZHANG Yuntian <yt@radxa.com>
2023-10-16 14:23:06 +08:00
morrownr
8e300c0885 update to scripts and docs 2023-09-25 10:04:26 -05:00
morrownr
de36dfeff8 update docs 2023-09-24 14:59:23 -05:00
morrownr
0f5a50f919 fix (again) the -am_NOT_a_driver problem- 2023-09-24 14:58:10 -05:00
morrownr
f6d4598290 fix (again) the -am_NOT_a_driver problem- 2023-09-10 15:39:08 -05:00
morrownr
9e2772540f fix am_NOT_a_driver problem - appears to be specific to Android 2023-08-07 14:42:23 -05:00
morrownr
b1c0c661dc remove am_NOT_a_driver 2023-08-02 16:43:06 -05:00
morrownr
6b5630bc37 fix previous fix 2023-08-02 13:22:05 -05:00
morrownr
f640decf5d delete a statement that is not needed 2023-08-02 12:58:05 -05:00
morrownr
104e31a320 Merge branch 'main' of https://github.com/morrownr/8821cu-20210916 2023-07-22 17:17:22 -05:00
morrownr
6d2f7286f3 update docs 2023-07-22 17:16:58 -05:00
morrownr
4efe62365c
Merge pull request #101 from how2flow/dev
fix: os_dep/osdep_service.c: add VFS namespace
2023-07-18 23:05:21 -05:00
Steve Jeong
1644c2d576 os_dep/osdep_service.c: improve code
Signed-off-by: Steve Jeong <steve@how2flow.net>
2023-07-19 10:28:58 +09:00
Steve Jeong
d6a07317b4 fix: os_dep/osdep_service.c: add VFS namespace
Error in Rockchip v20230524 kernel 5.10.y

ERROR: modpost: module 8821cu uses symbol kernel_write from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8821cu uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
ERROR: modpost: module 8821cu uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
make[1]: *** [scripts/Makefile.modpost:168: modules-only.symvers] Error 1
make[1]: *** Deleting file 'modules-only.symvers'
make: *** [Makefile:1524: modules] Error 2
make: *** Waiting for unfinished jobs....

Signed-off-by: Steve Jeong <steve@how2flow.net>
2023-07-18 16:27:24 +09:00
morrownr
e31f613ffa
Merge pull request #96 from 5kft/kernel-v6.5-rc1
update for kernel v6.5 (tdls_mgmt)
2023-07-13 14:15:04 -05:00
5kft
4132c6bf8d
update for kernel v6.5 (tdls_mgmt) 2023-07-10 20:34:42 -07:00
morrownr
dc9ee6c6a8 Merge branch 'main' of https://github.com/morrownr/8821cu-20210916 2023-06-24 13:00:21 -05:00
morrownr
2a62812f49 show kernel 6.4 support and other minor updates 2023-06-24 13:00:13 -05:00
morrownr
e49409f22c
Merge pull request #86 from tdebrouw/access_private_commands
Fix support for SIOCDEVPRIVATE ioctls from 5.15.0 onwards.
2023-04-27 13:10:33 -05:00
Theo Debrouwere
d83ae81d01 Fix support for SIOCDEVPRIVATE ioctls from 5.15.0 onwards.
From 5.15.0 onwards, SIOCDEVPRIVATE has been split into a seperate function.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b9067f5dc4a07c8e24e01a1b277c6722d91be39e

This patch fixes support for the new SIOCDEVPRIVATE handling.

Notes:
In order to access these commands, CONFIG_MP_INCLUDED must be set to 'y'.
They can then be accessed with the correct ioctl.
Example application to do this can be found here:
https://github.com/lfelten/rtl_iw_priv
2023-04-27 11:27:01 +02:00
Nick
83d0da5eae
Merge pull request #85 from tdebrouw/roaming_fix
Bugfix: fix active roaming capability & improve roaming comments.
2023-04-24 12:19:52 -05:00
Theo Debrouwere
d239b9105d Improve roaming documentation.
Improve existing documentation.
Add documentation to undocumented variables.
2023-04-24 18:53:18 +02:00
Theo Debrouwere
154cdb82e3 Bugfix: fix active roaming capability.
According to the makefile, it should be possible to keep roaming active:
Set #bit2 of CONFIG_ROAMING_FLAG, like this:
CONFIG_ROAMING_FLAG = 0x7

But, when trying out this option, it appears that active roaming is not
working as expected. It only changes if the old AP is expired.

This patch fixes this behaviour, but does NOT set BIT2.

Reason for failure:
The linked_status_chk function runs every 2 seconds.
There is an internal roaming flag (need_to_roam) that is set when the
current signal is below a threshold AND if it hasn't been set during a
predefined time. Setting the flag also updates the last_time_roaming timestamp.
If either of these fails, then the flag (need_to_roam) is cleared.

This causes a race condition:
1) Threshold is too low + long last_time_roaming
   -> flag is set + last_time_roaming is updated.
2) Chipset starts scanning / surveying (this takes > 3 sec)
3) Conditions are rechecked: threshold is still to low, but last_time_roaming
is now too recent -> flag is cleared.
4) Survey finishes, but since the flag is cleared, roaming will be ignored.

The solution in this patch:
Once the flag (need_to_roam) has been set, it should only be cleared if the
signal strength is above the threshold. It should not be cleared based on the
last_time_roaming timestamp.
2023-04-24 18:43:19 +02:00
morrownr
963666429f improve Fedora secure boot info 2023-04-09 11:55:55 -05:00
morrownr
81da785e6b improve secure boot info 2023-04-09 11:21:04 -05:00
morrownr
3bf1133e22 update secure boot info for Fedora 2023-04-06 10:42:16 -05:00
morrownr
80781de376 Log spam with start_addr, buffer_size 2023-03-19 07:26:10 -05:00
morrownr
5a39cefab3 cleanup 2023-03-14 07:57:22 -05:00
morrownr
0da76ce08f update README 2023-03-13 22:25:08 -05:00
morrownr
dff921fddc Merge branch 'main' of https://github.com/morrownr/8821cu-20210916 2023-03-13 21:36:53 -05:00
morrownr
7e5bc383ae kernel 6.3 support 2023-03-13 21:36:18 -05:00
Nick
69c903b75b
Merge pull request #73 from paralin/fix-powerpc64
Fix build on PowerPC64
2023-03-06 00:16:15 -06:00
morrownr
bd2400d313 cleanup minor issues 2023-03-05 13:57:17 -06:00
Giulio Benetti
89b12d21fc Fix build on PowerPC64
On PowerPC64 architecture get_ra() is also present in Linux but with a
different name causing build to fail. To fix this let's rename local
get_ra() to rtl_get_ra().

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
2023-03-02 23:43:19 -08:00
morrownr
66ef382e8e remove alpha 2 codes document 2023-03-03 00:23:24 -06:00
Nick
1db021baf8
Merge pull request #72 from SeanMollet/main
Add a suitable .gitignore file
2023-03-02 16:20:54 -06:00
Sean Mollet
d47960f785 Add a suitable .gitignore file 2023-03-02 13:23:00 +00:00
morrownr
ab61abf36e minor updates 2023-02-28 21:32:19 -06:00
morrownr
8d3d61775c minor updates 2023-02-27 14:31:22 -06:00
morrownr
e75a84e4c0 various script and documentation updates 2023-02-27 10:50:37 -06:00
morrownr
5e901d1615 minor updates 2023-02-24 13:37:18 -06:00
morrownr
e1bfaddd09 updating FAQ 2023-02-24 11:22:54 -06:00