-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
wifi: Get RTS threshold #77774
Conversation
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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
) ?
Need to close this, will update changes with proper branch. |
Add api support to get RTS threshold.