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

wifi: Get RTS threshold #77774

Closed
wants to merge 3 commits into from
Closed

Conversation

kapbh
Copy link
Contributor

@kapbh kapbh commented Aug 30, 2024

Add api support to get RTS threshold.

Add api to get rts threshold.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
Add api support to get RTS threshold.

Signed-off-by: Kapil Bhatt <kapil.bhatt@nordicsemi.no>
return ret;
}

*rts_threshold = (int)vif_ctx_zep->rts_threshold_value;
Copy link
Contributor

Choose a reason for hiding this comment

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

If this is being cast to int then why not define the rts_threshold as int instead of unsigned int ?

@@ -83,6 +83,7 @@ struct nrf_wifi_vif_ctx_zep {
#ifdef CONFIG_NRF_WIFI_RPU_RECOVERY
struct k_work nrf_wifi_rpu_recovery_work;
#endif /* CONFIG_NRF_WIFI_RPU_RECOVERY */
unsigned int rts_threshold_value;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not define as int instead of unsigned int (see comment below in wifi_mgmt.c) ?

@kapbh
Copy link
Contributor Author

kapbh commented Sep 11, 2024

Need to close this, will update changes with proper branch.

@kapbh kapbh closed this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants