Return-path: Received: from devils.ext.ti.com ([198.47.26.153]:34724 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730Ab3GJIsP (ORCPT ); Wed, 10 Jul 2013 04:48:15 -0400 Message-ID: <1373446089.8385.7.camel@cumari.coelho.fi> (sfid-20130710_104819_450034_6D502F4C) 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: Wed, 10 Jul 2013 11:48:09 +0300 In-Reply-To: <51DC0E7C.9080306@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> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, 2013-07-09 at 14:22 +0100, José Miguel Gonçalves wrote: > On 09-07-2013 13:42, Arik Nemtsov wrote: > > On Tue, Jul 9, 2013 at 2:27 PM, José Miguel Gonçalves > > wrote: > > > >> Any more ideas on how to debug this? Is there any specific debug_level mask > >> that can apply to the driver to help it? > > You can try the mask 0x63c20 (it's pretty verbose, so I would put it > > in pastebin). > > > > Perhaps this is a genuine problem with the antenna of the card? > > Nope. The AP is 1 meter away form my board (even without antenna in the > card it should associate). Too strong a signal can also cause problems, because of distortion. > > Can > > you verify the RSSI of the AP is ok using iw? > > The iw output: > > http://pastebin.com/XmEzqjHs This looks okay, but the RSSI value cannot be trusted blindly. There are other factors that can influence the signal quality, such as the SNR. > The dmesg output with debug mask set to 0x63c20: > > http://pastebin.com/zGE0Gfp8 > > Note that with debug activated I did not see the driver's "Beacon loss > detected" messages. There could be some timing issue here. Is it always like that? Do you *always* see the "Beacon loss" messages without debugging and *never* with debugging? -- Luca.