qcacmn: export CMEM FST firmware capability to DP
Firmware advertizes its support to place FST in CMEM, export this capability to DP. Change-Id: I265246bcfd38a36e34c4ede66e117a92bb185032 CRs-Fixed: 2772238
This commit is contained in:

committed by
snandini

parent
9c25cded62
commit
b36165ae23
@@ -1969,6 +1969,7 @@ struct cdp_peer_hmwds_ast_add_status {
|
||||
|
||||
enum cdp_soc_param_t {
|
||||
DP_SOC_PARAM_MSDU_EXCEPTION_DESC,
|
||||
DP_SOC_PARAM_CMEM_FSE_SUPPORT,
|
||||
DP_SOC_PARAM_MAX,
|
||||
};
|
||||
|
||||
|
@@ -10338,6 +10338,10 @@ static QDF_STATUS dp_soc_set_param(struct cdp_soc_t *soc_hdl,
|
||||
dp_info("num_msdu exception_desc %u",
|
||||
value);
|
||||
break;
|
||||
case DP_SOC_PARAM_CMEM_FSE_SUPPORT:
|
||||
soc->fst_in_cmem = !!value;
|
||||
dp_info("FW supports CMEM FSE %u", value);
|
||||
break;
|
||||
default:
|
||||
dp_info("not handled param %d ", param);
|
||||
break;
|
||||
|
@@ -210,6 +210,11 @@ static int init_deinit_service_ready_event_handler(ol_scn_t scn_handle,
|
||||
DP_SOC_PARAM_MSDU_EXCEPTION_DESC,
|
||||
tgt_hdl->info.target_caps.num_msdu_desc);
|
||||
|
||||
/* Send CMEM FSE support to DP layer */
|
||||
if (wmi_service_enabled(wmi_handle, wmi_service_fse_cmem_alloc_support))
|
||||
cdp_soc_set_param(wlan_psoc_get_dp_handle(psoc),
|
||||
DP_SOC_PARAM_CMEM_FSE_SUPPORT, 1);
|
||||
|
||||
if (wmi_service_enabled(wmi_handle, wmi_service_ext_msg)) {
|
||||
target_if_debug("Wait for EXT message");
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user