]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mt76: mt7996: increase txq memory limit to 32 MiB
authorChad Monroe <chad@monroe.io>
Mon, 8 Dec 2025 14:14:50 +0000 (14:14 +0000)
committerFelix Fietkau <nbd@nbd.name>
Mon, 23 Mar 2026 09:23:01 +0000 (09:23 +0000)
Prior to this change, both 2G and 6G radios would fall back to the
mac80211 default of 4MB which is not enough for high data rates.

Signed-off-by: Chad Monroe <chad@monroe.io>
Link: https://patch.msgid.link/acfe2e25768b414518be2db22b1d3ba6f5db6fa1.1765203249.git.chad@monroe.io
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/init.c

index 8aa9807b5087fa24182385336e79857ef5f3a87c..2937e89ad0c9c489274cfa4f6aeb694fb4456bd1 100644 (file)
@@ -538,6 +538,7 @@ mt7996_init_wiphy(struct ieee80211_hw *hw, struct mtk_wed_device *wed)
        ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
 
        hw->max_tx_fragments = 4;
+       wiphy->txq_memory_limit = 32 << 20; /* 32 MiB */
 
        /* init led callbacks */
        if (IS_ENABLED(CONFIG_MT76_LEDS)) {