linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kalle.valo@iki.fi>
To: Jason Young <a.young.jason@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH v3 0/2] mac80211: add U-APSD client support
Date: Fri, 04 Dec 2009 14:12:37 +0200	[thread overview]
Message-ID: <87ocmf545m.fsf@purkki.valot.fi> (raw)
In-Reply-To: <16a81f890912031225g888490y2e8ff92557a322b7@mail.gmail.com> (Jason Young's message of "Thu\, 3 Dec 2009 12\:25\:20 -0800")

Jason Young <a.young.jason@gmail.com> writes:

> Hi,

Hello,

>>> here is my proposal how to add U-APSD client support to mac80211. I also
>>> included example driver implementation for wl1251.
>>>
>>> Please comment. Also I would like to get comments how U-APSD needs to be
>>> implemented in different hardware.
>
> WMM Admission Control allows queues to be configured as trigger-only
> and deliver-only via mgmt action frames. If this feature is ever
> added to mac80211 we may need to make trigger-enabled and
> deliver-enabled per queue configuration explicit rather than a
> single boolean value per access category. Being as there is no way
> to configure an access category trigger-only or deliver-only outside
> of admission control, we don't need to worry about this problem
> right now.

I decided to drop Admission Control for now because I didn't see any
real use case for it. And if we would like to utilise it properly, we
would need to have properly supported user space interface. I think we
are not ready for that quite yet.

> We will want runtime time configuration of u-apsd because its is
> necessary for station's 'WMM Power Save' certification. Recompiling
> mac80211 for the various uapsd configurations is a bit heavy-handed.
> I'd like to see debugfs support added back back for now its
> primarily a testing issue anyway.

Thanks, I wasn't aware of this. Yes, adding the debugfs interface back
makes sense now. But can you describe a bit more how you would like to
use the debugfs interface? I would like to understand about your needs
a bit more.

I also need to find the certification test plan and read it myself.

>>> - add max SP length defines to ieee80211.h
>
> The bit values for IEEE80211_WMM_IE_STA_SP_XXX are not correct. The
> Max SP Length subfield settings table in 7.3.1.17 has the least
> significant bit listed first.

Oh, I missed that entirely. And I was even thinking why the order
looked so weird (0, 2, 1, 3), I should have checked that. Thank you
for noticing this.

>>> v2:
>>> - remove cfg80211 changes
>>> - rename IEEE80211_QOS_IE to IEEE80211_WMM_IE_STA in ieee80211.h
>
> I would rename IEEE80211_WMM_IE_STA_XXX defines to something like
> IEEE80211_STA_QOSINFO_XXX to make it clear that bit values are used in the
> context of the qosinfo field octet.

Good point. Is IEEE80211_WMM_IE_STA_QOSINFO_AC_VO clear enough? At
least it's long enough :)

Thank you for the comments, I appreciate them.

-- 
Kalle Valo

  reply	other threads:[~2009-12-04 12:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03 20:25 [PATCH v3 0/2] mac80211: add U-APSD client support Jason Young
2009-12-04 12:12 ` Kalle Valo [this message]
     [not found]   ` <16a81f890912041102l7bcce84eg7a8f80ff5ff341f2@mail.gmail.com>
2009-12-04 19:05     ` Jason Young
2009-12-04 20:49       ` Kalle Valo
2009-12-06 10:47 ` Johannes Berg
2009-12-07 11:51   ` Kalle Valo
2009-12-07 20:25     ` Jason Young
2009-12-08  7:12       ` Kalle Valo

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=87ocmf545m.fsf@purkki.valot.fi \
    --to=kalle.valo@iki.fi \
    --cc=a.young.jason@gmail.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).