From: Johannes Berg Date: Thu, 12 Mar 2009 10:16:48 +0000 (+0100) Subject: mac80211: reduce max number of queues X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=51b381479ff5bc9b8c49ce15fd8bc35c6b695ca4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mac80211: reduce max number of queues No hw/driver actually supports more than four queues right now, and we allocate a number of things per queue which means we waste a bit of memory. Reduce the maximum number to four to accurately reflect what we do (and need for QoS). Even if we had hardware supporting more queues we couldn't take advantage of that right now anyway. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 3bfc6c6c8c4a..a38a82c785dd 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -97,7 +97,7 @@ struct ieee80211_ht_bss_info { * for A-MPDU operation. */ enum ieee80211_max_queues { - IEEE80211_MAX_QUEUES = 16, + IEEE80211_MAX_QUEUES = 4, IEEE80211_MAX_AMPDU_QUEUES = 16, };