qcacmn: set customizable rx_buffer_size

introduce custom rx_buffer_size from INI within the bounds of
2048-4096

Change-Id: I17ad727cea74fc559d6407d3c8662cb6a4cd6b0a
CRs-Fixed: 3631271
This commit is contained in:
Ruben Columbus
2023-10-03 15:51:30 -07:00
committed by Rahul Choudhary
vanhempi a4a989e5b7
commit 70b5c653d0
13 muutettua tiedostoa jossa 109 lisäystä ja 26 poistoa

Näytä tiedosto

@@ -177,6 +177,7 @@ struct wlan_srng_cfg {
* @int_timer_threshold_mon_dest: Timer threshold counter for monitor dest
* @tx_ring_size:
* @time_control_bp:
* @rx_buffer_size: skb size
* @qref_control_size: list size for memory history arrays
* @tx_comp_ring_size:
* @tx_comp_ring_size_nss:
@@ -386,6 +387,7 @@ struct wlan_cfg_dp_soc_ctxt {
int int_timer_threshold_mon_dest;
int tx_ring_size;
int time_control_bp;
int rx_buffer_size;
int qref_control_size;
int tx_comp_ring_size;
int tx_comp_ring_size_nss;
@@ -1617,6 +1619,14 @@ void wlan_cfg_set_tx_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg,
*/
int wlan_cfg_time_control_bp(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_rx_buffer_size - Get buffer size for skb
* @cfg: soc configuration context
*
* Return: buffer size
*/
int wlan_cfg_rx_buffer_size(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_qref_control_size - Get debug array size
* @cfg: soc configuration context