Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

welle-cli: disable software AGC in manual gain mode #780

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

kkubicki
Copy link
Contributor

What does this PR do and why is it necessary?

It disables software AGC when using manual gain setting.

How was it tested? How can it be tested by the reviewer?

Tested with rtl_tcp + passing '-g' parameter (0..28 in case of RTL820T) and observing 'RX gain' in web view.
Both '-g -1' & no '-g' parameter passed enables software AGC again.

@kkubicki kkubicki marked this pull request as ready for review April 24, 2023 11:06
kkubicki added 2 commits May 15, 2023 08:26
Manually selecting gain via '-g' parameter does not disable software AGC. 
This change fixes that.
During initial connection to server, gain cannot be properly set before firstData is received.
This change moves RTL gain initialization after device detection.
@kkubicki kkubicki force-pushed the kkubicki-disable-sw-agc branch from f5a215d to 81dfcbd Compare May 15, 2023 08:41
@mpbraendli mpbraendli merged commit 454cf33 into AlbrechtL:next Feb 19, 2024
@mpbraendli
Copy link
Collaborator

Thanks, sorry for taking a bit long to accept the pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants