qcacmn: Send val of separate iface support for NAN INI to Fw

Update value of new ini for separate iface support for NAN
"nan_separate_iface_support" to fw through a command
WMI_INIT_CMDID.

Change-Id: I55830e0d16d86ee5a0bfa7d3e44c6309c0d3d54b
CRs-Fixed: 2612010
Šī revīzija ir iekļauta:
Abhinav Kumar
2020-01-24 19:02:52 +05:30
revīziju iesūtīja nshrivas
vecāks fef1078ed0
revīzija b59458c284
2 mainīti faili ar 6 papildinājumiem un 0 dzēšanām

Parādīt failu

@@ -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_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_high_mask_enable: enable tid valid mask for high priority flow
* @ast_tid_low_mask_enable: enable tid valid mask for low 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 { typedef struct {
uint32_t num_vdevs; uint32_t num_vdevs;
@@ -5285,6 +5286,7 @@ typedef struct {
ast_3_flow_mask_enable:4, ast_3_flow_mask_enable:4,
ast_tid_high_mask_enable:8, ast_tid_high_mask_enable:8,
ast_tid_low_mask_enable:8; ast_tid_low_mask_enable:8;
bool nan_separate_iface_support;
} target_resource_config; } target_resource_config;
/** /**

Parādīt failu

@@ -6868,6 +6868,10 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
WMI_MSDU_FLOW_TID_VALID_LOW_MASKS_SET( WMI_MSDU_FLOW_TID_VALID_LOW_MASKS_SET(
resource_cfg->msdu_flow_override_config1, resource_cfg->msdu_flow_override_config1,
tgt_res_cfg->ast_tid_low_mask_enable); 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 /* copy_hw_mode_id_in_init_cmd() - Helper routine to copy hw_mode in init cmd