diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 29f560ddd0..4ab5c81137 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -5189,6 +5189,7 @@ struct wmi_host_fw_abi_ver { * @ast_3_flow_mask_enable: mask to enable flow support for ast index 3 * @ast_tid_high_mask_enable: enable tid valid mask for high priority flow * @ast_tid_low_mask_enable: enable tid valid mask for low priority flow + * @nan_separate_iface_support: Separate iface creation for NAN */ typedef struct { uint32_t num_vdevs; @@ -5285,6 +5286,7 @@ typedef struct { ast_3_flow_mask_enable:4, ast_tid_high_mask_enable:8, ast_tid_low_mask_enable:8; + bool nan_separate_iface_support; } target_resource_config; /** diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index a801a82de9..f20b5a93b2 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -6868,6 +6868,10 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg, WMI_MSDU_FLOW_TID_VALID_LOW_MASKS_SET( resource_cfg->msdu_flow_override_config1, tgt_res_cfg->ast_tid_low_mask_enable); + WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_SET( + resource_cfg->host_service_flags, + tgt_res_cfg->nan_separate_iface_support); + } /* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd