Search Linux Wireless

Re: wl127x: Unable to associate with a WPA2-PSK AP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arik,

On 09-07-2013 20:10, Arik Nemtsov wrote:
On Tue, Jul 9, 2013 at 4:22 PM, José Miguel Gonçalves
<jose.goncalves@xxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux