From a2c53c7202c58354c1731d2be60a3157128ec1a8 Mon Sep 17 00:00:00 2001 From: Luis R. Rodriguez Date: Tue, 23 Sep 2008 11:45:12 -0700 Subject: [PATCH] ath9k: Use 5 mac80211 "aggregation queues" To: johannes@sipsolutions.net, linville@tuxdriver.com Cc: linux-wireless@vger.kernel.org mac80211 currently uses its own queues for aggregation. Although we have our own schedular for aggregation we need to make use of these queues as otherwise we won't get aggregated TX frames from mac80211. We use 5 mac80211 "aggregation queues" for now. All this needs to change in the future to let drivers make use of their own schedulars if necessary. Note that this doesn't yet enable aggregation as its been disabled in mac80211 due to the fact the new TX multiqueue changes made a bug apparent which we need to fix in mac80211 first. Signed-off-by: Luis R. Rodriguez --- drivers/net/wireless/ath9k/main.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 99badf1..7f65a8b 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c @@ -1252,10 +1252,8 @@ static int ath_attach(u16 devid, &sc->sbands[IEEE80211_BAND_5GHZ]; } - /* FIXME: Have to figure out proper hw init values later */ - hw->queues = 4; - hw->ampdu_queues = 1; + hw->ampdu_queues = 5; /* Register rate control */ hw->rate_control_algorithm = "ath9k_rate_control"; -- 1.5.6.3