From aa893c73bf8514cd2d4de008856d78e8f166c056 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 25 Nov 2020 19:52:50 +0100 Subject: [PATCH] mt76: mt7915; increase txq memory limit for non-DBDC 7915 cards to 32 MiB This helps dealing with lots of clients using very high HE data rates Signed-off-by: Felix Fietkau --- mt7915/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mt7915/init.c b/mt7915/init.c index 02e82c2e..0ec0914d 100644 --- a/mt7915/init.c +++ b/mt7915/init.c @@ -148,6 +148,9 @@ mt7915_init_wiphy(struct ieee80211_hw *hw) ieee80211_hw_set(hw, WANT_MONITOR_VIF); hw->max_tx_fragments = 4; + + if (!phy->dev->dbdc_support) + wiphy->txq_memory_limit = 32 << 20; /* 32 MiB */ } static void