Skip to content

Commit

Permalink
fw_if: src: Add Kconfig option in init command
Browse files Browse the repository at this point in the history
Add Kconfig option in init command for disabling priority window
for scan.

Signed-off-by: Kapil Bhatt <[email protected]>
  • Loading branch information
kapbh authored and krish2718 committed Dec 23, 2024
1 parent 9d16c05 commit 0f53c9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fw_if/umac_if/src/cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,12 @@ enum nrf_wifi_status umac_cmd_init(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx,

umac_cmd_data->display_scan_bss_limit = NRF_WIFI_DISPLAY_SCAN_BSS_LIMIT;

#ifdef NRF_WIFI_COEX_DISABLE_PRIORITY_WINDOW_FOR_SCAN
umac_cmd_data->coex_disable_ptiwin_for_wifi_scan = 1;
#else
umac_cmd_data->coex_disable_ptiwin_for_wifi_scan = 0;
#endif /* NRF_WIFI_COEX_DISABLE_PRIORITY_WINDOW_FOR_SCAN */

status = nrf_wifi_hal_ctrl_cmd_send(fmac_dev_ctx->hal_dev_ctx,
umac_cmd,
(sizeof(*umac_cmd) + len));
Expand Down

0 comments on commit 0f53c9e

Please sign in to comment.