wifi: mt76: mt7921: reduce the size of MCU firmware download Rx queue
authorSean Wang <sean.wang@mediatek.com>
Tue, 21 Nov 2023 22:27:22 +0000 (06:27 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 11 Dec 2023 12:11:52 +0000 (13:11 +0100)
commit4812ba9ab9408f3aa5bcbb4ff80ddca84611ea17
tree57915238b78d1140fb09352d5399d55ecc865d2c
parent4920a3a1285f5fd0b4f7c2cbd589903d3fc2824b
wifi: mt76: mt7921: reduce the size of MCU firmware download Rx queue

We actually don't need the reserve the 512 entries for the MCU firmware
download Rx queue because the queue was only used in the firmware download
phase to save the most of space and the reduction can significantly help
with reducing latency we spent by ~20% further in resetting the Rx queue
as the device was waking up from deep sleep mode.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h
drivers/net/wireless/mediatek/mt76/mt7921/pci.c