From: Johannes Berg <johannes@sipsolutions.net>
To: Tomas Winkler <tomasw@gmail.com>
Cc: Ron Rindjunsky <ron.rindjunsky@intel.com>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: mac80211: net_sched vs. HT
Date: Wed, 13 Feb 2008 09:01:31 +0100 [thread overview]
Message-ID: <1202889691.8931.25.camel@johannes.berg> (raw)
In-Reply-To: <1ba2fa240802100830t772b245fgf9e54ae058b384fa@mail.gmail.com> (sfid-20080210_163102_534116_23422D13)
[-- Attachment #1: Type: text/plain, Size: 2640 bytes --]
> I don't really follow your question. The dummy functions in wme.h for
> wme were there before we added only ht functions.
Yes I know.
> WME i.e. QoS is not defined when NET_SCHED is not defined. This is
> more for code completeness then for anything else, in fact with do not
> compile mac80211 without NET_SCHED support
> Valid QoS STA is when there is QoS association and support 4 AC, etc
Yes but we still fill in WMM information elements and announce QoS
support w/o NET_SCHED which seems to be wrong, especially with HT.
That's what I was trying to get at. Should that be dependent on
NET_SCHED? I think it should so that we don't announce QoS/HT support
when we don't have QoS in the kernel.
> AMPDU queues and also 4 AC queues are after all funneled to 4 AC lower
> level queues we called them TX FIFOS, which are configured according
> QoS parameters (not upper queues, but that's transparent). The major
> purpose of AMPDU queue is handling reordering not AC.
Right, that's what I thought. I guess the decision on how many frames to
aggregate in a single AMPDU is made by firmware then? Doesn't really
matter anyway.
In any case, I think this confirms my idea of splitting up the "queues"
hardware specific value into "queues" and "ampdu_queues" where "queues"
are the number of FIFOs with QoS parameters and "ampdu_queues" are the
number of helper DMA queues for ampdu support. Broadcom doesn't seem to
use extra DMA queues for this, the aggregation decisions are (afaik
since the hw has no extra queues I can find) all made in the driver. I
suppose b43 will then have to fake a reasonable number of "ampdu_queues"
and handle it in the driver.
> In general for example in AP mode you would need to handle <number of
> associated station>x<#TID=8> AMPDU queues which can come to a horrible
> number.
> The limited number of queues is acceptable again due to fact that
> medium is shared and you cannot really utilize too many BA ssessions
> at the same time. Some policy of eviction based on link quality is
> required and still not implemented.
Expected traffic too, I would think, no? If the traffic from/to a
specific station drops below a threshold I would expect to tear down the
BA session.
> > ---
> > drivers/net/wireless/adm8211.c | 7 -
> > drivers/net/wireless/ath5k/base.c | 10 +-
> > drivers/net/wireless/ath5k/base.h | 4
> > drivers/net/wireless/b43/dma.c | 15 +--
> > drivers/net/wireless/b43/main.c | 3
You really could have snipped the patch out. Please?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2008-02-13 12:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 16:52 mac80211: net_sched vs. HT Johannes Berg
2008-02-10 16:30 ` Tomas Winkler
2008-02-13 8:01 ` Johannes Berg [this message]
2008-02-13 23:31 ` Tomas Winkler
2008-02-14 15:57 ` Johannes Berg
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=1202889691.8931.25.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=ron.rindjunsky@intel.com \
--cc=tomasw@gmail.com \
/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