linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kalle Valo <kalle.valo@nokia.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Thoughts about mac80211 client PS implementation
Date: Fri, 07 Nov 2008 19:58:22 +0200	[thread overview]
Message-ID: <87fxm3ju4h.fsf@nokia.com> (raw)
In-Reply-To: <1226073984.11203.3.camel@johannes.berg> (ext Johannes Berg's message of "Fri\, 07 Nov 2008 17\:06\:24 +0100")

Johannes Berg <johannes@sipsolutions.net> writes:

>> 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.

Thanks for the tip, it looks good. I have my first version almost
ready now, I just need to proper testing first. It's just that
stlc45xx is crashing with wireless-testing, I need to fix that first :) 

I'll try this subif_start_xmit method in the second round.

-- 
Kalle Valo

      reply	other threads:[~2008-11-07 17:58 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
2008-11-07 17:58             ` Kalle Valo [this message]

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=87fxm3ju4h.fsf@nokia.com \
    --to=kalle.valo@nokia.com \
    --cc=johannes@sipsolutions.net \
    --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).