From: <coelho@ti.com>
To: <linux-wireless@vger.kernel.org>
Cc: juuso.oikarinen@nokia.com
Subject: [PATCH 2/2] wl12xx: add hw configuration for max supported AMDPU size
Date: Wed, 12 Jan 2011 14:40:52 +0200 [thread overview]
Message-ID: <1294836052-16828-2-git-send-email-coelho@ti.com> (raw)
In-Reply-To: <1294836052-16828-1-git-send-email-coelho@ti.com>
From: Luciano Coelho <coelho@ti.com>
The wl12xx chips do the AMDPU aggregation work in the firmware, but it
supports a maximum of 8 frames per block. Configure the mac80211 hw
structure accordingly.
Signed-off-by: Luciano Coelho <coelho@ti.com>
---
drivers/net/wireless/wl12xx/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 67732ea..463d6bf 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -3178,6 +3178,8 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
wl->hw->sta_data_size = sizeof(struct wl1271_station);
+ wl->hw->max_rx_aggregation_subframes = 8;
+
return 0;
}
EXPORT_SYMBOL_GPL(wl1271_init_ieee80211);
--
1.7.1
next prev parent reply other threads:[~2011-01-12 12:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 12:40 [PATCH 1/2] mac80211: add hw configuration for max ampdu buffer size coelho
2011-01-12 12:40 ` coelho [this message]
2011-01-12 12:43 ` Luciano Coelho
2011-01-12 12:46 ` Johannes Berg
2011-01-12 13:04 ` Luciano Coelho
2011-01-12 12:57 ` Juuso Oikarinen
2011-01-12 13:05 ` Luciano Coelho
2011-01-12 13:10 ` Juuso Oikarinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1294836052-16828-2-git-send-email-coelho@ti.com \
--to=coelho@ti.com \
--cc=juuso.oikarinen@nokia.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).