iwlwifi: set 512 TX queue slots for AX210 devices
AX210 devices support 256 BA (256 MPDUs in an AMPDU). The firmware requires that the number of TFDs will be minimum twice as big as the BA size (2 * 256 = 512). Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Dieser Commit ist enthalten in:

committet von
Luca Coelho

Ursprung
afc1e3b4fc
Commit
c30aef01ba
@@ -999,7 +999,8 @@ static int iwl_pcie_tx_alloc(struct iwl_trans *trans)
|
||||
slots_num = max_t(u32, TFD_CMD_SLOTS,
|
||||
trans->cfg->min_txq_size);
|
||||
else
|
||||
slots_num = TFD_TX_CMD_SLOTS;
|
||||
slots_num = max_t(u32, TFD_TX_CMD_SLOTS,
|
||||
trans->cfg->min_256_ba_txq_size);
|
||||
trans_pcie->txq[txq_id] = &trans_pcie->txq_memory[txq_id];
|
||||
ret = iwl_pcie_txq_alloc(trans, trans_pcie->txq[txq_id],
|
||||
slots_num, cmd_queue);
|
||||
@@ -1052,7 +1053,8 @@ int iwl_pcie_tx_init(struct iwl_trans *trans)
|
||||
slots_num = max_t(u32, TFD_CMD_SLOTS,
|
||||
trans->cfg->min_txq_size);
|
||||
else
|
||||
slots_num = TFD_TX_CMD_SLOTS;
|
||||
slots_num = max_t(u32, TFD_TX_CMD_SLOTS,
|
||||
trans->cfg->min_256_ba_txq_size);
|
||||
ret = iwl_pcie_txq_init(trans, trans_pcie->txq[txq_id],
|
||||
slots_num, cmd_queue);
|
||||
if (ret) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren