From b9cbd04f2e81f977637fc51ac4c4db941494c9a9 Mon Sep 17 00:00:00 2001 From: Luis R. Rodriguez Date: Thu, 2 Oct 2008 01:41:26 +0530 Subject: [PATCH] ath9k: Use 5 mac80211 "aggregation queues" 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 6b1ce05..b1ef9fe 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c @@ -1361,10 +1361,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.6.0.2