From: Kalle Valo <kalle.valo@iki.fi>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Vivek Natarajan <vnatarajan@atheros.com>, linux-wireless@vger.kernel.org
Subject: Re: [RFC PATCH 1/2] mac80211: Retry null data frame for power save.
Date: Thu, 04 Feb 2010 11:14:56 +0200 [thread overview]
Message-ID: <87hbpxjran.fsf@purkki.valot.fi> (raw)
In-Reply-To: <1265271903.29119.107.camel@johannes.local> (Johannes Berg's message of "Thu\, 04 Feb 2010 09\:25\:03 +0100")
Johannes Berg <johannes@sipsolutions.net> writes:
> On the other hand, there is hardware (even from Atheros/Zydas!) that
> will not provide status reports for every frame.
Also at76c50x-usb doesn't report status AFAIK. I think we need to have
a new hw flag to indicate if driver reports frame status.
> Also, I'm not entirely sure why the AP would lose the frame? It's a
> unicast frame that will be retransmitted quite a number of times. Is it
> really actually going out on the air or is there something else wrong?
> Maybe just the queue priority inversion issue since this frame goes out
> as higher priority as most data frames?
I have received reports that in a busy office networks nullfunc frames
get lost, I'm assuming due to collisions on the air. For example,
wl1251 (in which firmware sends the nullfunc frame) sends an event to
the host if nullfunc frame fails for some reason. I think we need to
take into account in mac80211 the case when nullfunc frames get lost.
> If you really need to provide this functionality I think you should
> probably do it "properly" in the sense that you react to the "frame
> acked" by enabling PS, rather than the other way around.
This is much better. Also I'm worried about the test for nullfunc
frame being a racy. I would prefer to make it sure that the nullfunc
frame really is for the powersave transition.
> That requires a hardware flag though that enables mac80211 to know
> that all frames will get a status report unless something is
> seriously wrong, since otherwise we'd *never* go into PS.
Agreed.
--
Kalle Valo
next prev parent reply other threads:[~2010-02-04 9:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 6:54 [RFC PATCH 1/2] mac80211: Retry null data frame for power save Vivek Natarajan
2010-02-04 6:54 ` [RFC PATCH 2/2] mac80211: Reset dynamic ps timer in Rx path Vivek Natarajan
2010-02-04 8:14 ` Johannes Berg
2010-02-04 10:15 ` Vivek Natarajan
2010-02-04 8:59 ` Kalle Valo
2010-02-04 10:12 ` Vivek Natarajan
2010-02-05 12:25 ` Kalle Valo
2010-02-04 8:25 ` [RFC PATCH 1/2] mac80211: Retry null data frame for power save Johannes Berg
2010-02-04 9:14 ` Kalle Valo [this message]
2010-02-04 9:00 ` 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=87hbpxjran.fsf@purkki.valot.fi \
--to=kalle.valo@iki.fi \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=vnatarajan@atheros.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;
as well as URLs for NNTP newsgroup(s).