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

radio test improements #50

Merged
merged 3 commits into from
Mar 21, 2025
Merged

radio test improements #50

merged 3 commits into from
Mar 21, 2025

Conversation

krish2718
Copy link
Contributor

No description provided.

@@ -996,6 +1037,7 @@ static int nrf_wifi_radio_test_set_tx(size_t argc, const char *argv[]) {

if (status != NRF_WIFI_STATUS_SUCCESS) {
RT_SHELL_PRINTF_ERROR("Programming TX failed\n");
ctx->conf_params.tx = !val;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might cause an issue where a test is NOT running and the user issues a TX stop (erroneously). We seem to be missing a check in the beginning to catch this scenario. If now the nrf_wifi_rt_fmac_prog_tx too fails then the state will get set to TX running.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will still work, as the API won't fail if the test is not running, no? (we can add a check independent to this).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to do wifi_radio_test tx_tone 0 without starting and the command timeout, like most other commands FW doesn't send an event if its a no-op, so, we need a fix in OSAL code for that to avoid sending CMD if it's a no-op, but this is unrelated to the issue that customer has reported.

This is helpful in trying multiple iterations and having finer control
over nRF70 init rather esp. when switching modes or recovery.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Clear only on success, helps in dealing with multiple tests in a
sequence.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
Only nRF70 is deinitialized then the config is no longer relevant.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
@krish2718 krish2718 merged commit 7ac3db6 into nrfconnect:main Mar 21, 2025
2 checks passed
@krish2718 krish2718 deleted the rt_improvs branch March 21, 2025 12:38
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