Revert "mt76x2: fix queue mapping in mt76x2_conf_tx()"

This reverts commit adf1bbd03c.
A report indicates that this causes a tx/rx throughput regression

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-11-05 10:42:38 +01:00
parent adf1bbd03c
commit 892543eb79
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -54,7 +54,6 @@ mt76x2_init_tx_queue(struct mt76x2_dev *dev, struct mt76_queue *q,
{
int ret;
q->hw_idx = idx;
q->regs = dev->mt76.regs + MT_TX_RING_BASE + idx * MT_RING_SIZE;
q->ndesc = n_desc;
-2
View File
@@ -361,8 +361,6 @@ mt76x2_conf_tx(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 queue,
u8 cw_min = 5, cw_max = 10;
u32 val;
queue = dev->mt76.q_tx[queue].hw_idx;
if (params->cw_min)
cw_min = fls(params->cw_min);
if (params->cw_max)