qcacmn: 4k skb buffer change

add new ini to configure skb size and change it in each place its used
correspondingly

Change-Id: Id00c6351bf6bc1b9df5e19064b2057dadd315e9b
CRs-Fixed: 3584462
This commit is contained in:
Ruben Columbus
2023-08-02 13:50:53 -07:00
committed by Rahul Choudhary
parent 0b84f05679
commit 4902c68f4d
13 changed files with 105 additions and 25 deletions

View File

@@ -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;
@@ -1607,6 +1609,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