qcacmn: Add SAWF to init resource config

Add SAWf to init resource config to communicate
to the FW to either enable or disable Service Aware Wifi

Change-Id: I8285e383cb464c506e98e3a88dd267dae4b96558
CRs-Fixed: 3101373
This commit is contained in:
Vivek
2022-02-07 10:19:44 +05:30
کامیت شده توسط Madan Koyyalamudi
والد 1cd2285eca
کامیت 3e7c64225c
2فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده

مشاهده پرونده

@@ -5778,6 +5778,7 @@ typedef struct {
bool afc_timer_check_disable;
bool afc_req_id_check_disable;
uint32_t carrier_profile_config;
bool sawf;
} target_resource_config;
/**

مشاهده پرونده

@@ -7920,6 +7920,12 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg,
WMI_SET_BITS(resource_cfg->flags2, 0, 4,
tgt_res_cfg->re_ul_resp);
/*
* Enable Service Aware Wifi
*/
if (tgt_res_cfg->sawf)
WMI_RSRC_CFG_FLAGS2_SAWF_CONFIG_ENABLE_SET(resource_cfg->flags2,
tgt_res_cfg->sawf);
/*
* Enable ast flow override per peer