summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Monroe <chad@monroe.io>2025-12-08 17:14:50 +0300
committerFelix Fietkau <nbd@nbd.name>2026-03-23 12:23:01 +0300
commit0176417d10ce964cd195e64eff9e079cc0a52b69 (patch)
treebcb2f3b4b8c51b2e923506ed0df3dbddb6875d3f
parentd2b860454ea2df8f336e9b859da7ffb27f43444d (diff)
downloadlinux-0176417d10ce964cd195e64eff9e079cc0a52b69.tar.xz
wifi: mt76: mt7996: increase txq memory limit to 32 MiB
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>
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt7996/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/init.c b/drivers/net/wireless/mediatek/mt76/mt7996/init.c
index 8aa9807b5087..2937e89ad0c9 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7996/init.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7996/init.c
@@ -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)) {