diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-03-12 06:16:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-27 20:12:45 -0400 |
commit | 51b381479ff5bc9b8c49ce15fd8bc35c6b695ca4 (patch) | |
tree | 1a3a36914491900d5b68ef913eff36f7db433a40 /include/net/mac80211.h | |
parent | 176be728ee7d32cfd33702d82c0733e51f66ab5b (diff) |
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 <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
97 | * for A-MPDU operation. | 97 | * for A-MPDU operation. |
98 | */ | 98 | */ |
99 | enum ieee80211_max_queues { | 99 | enum ieee80211_max_queues { |
100 | IEEE80211_MAX_QUEUES = 16, | 100 | IEEE80211_MAX_QUEUES = 4, |
101 | IEEE80211_MAX_AMPDU_QUEUES = 16, | 101 | IEEE80211_MAX_AMPDU_QUEUES = 16, |
102 | }; | 102 | }; |
103 | 103 | ||