qcacmn: Increse num TX rings for QCN9224

This change includes below
1) Changes needed to increase Tx rings to 4
2) Use WBM2SW4 ring for rx error in QCN9224
3) memset srng at alloc to avoid populating RBM_id
in per packet path and enable implicit RBM

Change-Id: Icbd5ac2378273b8f3c6adc41c611e29551fff22f
This commit is contained in:
Chaithanya Garrepalli
2021-10-09 14:47:58 +05:30
committed by Madan Koyyalamudi
parent de13832745
commit 3c3e5709ac
15 changed files with 148 additions and 23 deletions

View File

@@ -380,6 +380,7 @@ struct wlan_cfg_dp_soc_ctxt {
#endif
uint32_t rx_mon_buf_ring_size;
uint32_t tx_mon_buf_ring_size;
uint8_t rx_rel_wbm2sw_ring_id;
};
/**
@@ -1938,4 +1939,23 @@ void wlan_cfg_set_host2txmon_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
*/
int wlan_cfg_get_host2txmon_ring_mask(struct wlan_cfg_dp_soc_ctxt *cfg,
int context);
/*
* wlan_cfg_get_rx_rel_ring_id() - get wbm2sw ring id for Rx release ring
* @wlan_cfg_ctx - Configuration Handle
*
* Return: wbm2sw ring id
*/
uint8_t
wlan_cfg_get_rx_rel_ring_id(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_set_rx_rel_ring_id() - set wbm2sw ring id for Rx release ring
* @cfg: soc configuration context
*
* Return: None
*/
void
wlan_cfg_set_rx_rel_ring_id(struct wlan_cfg_dp_soc_ctxt *cfg,
uint8_t wbm2sw_ring_id);
#endif