mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7615: fix hw queue mapping
mt7622/mt7663 chipsets rely on a fixed reverse queue map order respect
to mac80211 one:
- q(0): IEEE80211_AC_BK
- q(1): IEEE80211_AC_BE
- q(2): IEEE80211_AC_VI
- q(3): IEEE80211_AC_VO
Fixes: cdad4874057d ("mt76: mt7615: add dma and tx queue initialization for MT7622")
Fixes: f40ac0f3d3c0 ("mt76: mt7615: introduce mt7663e support")
Co-developed-by: Sean Wang <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Co-developed-by: Ryder Lee <[email protected]>
Signed-off-by: Ryder Lee <[email protected]>
Signed-off-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
43febd4521
commit
0b99752546
+4
-4
@@ -36,10 +36,10 @@ static int
|
||||
mt7622_init_tx_queues_multi(struct mt7615_dev *dev)
|
||||
{
|
||||
static const u8 wmm_queue_map[] = {
|
||||
MT7622_TXQ_AC0,
|
||||
MT7622_TXQ_AC1,
|
||||
MT7622_TXQ_AC2,
|
||||
MT7622_TXQ_AC3,
|
||||
[IEEE80211_AC_BK] = MT7622_TXQ_AC0,
|
||||
[IEEE80211_AC_BE] = MT7622_TXQ_AC1,
|
||||
[IEEE80211_AC_VI] = MT7622_TXQ_AC2,
|
||||
[IEEE80211_AC_VO] = MT7622_TXQ_AC3,
|
||||
};
|
||||
int ret;
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user