Linux wireless drivers development
 help / color / mirror / Atom feed
From: "Stefan Steuerwald" <salsasepp@googlemail.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Fwd: p54: testing AP mode: cannot switch to master mode
Date: Thu, 20 Nov 2008 14:44:58 +0100	[thread overview]
Message-ID: <f76a32050811200544p3c647cb3t392025feef02c8f9@mail.gmail.com> (raw)
In-Reply-To: <f76a32050811200050u48bc150en34e94c7671672ae6@mail.gmail.com>

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

>> What's your client? Is it using powersave? Anyone know whether
>> multicast-after-dtim works correctly in p54? Or maybe there's a bug
>> hitting with TIM bits? Do you have an extra card that you could use to
>> monitor and see what happens when it times out?
>
> I have tested multiple clients at this time with my XG-601/ISL3880 p54 card:
> - iPod Touch 2G with firmware 2.1.1
> - Sony Vaio with a Marvell 88E8036 (Vista SP1)
> - Amilo Notebook with Intel 4965AGN (stock Ubuntu 8.10)
> - Amilo Notebook with Netgear USB-WLAN-Stick with RTL8187B (stock Ubuntu 8.10)
>
> Interestingly, only the iPod is unusable, with constant timeouts of my
> web-app. The other clients work 99% of the time with an _occasional_
> timeout. I have multiple clients connected at the same time, and never
> saw a simultaneous timeout with any two clients. I have also a wired
> reference connection which never exhibits any timeouts.

I have attached some traffic dumps that happen between my iPod Touch
and the XG-601-based AP (obtained with a RTL8187B in monitor mode):

Observations:

- ipod_http_request_ok.pcap shows how I would like the world to be
(and how it is _occasionally_ with the iPod and _almost always_ with
my other clients). We build a TCP connection, make a http request, get
a TCP ACK, followed swiftly by an answer and the TCP connection
closes.

- Sometimes, however, the http answer does not appear immediately
after the request (about 4-7 secs of delay). The gap is filled by some
"Null function" packets originating on the iPod (maybe it is getting
impatient?). This gets me an application-level timeout. See
ipod_http_request_delayed_answer.pcap .

- Then, there's a scenario that makes the iPod reset any new TCP
connection until I disassociate and reassociate it to the AP (see the
last two pcaps). This seems to happen whenever somebody (must be my
Notebook WLAN) sends probes. The same sequence of events does not
cause anything untoward with my other clients.

It may be Apple's job to fix this - however, iPods work ok with many
APs (including Apple's own AirPort of course) (and the latest madwifi
except for annoying "stuck beacons" resulting in card resets).

Any ideas? Should I forward this info to someone? Anything I should try?
My goal is to make the iPod work with any decent MiniPCI card that
supports AP mode.

Best regards,
  Stefan.

[-- Attachment #2: ipod_http_request_ok.pcap.gz --]
[-- Type: application/x-gzip, Size: 1029 bytes --]

[-- Attachment #3: ipod_http_request_delayed_answer.pcap.gz --]
[-- Type: application/x-gzip, Size: 1009 bytes --]

[-- Attachment #4: ipod_http_request_probe_responses.pcap.gz --]
[-- Type: application/x-gzip, Size: 1926 bytes --]

[-- Attachment #5: ipod_http_request_tcp_reset.pcap.gz --]
[-- Type: application/x-gzip, Size: 1066 bytes --]

  reply	other threads:[~2008-11-20 13:45 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 [this message]
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
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=f76a32050811200544p3c647cb3t392025feef02c8f9@mail.gmail.com \
    --to=salsasepp@googlemail.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