Merge "qcacmn: Rename cmd ring to cmd_credit ring"

Cette révision appartient à :
Linux Build Service Account
2020-02-15 11:08:15 -08:00
révisé par Gerrit - the friendly Code Review server
révision 67ef957780
37 fichiers modifiés avec 449 ajouts et 261 suppressions

Voir le fichier

@@ -188,9 +188,9 @@
#define WLAN_CFG_WBM_RELEASE_RING_SIZE_MIN 64
#define WLAN_CFG_WBM_RELEASE_RING_SIZE_MAX 64
#define WLAN_CFG_TCL_CMD_RING_SIZE 32
#define WLAN_CFG_TCL_CMD_RING_SIZE_MIN 32
#define WLAN_CFG_TCL_CMD_RING_SIZE_MAX 32
#define WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE 32
#define WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MIN 32
#define WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MAX 32
#define WLAN_CFG_TCL_STATUS_RING_SIZE 32
#define WLAN_CFG_TCL_STATUS_RING_SIZE_MIN 32
@@ -550,12 +550,12 @@
WLAN_CFG_WBM_RELEASE_RING_SIZE, \
CFG_VALUE_OR_DEFAULT, "DP WBM Release Ring")
#define CFG_DP_TCL_CMD_RING \
CFG_INI_UINT("dp_tcl_cmd_ring", \
WLAN_CFG_TCL_CMD_RING_SIZE_MIN, \
WLAN_CFG_TCL_CMD_RING_SIZE_MAX, \
WLAN_CFG_TCL_CMD_RING_SIZE, \
CFG_VALUE_OR_DEFAULT, "DP TCL command ring")
#define CFG_DP_TCL_CMD_CREDIT_RING \
CFG_INI_UINT("dp_tcl_cmd_credit_ring", \
WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MIN, \
WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE_MAX, \
WLAN_CFG_TCL_CMD_CREDIT_RING_SIZE, \
CFG_VALUE_OR_DEFAULT, "DP TCL Cmd_Credit ring")
#define CFG_DP_TCL_STATUS_RING \
CFG_INI_UINT("dp_tcl_status_ring",\
@@ -825,7 +825,7 @@
CFG(CFG_DP_TCP_UDP_CKSUM_OFFLOAD) \
CFG(CFG_DP_DEFRAG_TIMEOUT_CHECK) \
CFG(CFG_DP_WBM_RELEASE_RING) \
CFG(CFG_DP_TCL_CMD_RING) \
CFG(CFG_DP_TCL_CMD_CREDIT_RING) \
CFG(CFG_DP_TCL_STATUS_RING) \
CFG(CFG_DP_REO_REINJECT_RING) \
CFG(CFG_DP_RX_RELEASE_RING) \

Voir le fichier

@@ -342,7 +342,7 @@ void wlan_set_srng_cfg(struct wlan_srng_cfg **wlan_cfg)
g_wlan_srng_cfg[REO_CMD] = wlan_srng_default_cfg;
g_wlan_srng_cfg[REO_STATUS] = wlan_srng_default_cfg;
g_wlan_srng_cfg[TCL_DATA] = wlan_srng_default_cfg;
g_wlan_srng_cfg[TCL_CMD] = wlan_srng_default_cfg;
g_wlan_srng_cfg[TCL_CMD_CREDIT] = wlan_srng_default_cfg;
g_wlan_srng_cfg[TCL_STATUS] = wlan_srng_default_cfg;
g_wlan_srng_cfg[WBM_IDLE_LINK] = wlan_srng_default_cfg;
g_wlan_srng_cfg[SW2WBM_RELEASE] = wlan_srng_default_cfg;
@@ -516,8 +516,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
wlan_cfg_ctx->wbm_release_ring = cfg_get(psoc,
CFG_DP_WBM_RELEASE_RING);
wlan_cfg_ctx->tcl_cmd_ring = cfg_get(psoc,
CFG_DP_TCL_CMD_RING);
wlan_cfg_ctx->tcl_cmd_credit_ring = cfg_get(psoc,
CFG_DP_TCL_CMD_CREDIT_RING);
wlan_cfg_ctx->tcl_status_ring = cfg_get(psoc,
CFG_DP_TCL_STATUS_RING);
wlan_cfg_ctx->reo_reinject_ring = cfg_get(psoc,
@@ -1075,9 +1075,9 @@ wlan_cfg_get_dp_soc_wbm_release_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
}
int
wlan_cfg_get_dp_soc_tcl_cmd_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
wlan_cfg_get_dp_soc_tcl_cmd_credit_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->tcl_cmd_ring;
return cfg->tcl_cmd_credit_ring;
}
int

Voir le fichier

@@ -143,7 +143,7 @@ struct wlan_srng_cfg {
* @nss_cfg: nss configuration
* @rx_defrag_min_timeout: rx defrag minimum timeout
* @wbm_release_ring: wbm release ring size
* @tcl_cmd_ring: tcl cmd ring size
* @tcl_cmd_credit_ring: tcl command/credit ring size
* @tcl_status_ring: tcl status ring size
* @reo_reinject_ring: reo reinject ring
* @rx_release_ring: rx release ring size
@@ -241,7 +241,7 @@ struct wlan_cfg_dp_soc_ctxt {
int rx_defrag_min_timeout;
int reo_dst_ring_size;
int wbm_release_ring;
int tcl_cmd_ring;
int tcl_cmd_credit_ring;
int tcl_status_ring;
int reo_reinject_ring;
int rx_release_ring;
@@ -998,13 +998,13 @@ int
wlan_cfg_get_dp_soc_wbm_release_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
/*
* wlan_cfg_get_dp_soc_tcl_cmd_ring_size - Get tcl_cmd_ring size
* wlan_cfg_get_dp_soc_tcl_cmd_credit_ring_size - Get command/credit ring size
* @wlan_cfg_soc_ctx
*
* Return: tcl_cmd_ring size
* Return: tcl_cmd_credit_ring size
*/
int
wlan_cfg_get_dp_soc_tcl_cmd_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
wlan_cfg_get_dp_soc_tcl_cmd_credit_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
/*
* wlan_cfg_get_dp_soc_tcl_status_ring_size - Get tcl_status_ring size