Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Stefan Steuerwald <salsasepp@googlemail.com>
Cc: Holger Schurig <hs4233@mail.mn-solutions.de>,
	linux-wireless@vger.kernel.org
Subject: Re: Fwd: p54: testing AP mode: cannot switch to master mode
Date: Thu, 20 Nov 2008 20:29:20 +0100	[thread overview]
Message-ID: <1227209360.3766.42.camel@johannes.berg> (raw)
In-Reply-To: <f76a32050811201121r27ba1d82ma788e5a55bfd422b@mail.gmail.com> (sfid-20081120_202146_459597_36951BC6)

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

On Thu, 2008-11-20 at 20:21 +0100, Stefan Steuerwald wrote:
> Now I'm learning something! Seems like Johannes' initial question
> about powersaving might have been right on the mark, and Holger's
> explanation set that straight in my brain. Thank you for that!

:)

> I have attached some traces. Connected my iPod to the XG-601 AP and to
> my fritzbox 7170.
> I'm not sure about the interpretation of the beacon flags, but I never
> see beacon flags other than 0x0, does that mean the AP is saying "stay
> awake, no sleeping" to the client?

beacon flags are useless, APs are always awake. No, the AP isn't saying
that to the clients, it's saying that about itself :)

> The iPod alternates Null Functions with the PWR MGT bit on and off -
> whatever that means. Is it ignoring the AP and snoring away?

See above :)

> @Johannes:
> I was not able to find any indicated traffic in any of the beacon TIMs.

Indeed. But did the problem happen during the trace here? It looks like
there is no traffic for the ipod between it going to sleep and waking up
again at all, should there be? If there should be, then there's
definitely a bug in p54/mac80211 somewhere. However, I can't find
anything in the other dumps either, so it seems like there was no
traffic.

Can you try a better test:

(1) start monitoring
(2) connect your ipod to the AP
(3) add the ipod's MAC address to arp (arp -i wlan0 -s 123.456.789.000 gg:jj:kk:ll:mm:nn)
(3) ping it from the network so that it'll be asleep and need to be
    woken

johannes

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

  reply	other threads:[~2008-11-20 19:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f76a32050811190306s6a86f46dwc245200069ff8a82@mail.gmail.com>
2008-11-19 11:16 ` Fwd: p54: testing AP mode: cannot switch to master mode Stefan Steuerwald
2008-11-19 11:56   ` Johannes Berg
2008-11-19 15:37     ` Stefan Steuerwald
2008-11-19 15:41       ` Johannes Berg
2008-11-19 16:23         ` Stefan Steuerwald
2008-11-19 20:23           ` Johannes Berg
2008-11-20  8:50             ` Stefan Steuerwald
2008-11-20 13:44               ` Stefan Steuerwald
2008-11-20 14:37                 ` Holger Schurig
2008-11-20 17:59                   ` Johannes Berg
2008-11-20 19:21                   ` Stefan Steuerwald
2008-11-20 19:29                     ` Johannes Berg [this message]
2008-11-20 19:58                       ` Johannes Berg
2008-11-21  7:38                     ` Holger Schurig
2008-11-21  8:37                       ` Stefan Steuerwald
2008-11-21  9:36                         ` Johannes Berg
2008-11-23 14:32                         ` Johannes Berg
2008-11-24 13:11                           ` Stefan Steuerwald
2008-11-20 14:49                 ` Holger Schurig

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=1227209360.3766.42.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=hs4233@mail.mn-solutions.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=salsasepp@googlemail.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