From 9df983bdeda407ddfeb15d73da275a938ecefcde 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 7472699..0f0862e 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c @@ -965,10 +965,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