Commit Graph

151 Commits (83d0da5eaeae9a8860ac867c6e7ec2225b59c2a6)

Author SHA1 Message Date
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
morrownr 8c45ce6dae cleanup code and minor mods to docs 2023-02-23 14:29:27 -06:00
morrownr 589ec21474 minor updates 2023-02-19 14:03:53 -06:00
Nick 4784915bfa
Merge pull request #68 from markussmiskis/patch-1
Update README.md for Arch Linux
2023-02-17 00:02:49 -06:00
Markuss Mišķis e8b7a36015
Update README.md for Arch Linux
While installing, I got an error: 

A required package is not installed.
Please install the following package: iw
Once the package is installed, please run "sudo ./install-driver.sh"

I believe this should be noted in the README
2023-02-17 00:06:11 +02:00
morrownr ec6f765dfb reduce ACS reporting in log 2023-02-16 12:25:30 -06:00
morrownr 4600c193ab improve Secure Boot support 2023-02-15 00:05:13 -06:00
morrownr 22f2cb7aa5 fix some editing errors 2023-02-12 17:36:39 -06:00
morrownr 3b54625995 updating documentation 2023-02-12 15:49:18 -06:00
morrownr 4478ac0915 update README 2023-02-11 12:39:38 -06:00
morrownr 7d16a68513 minor updates 2023-02-09 23:34:54 -06:00
morrownr 5f3bbbf007 various minor updates 2023-02-09 09:11:23 -06:00
morrownr 6447ce7ea7 minor update to docs 2023-02-07 01:10:16 -06:00
morrownr 8cb0ee1701 minor cosmetic fix 2023-01-31 19:58:00 -06:00
morrownr 0ae6deca87 pre-release cleanup 2023-01-30 12:09:56 -06:00
morrownr 2e46b96a12 documentation cleanup 2023-01-27 15:45:56 -06:00
morrownr 1932852d61 documentation cleanup 2023-01-27 14:20:15 -06:00
morrownr 984ab7bd1f documentation update 2023-01-27 08:18:05 -06:00
morrownr ff428849fc documentation cleanup 2023-01-26 23:47:52 -06:00
morrownr 46c418e960 minor cosmetic issues discovered during testing 2023-01-26 14:46:43 -06:00
morrownr 180d90bd6e cosmetic cleanup, not logic changes 2023-01-26 11:52:27 -06:00
Nick 169993a75a
Merge pull request #58 from M0les/main
Remove "Bashisms" from scripts
2023-01-26 07:29:28 -06:00
Miles Goodhew 53e8b12bcb Use printf and case around the read statements to make the prompts a bit friendlier 2023-01-26 01:33:34 +11:00
Miles Goodhew c0281e1d05 Addressed whines from "shellcheck -s sh" 2023-01-26 00:15:46 +11:00
Miles Goodhew 5fd204f3df Addressed whines from "shellcheck -s sh" 2023-01-25 23:57:32 +11:00
Miles Goodhew b4a7f21fdd Addressed whines from "shellcheck -s sh" 2023-01-25 23:52:41 +11:00
Miles Goodhew 7e932ac90d Addressed whines from "shellcheck -s sh" 2023-01-25 23:17:49 +11:00
Miles Goodhew 8fe4a3bc2a Addressed whines from "shellcheck -s sh" 2023-01-25 23:14:51 +11:00
Miles Goodhew 2954b29f7d Squashed all the if/then, while/do and for/do fragments onto single lines 2023-01-25 22:35:30 +11:00