Return-path: Received: from lmv.inov.pt ([146.193.64.2]:47638 "EHLO lmv.inov.pt" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752843Ab3GJAAI (ORCPT ); Tue, 9 Jul 2013 20:00:08 -0400 Message-ID: <51DCA3EF.8090900@inov.pt> (sfid-20130710_020013_424287_F1868D16) Date: Wed, 10 Jul 2013 00:59:43 +0100 From: =?ISO-8859-1?Q?Jos=E9_Miguel_Gon=E7alves?= MIME-Version: 1.0 To: Arik Nemtsov CC: Luciano Coelho , linux-wireless@vger.kernel.org Subject: Re: wl127x: Unable to associate with a WPA2-PSK AP 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Arik, On 09-07-2013 20:10, Arik Nemtsov wrote: > On Tue, Jul 9, 2013 at 4:22 PM, Jos? Miguel Gon?alves > wrote: >> http://pastebin.com/XmEzqjHs >> >> 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. > You have this line in the log: > [ 72.435000] wlan0: deauthenticated from 88:43:e1:57:79:c0 (Reason: 23) > > This means: > Association request rejected because the information in the Power > Capability element is > unacceptable > > In other words the AP is disconnecting you since your Tx power is > inadequate (probably too high?). I'd try to limit it using iw, or just > set a different regdomain where its limited. > Also I'd try with a different AP. I think that return code is a bogus caused by the driver debug code, because when I remove all the debug I see a different behaviour, i.e., after brief associating with the AP, I see 3 driver messages; wlcore: Beacon loss detected. roles:0xff and then receive from wpa_supplicant; wlan0: CTRL-EVENT-DISCONNECTED bssid=88:43:e1:57:79:c0 reason=4 locally_generated=1 wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="A. Guidance" auth_failures=1 duration=10 and I've not make any mistake on the pre-shared key. Also I've used this AP for tests of different wireless adapters with success. Inclusive have use it with the same hardware platform and same kernel and sysapps (ifconfig, iw, wpa_supplicant, etc...) and a TP-Link TL-WN722N Wi-Fi adapter (ath9k_htc driver) and had no problems in associating that adapter. Can my problems be related with an inadequate NVS file? I've generated it with the calibrate tool from ti-utils and the INI file TQS_D_1.7.ini with the command "calibrator plt calibrate". Is this the correct INI for my module (Jorjin's WG7350 - wl1273 based)? Any ideas also why I can not get a complete APs list with the command "iw wlan0 scan"? No one as seen this behaviour before? Jos? Gon?alves