linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Kalle Valo <kalle.valo@nokia.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Thoughts about mac80211 client PS implementation
Date: Fri, 07 Nov 2008 17:06:24 +0100	[thread overview]
Message-ID: <1226073984.11203.3.camel@johannes.berg> (raw)
In-Reply-To: <1225969259.3619.202.camel@johannes.berg> (sfid-20081106_120106_811231_EB10DE82)

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

On Thu, 2008-11-06 at 12:00 +0100, Johannes Berg wrote:

> > > Maybe we don't want to disable PS for a single frame though
> > 
> > Actually I think we do. The reason why I'm interested in dynamic PS is
> > the receive latency (transmit latency minimal is in practise). For
> > example, let's think about DNS request. In the best scenario only one
> > frame is transmitted, and if we don't come out receiving the reply to
> > the dns request will take a long time. If DTIM is 3 and beacon
> > interval 100 ms, the RTT for the DNS request/reply would be 300 ms.
> > That's a long delay to a case where user has pressed a link in the
> > browser and the browser starts to load a web page.
> 
> Good point. So set my M to 1 and N to 0 ;) Well, in that case you don't
> need a timer at all but can just schedule the work right away.

Another thought I just had: you could catch the frame in
subif_start_xmit, stop the master interface queues, xmit the frame to
the master interface, schedule the PS off work, and after that turns PS
on you wake the master queues.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2008-11-07 16:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-05 20:27 Thoughts about mac80211 client PS implementation Kalle Valo
2008-11-05 20:33 ` Johannes Berg
2008-11-05 20:43   ` Luis R. Rodriguez
2008-11-05 21:06     ` Kalle Valo
2008-11-06 12:20     ` Felix Fietkau
2008-11-05 20:54   ` Kalle Valo
2008-11-05 21:05     ` Johannes Berg
2008-11-05 21:25       ` Kalle Valo
2008-11-05 21:55         ` Tomas Winkler
2008-11-06  7:35           ` Kalle Valo
2008-11-06 11:00         ` Johannes Berg
2008-11-07 16:06           ` Johannes Berg [this message]
2008-11-07 17:58             ` 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=1226073984.11203.3.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=kalle.valo@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).