qcacmn: add INI to place FST in CMEM

In addition to firmware capability, add INI param to decide FST
placement in CMEM.

Change-Id: Icc5fdfa49e35665b59efce3fc1f1855d84c16140
CRs-Fixed: 2778898
This commit is contained in:
Manikanta Pubbisetty
2020-09-17 08:23:23 +05:30
committed by snandini
父節點 b36165ae23
當前提交 905d9e33fb
共有 4 個文件被更改,包括 22 次插入2 次删除

查看文件

@@ -301,6 +301,7 @@ struct wlan_cfg_dp_soc_ctxt {
uint32_t rx_pending_low_threshold;
bool is_poll_mode_enabled;
uint8_t is_swlm_enabled;
bool fst_in_cmem;
bool tx_per_pkt_vdev_id_check;
};
@@ -1457,6 +1458,14 @@ wlan_cfg_is_peer_ext_stats_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);
bool wlan_cfg_is_poll_mode_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_is_fst_in_cmem_enabled() - Check if FST in CMEM is enabled
* @cfg: soc configuration context
*
* Return: true if enabled, false otherwise.
*/
bool wlan_cfg_is_fst_in_cmem_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_is_swlm_enabled() - Get SWLMenabled flag
* @cfg: soc configuration context