qcacmn: Split setup and cleanup APIs for IPA Rx Refill Ring
Split setup API for IPA Rx Refill Ring into allocation and initialization APIs and call them at pdev attach and pdev init respectively. Similary split cleanup API into deinitialization and free APIs and call them at pdev deinit and detach respectively. Move procedures related to IPA Tx and WBM rings from pdev to soc. Also add cdp support to set ipa cfg parameter in soc_cfg struct. Change-Id: I04bb9270ae2dff51746a42b358fbe346f1087f84 CRs-Fixed: 3053542
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
5766b9730c
當前提交
aa2efbcf39
@@ -1264,6 +1264,7 @@ enum cdp_pdev_param_type {
|
||||
*
|
||||
* @cdp_psoc_param_en_rate_stats: set rate stats enable/disable
|
||||
* @cdp_psoc_param_en_nss_cfg: set nss cfg
|
||||
* @cdp_ipa_enabled : set ipa mode
|
||||
*/
|
||||
typedef union cdp_config_param_t {
|
||||
/* peer params */
|
||||
@@ -1339,6 +1340,7 @@ typedef union cdp_config_param_t {
|
||||
bool cdp_psoc_param_pext_stats;
|
||||
|
||||
bool cdp_skip_bar_update;
|
||||
bool cdp_ipa_enabled;
|
||||
} cdp_config_param_type;
|
||||
|
||||
/**
|
||||
@@ -1461,12 +1463,14 @@ enum cdp_vdev_param_type {
|
||||
* @CDP_SET_NSS_CFG: set nss cfg
|
||||
* @CDP_SET_PREFERRED_HW_MODE: set preferred hw mode
|
||||
* @CDP_CFG_PEER_EXT_STATS: Peer extended stats mode.
|
||||
* @CDP_IPA_ENABLE : set IPA enable mode.
|
||||
*/
|
||||
enum cdp_psoc_param_type {
|
||||
CDP_ENABLE_RATE_STATS,
|
||||
CDP_SET_NSS_CFG,
|
||||
CDP_SET_PREFERRED_HW_MODE,
|
||||
CDP_CFG_PEER_EXT_STATS,
|
||||
CDP_IPA_ENABLE,
|
||||
};
|
||||
|
||||
#define TXRX_FW_STATS_TXSTATS 1
|
||||
|
Reference in New Issue
Block a user