File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ target_compile_definitions(
5151 $<$<BOOL :${CONFIG_NRF70_2_4G_ONLY} >:NRF70_2_4G_ONLY >
5252 $<$<BOOL :${CONFIG_NRF70_LOG_VERBOSE} >:NRF70_LOG_VERBOSE >
5353 $<$<BOOL :${CONFIG_NRF70_AP_MODE} >:NRF70_AP_MODE >
54+ $<$<BOOL :${CONFIG_NRF70_SR_COEX} >:NRF70_SR_COEX >
5455 $<$<BOOL :${CONFIG_NRF_WIFI_MGMT_BUFF_OFFLOAD} >:NRF_WIFI_MGMT_BUFF_OFFLOAD >
5556 $<$<BOOL :${CONFIG_NRF_WIFI_FEAT_KEEPALIVE} >:NRF_WIFI_FEAT_KEEPALIVE >
5657 $<$<BOOL :${CONFIG_NRF_WIFI_FEAT_KEEPALIVE} >:NRF_WIFI_KEEPALIVE_PERIOD_S =${CONFIG_NRF_WIFI_KEEPALIVE_PERIOD_S} >
@@ -107,6 +108,7 @@ target_compile_definitions(
107108 NRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS=${CONFIG_NRF_WIFI_RPU_RECOVERY_PS_ACTIVE_TIMEOUT_MS}
108109 NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT=${CONFIG_NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT}
109110 NRF_WIFI_RPU_MIN_TIME_TO_ENTER_SLEEP_MS=${CONFIG_NRF_WIFI_RPU_MIN_TIME_TO_ENTER_SLEEP_MS}
111+ NRF70_BT_SLOT_TIME=${CONFIG_NRF70_BT_SLOT_TIME}
110112 WIFI_NRF70_LOG_LEVEL=${CONFIG_WIFI_NRF70_LOG_LEVEL}
111113)
112114
Original file line number Diff line number Diff line change @@ -176,6 +176,14 @@ enum nrf_wifi_status umac_cmd_sys_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ct
176176 umac_cmd_data -> dynamic_ed = 1 ;
177177 #endif /* NRF_WIFI_DYNAMIC_ED */
178178
179+ #ifdef NRF70_SR_COEX
180+ umac_cmd_data -> bt_coex_disable = 0 ;
181+ umac_cmd_data -> bt_slot_time_in_ms = NRF70_BT_SLOT_TIME ;
182+ #else
183+ umac_cmd_data -> bt_coex_disable = 1 ;
184+ umac_cmd_data -> bt_slot_time_in_ms = 0 ;
185+ #endif
186+
179187 status = nrf_wifi_hal_ctrl_cmd_send (fmac_dev_ctx -> hal_dev_ctx ,
180188 umac_cmd ,
181189 (sizeof (* umac_cmd ) + len ));
You can’t perform that action at this time.
0 commit comments