qcacmn: ini config to allocate special TX descriptors of SOC
An INI dp_tx_spl_device_limit is defined and can be used to configure the limit of TX descriptors that can reserved on the SOC to handle special frames like EAPOL. CRs-Fixed: 3343207 Change-Id: Ic84a11249880a3541749a72ac6d60df548f2bc5c
Dieser Commit ist enthalten in:

committet von
Madan Koyyalamudi

Ursprung
88124ec9b4
Commit
6eba2a4482
@@ -15596,7 +15596,9 @@ void *dp_soc_init(struct dp_soc *soc, HTC_HANDLE htc_handle,
|
||||
qdf_atomic_init(&soc->num_tx_exception);
|
||||
soc->num_tx_allowed =
|
||||
wlan_cfg_get_dp_soc_tx_device_limit(soc->wlan_cfg_ctx);
|
||||
soc->num_reg_tx_allowed = soc->num_tx_allowed - MAX_TX_SPL_DESC;
|
||||
soc->num_tx_spl_allowed =
|
||||
wlan_cfg_get_dp_soc_tx_spl_device_limit(soc->wlan_cfg_ctx);
|
||||
soc->num_reg_tx_allowed = soc->num_tx_allowed - soc->num_tx_spl_allowed;
|
||||
if (soc->cdp_soc.ol_ops->get_dp_cfg_param) {
|
||||
int ret = soc->cdp_soc.ol_ops->get_dp_cfg_param(soc->ctrl_psoc,
|
||||
CDP_CFG_MAX_PEER_ID);
|
||||
|
@@ -2481,6 +2481,8 @@ struct dp_soc {
|
||||
uint32_t num_tx_allowed;
|
||||
/* Num Regular Tx allowed */
|
||||
uint32_t num_reg_tx_allowed;
|
||||
/* Num Tx allowed for special frames*/
|
||||
uint32_t num_tx_spl_allowed;
|
||||
/* Preferred HW mode */
|
||||
uint8_t preferred_hw_mode;
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren