qcacmn: ini config to allocate special TX descriptors of pdev
An INI dp_tx_spl_desc is defined and can be used to configure the limit of TX descriptors that can reserved on the pdev to handle special frames like EAPOL. CRs-Fixed: 3343209 Change-Id: I6578bddd1f4ea07528c9f66f778b113ec6fb9e61
This commit is contained in:

committed by
Madan Koyyalamudi

parent
f5eca8f1a9
commit
88124ec9b4
@@ -17204,8 +17204,10 @@ static QDF_STATUS dp_pdev_init(struct cdp_soc_t *txrx_soc,
|
||||
qdf_event_create(&pdev->fw_obss_stats_event);
|
||||
|
||||
pdev->num_tx_allowed = wlan_cfg_get_num_tx_desc(soc->wlan_cfg_ctx);
|
||||
pdev->num_reg_tx_allowed = pdev->num_tx_allowed - MAX_TX_SPL_DESC;
|
||||
|
||||
pdev->num_tx_spl_allowed =
|
||||
wlan_cfg_get_num_tx_spl_desc(soc->wlan_cfg_ctx);
|
||||
pdev->num_reg_tx_allowed =
|
||||
pdev->num_tx_allowed - pdev->num_tx_spl_allowed;
|
||||
if (dp_rxdma_ring_setup(soc, pdev)) {
|
||||
dp_init_err("%pK: RXDMA ring config failed", soc);
|
||||
goto fail3;
|
||||
|
Reference in New Issue
Block a user