OSDN Git Service

wifi: mt76: mt7915: wed: enable red per-band token drop
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Fri, 6 Jan 2023 02:44:12 +0000 (10:44 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 3 Feb 2023 13:47:17 +0000 (14:47 +0100)
commit7576a1c42d54086741ee5ece7b2f9ff9d55ca325
tree25a80999ee16cbdbfb911242ea1c06b01c5c0f8a
parent0ad6b97ee53abcc776040d730f38fe94afebebaf
wifi: mt76: mt7915: wed: enable red per-band token drop

Enable RED to limit the number of token used by each band. If single band
uses too many tokens, it would hurt the throughput of the other bands.The
software path can solve this problem by AQL so enable RED for HW path only.

Reviewed-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.h
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
drivers/net/wireless/mediatek/mt76/mt7915/mcu.h
drivers/net/wireless/mediatek/mt76/mt7915/mmio.c
drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h