diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index 9b24187854..108ca20e10 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -6716,6 +6716,7 @@ struct target_feature_set { * @notify_frame_support: capability to mark notify frames from host * @dp_peer_meta_data_ver: datapath peer meta data version flag * @tx_ilp_enable: capability to support TX ILP from host + * @rf_path: Indicates RF path 0 primary, 1 secondary */ typedef struct { uint32_t num_vdevs; @@ -6847,6 +6848,7 @@ typedef struct { #ifdef DP_TX_PACKET_INSPECT_FOR_ILP uint8_t tx_ilp_enable; #endif + bool rf_path; } target_resource_config; /** diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index d1354dcfd5..b8a72ca115 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -9396,6 +9396,10 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg, WMI_RSRC_CFG_FLAGS2_NOTIFY_FRAME_CONFIG_ENABLE_SET( resource_cfg->flags2, 1); + if (tgt_res_cfg->rf_path) + WMI_RSRC_CFG_FLAGS2_RF_PATH_MODE_SET( + resource_cfg->flags2, tgt_res_cfg->rf_path); + wmi_copy_latency_flowq_support(resource_cfg, tgt_res_cfg); }