|
@@ -7302,6 +7302,19 @@ static void wmi_copy_twt_resource_config(wmi_resource_config *resource_cfg,
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#ifdef WLAN_FEATURE_NAN
|
|
|
|
+static void wmi_set_nan_channel_support(wmi_resource_config *resource_cfg)
|
|
|
|
+{
|
|
|
|
+ WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_CHANNEL_SUPPORT_SET(
|
|
|
|
+ resource_cfg->host_service_flags, 1);
|
|
|
|
+}
|
|
|
|
+#else
|
|
|
|
+static inline
|
|
|
|
+void wmi_set_nan_channel_support(wmi_resource_config *resource_cfg)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
+
|
|
static
|
|
static
|
|
void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
|
|
void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
|
|
target_resource_config *tgt_res_cfg)
|
|
target_resource_config *tgt_res_cfg)
|
|
@@ -7536,6 +7549,8 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
|
|
WMI_RSRC_CFG_HOST_SERVICE_FLAG_REG_CC_EXT_SUPPORT_SET(
|
|
WMI_RSRC_CFG_HOST_SERVICE_FLAG_REG_CC_EXT_SUPPORT_SET(
|
|
resource_cfg->host_service_flags,
|
|
resource_cfg->host_service_flags,
|
|
tgt_res_cfg->is_reg_cc_ext_event_supported);
|
|
tgt_res_cfg->is_reg_cc_ext_event_supported);
|
|
|
|
+
|
|
|
|
+ wmi_set_nan_channel_support(resource_cfg);
|
|
}
|
|
}
|
|
|
|
|
|
/* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd
|
|
/* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd
|