diff --git a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi index 45a22b7e7fa..63ee807ecd0 100644 --- a/drivers/wifi/nrf_wifi/Kconfig.nrfwifi +++ b/drivers/wifi/nrf_wifi/Kconfig.nrfwifi @@ -807,4 +807,15 @@ config NRF70_PASSIVE_SCAN_ONLY help Enable this configuration to force passive scan on all channels. This will override application-specified scan type. + +config NRF_WIFI_TWT_SETUP_TIMEOUT + int "TWT setup request timeout in ms" + range 100 10000 + default 250 + help + Timeout duration (in milliseconds) for the TWT setup procedure. + The STA will transmit a TWT setup request every 100 milliseconds, + continuing until this timeout value is reached. If no response is received + before the timeout expires, the TWT setup is considered failed. + Note: This is only build time parameter, runtime configuration not supported. endif # WIFI_NRF70 diff --git a/drivers/wifi/nrf_wifi/src/wifi_mgmt.c b/drivers/wifi/nrf_wifi/src/wifi_mgmt.c index 5effb759fa4..6090ba0ffb4 100644 --- a/drivers/wifi/nrf_wifi/src/wifi_mgmt.c +++ b/drivers/wifi/nrf_wifi/src/wifi_mgmt.c @@ -568,6 +568,7 @@ int nrf_wifi_set_twt(const struct device *dev, twt_info.dialog_token = twt_params->dialog_token; twt_info.twt_wake_ahead_duration = twt_params->setup.twt_wake_ahead_duration; + twt_info.twt_req_timeout = CONFIG_NRF_WIFI_TWT_SETUP_TIMEOUT; status = nrf_wifi_fmac_twt_setup(rpu_ctx_zep->rpu_ctx, vif_ctx_zep->vif_idx, diff --git a/west.yml b/west.yml index 88163be4dd9..c545c31df10 100644 --- a/west.yml +++ b/west.yml @@ -304,7 +304,7 @@ manifest: revision: 3cfca0192ff84da919e9bc7978bcc2239cd6a395 path: modules/bsim_hw_models/nrf_hw_models - name: nrf_wifi - revision: f6b950a3b5c0187fe499b0e518426d5bf88b7e68 + revision: pull/67/head path: modules/lib/nrf_wifi - name: open-amp revision: b735edbc739ad59156eb55bb8ce2583d74537719