-
Notifications
You must be signed in to change notification settings - Fork 7.5k
wifi: Add support for runtime BSS max idle support configuration #91904
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
base: main
Are you sure you want to change the base?
wifi: Add support for runtime BSS max idle support configuration #91904
Conversation
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
subsys/net/l2/wifi/wifi_shell.c
Outdated
@@ -4285,6 +4311,12 @@ SHELL_SUBCMD_ADD((wifi), ps_exit_strategy, NULL, | |||
cmd_wifi_ps_exit_strategy, | |||
2, 2); | |||
|
|||
SHELL_SUBCMD_ADD((wifi), bss_max_idle_period, NULL, | |||
"<bss_max_idle: timer(in TUs)>.\n" |
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.
"<bss_max_idle: timer(in TUs)>.\n" | |
"<bss_max_idle: timeout (in TUs)>.\n" |
7e7c4cd
to
a0d39e2
Compare
a0d39e2
to
20dd740
Compare
1ecff80
to
1c1499f
Compare
Support to configure BSS max idle period at runtime. Signed-off-by: Ajay Parida <[email protected]>
Revert max idle period configuration from hostap. Signed-off-by: Ajay Parida <[email protected]>
1c1499f
to
61a16fd
Compare
|
@@ -88,6 +88,8 @@ struct nrf_wifi_vif_ctx_zep { | |||
struct k_work_delayable nrf_wifi_rpu_recovery_bringup_work; | |||
#endif /* CONFIG_NRF_WIFI_RPU_RECOVERY */ | |||
int rts_threshold_value; | |||
bool bss_max_idle_period_user_set; |
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.
as this is just a once shot flag, do we really need it? We can just initialized bss_max_idle_period = -1
(which overflows as it's unsigned int and becomes invalid as valid is only 64000`?
@@ -4285,6 +4311,12 @@ SHELL_SUBCMD_ADD((wifi), ps_exit_strategy, NULL, | |||
cmd_wifi_ps_exit_strategy, | |||
2, 2); | |||
|
|||
SHELL_SUBCMD_ADD((wifi), bss_max_idle_period, NULL, | |||
"<bss_max_idle_period: timeout(in TUs)>.\n" |
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.
"<bss_max_idle_period: timeout(in TUs)>.\n" | |
"<BSS max idle period preference: timeout(in TUs)>.\n" |
@@ -149,3 +149,19 @@ config HEAP_MEM_POOL_ADD_SIZE_WIFI_CERT | |||
endif # WIFI_SHELL_RUNTIME_CERTIFICATES | |||
|
|||
endif # WIFI_NM_WPA_SUPPLICANT_CRYPTO_ENTERPRISE | |||
|
|||
config WIFI_MGMT_BSS_MAX_IDLE_TIME | |||
int "BSS max idle timeout in seconds" |
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.
int "BSS max idle timeout in seconds" | |
int "BSS max idle timeout in TUs" |
Please confirm the units, shell says TUs.
Support to configure BSS max idle period at runtime.