qcacmn: Add ini support for RX low threshold interrupts

Add ini param "dp_disable_rx_buf_low_threshold" to disable
low threshold interrupts on regular rx refill ring. Default
it is enabled.

Change-Id: Ie471a4dc6862cbfe8b1eafe7c7d2ce2e0a7fcb7a
CRs-Fixed: 3313885
This commit is contained in:
Chaithanya Garrepalli
2022-10-16 23:14:09 +05:30
committed by Madan Koyyalamudi
parent 5b526f6819
commit 64c4cb3524
4 changed files with 39 additions and 1 deletions

View File

@@ -207,6 +207,7 @@ struct wlan_srng_cfg {
* @reo_cmd_ring: reo cmd ring size
* @reo_status_ring: reo status ting size
* @rxdma_refill_ring: rxdma refill ring size
* @rxdma_refill_lt_disable: rxdma refill low threshold disable
* @rxdma_err_dst_ring: rxdma error destination ring size
* @raw_mode_war: enable/disable raw mode war
* @enable_data_stall_detection: enable/disable specific data stall detection
@@ -351,6 +352,7 @@ struct wlan_cfg_dp_soc_ctxt {
int reo_cmd_ring;
int reo_status_ring;
int rxdma_refill_ring;
bool rxdma_refill_lt_disable;
int rxdma_err_dst_ring;
uint32_t per_pkt_trace;
bool raw_mode_war;
@@ -1509,6 +1511,15 @@ wlan_cfg_get_dp_soc_tx_sw_internode_queue(struct wlan_cfg_dp_soc_ctxt *cfg);
int
wlan_cfg_get_dp_soc_rxdma_refill_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
/*
* wlan_cfg_get_dp_soc_rxdma_refill_lt_disable - Get RxDMA refill LT status
* @wlan_cfg_soc_ctx
*
* Return: true if Low threshold disable else false
*/
bool
wlan_cfg_get_dp_soc_rxdma_refill_lt_disable(struct wlan_cfg_dp_soc_ctxt *cfg);
/*
* wlan_cfg_get_dp_soc_rxdma_err_dst_ring_size - Get rxdma dst ring size
* @wlan_cfg_soc_ctx