From: Marek Lindner <lindner_marek@yahoo.de>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] WPA and Apple devices
Date: Fri, 28 Oct 2011 20:56:19 +0200 [thread overview]
Message-ID: <201110282056.20086.lindner_marek@yahoo.de> (raw)
In-Reply-To: <201110270419.30314.lindner_marek@yahoo.de>
On Thursday, October 27, 2011 04:19:30 Marek Lindner wrote:
> > Does the connection failure happen with both VAPs or only one of them?
>
> IIRC both VAPs failed but I am going to retest to be certain.
The second VAP shows different behavior:
* Without encryption one get's a simple "unable to connect" error.
* With WPA enabled the iOS client connects and disconnects shortly thereafter.
It keeps doing that forever.
All that only happens if VPA#1 is configured with WPA enabled.
> > > It looks like the mac80211/ath9k driver gets confused when WPA is
> > > activated on VAP#1. Furthermore, other all non-Apple device seem to
> > > work fine. Any idea how to debug it further ?
> >
> > Would you be able to capture all the frames exchanged between the AP
> > and the station with a wireless sniffer? It would be interesting to see
> > sniffer capture both for a successful and failed connection attempts.
>
> Yes, no problem. I will get the dumps and upload them somewhere.
The pcap files can be found here:
http://dev.cloudtrax.com/downloads/pcap/
These pcap files were captured while VAP#1 was WPA encrypted and VPA#2 was
unencrypted. An Apple notebook tried to connect to the router on VAP#1:
apple-vap1.pcap -> captured packets on the notebook itself
vap1_vpa2_nowpa.pcap -> captured packets from the router (wifi interface)
mon_vpa2_nowpa.pcap -> captured packets from the router (hostapd monitor
interface)
As you can see the Apple device even sends a few DHCP/DNS/etc packets until it
suddenly sends a disconnect request. This made me think it is not related to
hostapd but I could be wrong here.
Regards,
Marek
next prev parent reply other threads:[~2011-10-28 18:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-26 2:00 [ath9k-devel] WPA and Apple devices Marek Lindner
2011-10-26 7:47 ` Jouni Malinen
2011-10-27 2:19 ` Marek Lindner
2011-10-28 18:56 ` Marek Lindner [this message]
2011-11-04 2:15 ` Marek Lindner
2011-11-04 3:05 ` Adrian Chadd
2011-11-04 3:43 ` Marek Lindner
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=201110282056.20086.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=ath9k-devel@lists.ath9k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.