Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:53235 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755025Ab3GKN32 (ORCPT ); Thu, 11 Jul 2013 09:29:28 -0400 Message-ID: <1373549359.8385.36.camel@cumari.coelho.fi> (sfid-20130711_152932_138685_A328DF2F) Subject: Re: wl127x: Unable to associate with a WPA2-PSK AP From: Luciano Coelho To: =?ISO-8859-1?Q?Jos=E9?= Miguel =?ISO-8859-1?Q?Gon=E7alves?= CC: Arik Nemtsov , Date: Thu, 11 Jul 2013 16:29:19 +0300 In-Reply-To: <51DEA05A.5020401@inov.pt> References: <51DB0ACC.7050800@inov.pt> <51DB4195.8090103@inov.pt> <1373360959.21065.183.camel@cumari.coelho.fi> <51DBD904.6020007@inov.pt> <1373362817.21065.191.camel@cumari.coelho.fi> <51DBF389.5060209@inov.pt> <51DC0E7C.9080306@inov.pt> <51DCA3EF.8090900@inov.pt> <1373448177.8385.22.camel@cumari.coelho.fi> <51DD54D4.6090502@inov.pt> <51DD8C20.7010900@inov.pt> <1373476663.8385.28.camel@cumari.coelho.fi> <51DD9E6C.5060008@inov.pt> <1373488063.8385.31.camel@cumari.coelho.fi> <51DEA05A.5020401@inov.pt> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 2013-07-11 at 13:08 +0100, José Miguel Gonçalves wrote: > Hi Luca, > > On 10-07-2013 21:27, Luciano Coelho wrote: > > I have a text console only system. I could put tcpdump on my system, but I think I > > can not monitor wireless traffic with it, or can I? > > tcpdump will probably not be enough. But since this stuff is *wireless* > > you can sniff from a different PC. If you have Linux PC, just plug in > > your TP-Link dongle in it, launch wireshark and you should be able to > > sniff (unencrypted) connections between other devices easily. > > > > I've setup my Linuc PC as a sniffer and yes I see a lot of of authentication > frames on the air when I try to associate with my open AP (Android phone). > > I've repeated the process with a TP-Link dongle and I see a clean 802.11 > association sequence. > > What I found strange is that I don't see "probe request" frames on the wl12xx > captured frames, it starts directly with an "authentication" frame, when with the > TP-Link dongle (ath9k_htc driver) the first frame sent by is a "probe request"! Usually the connection will start with a probe request, but if there is a response in the cache, we may skip it. In any case, this is probably happening because your sniffer is missing those frames (which again points to problems with RF). > I can provide the Wirehsark capture files. What is the best way to send them > through the mailing list? Cut only the portion that matters, so the file is small and gzip it. Small files can be sent as attachments to the list. -- Luca.