30.10.2010 18:34, KP Kirchdoerfer пишет:
> Am Montag, 18. Oktober 2010, 20:17:09 schrieb Andrew:
>
>> Hi.
>> After rebuilding all with fresh kernel (2.6.35.7) I tried to test WiFi
>> and found that it doesn't work. Authentication pass OK, but after it
>> nl80211 returns error -12 (cannot allocate memory) in set_key call:
>>
>> WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state AUTHENTICATION
>> WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state AUTHENTICATION2
>> WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state INITPSK
>> WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKSTART
>> wlan0: STA 1c:4b:d6:85:2d:9f WPA: sending 1/4 msg of 4-Way Handshake
>> WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8
>> kde_len=0 keyidx=0 encr=0)
>> nl80211: Event message available
>> nl80211: Ignored unknown event (cmd=19)
>> IEEE 802.1X: 1c:4b:d6:85:2d:9f TX status - version=2 type=3 length=95 -
>> ack=1
>> IEEE 802.1X: 121 bytes from 1c:4b:d6:85:2d:9f
>> IEEE 802.1X: version=1 type=3 length=117
>> wlan0: STA 1c:4b:d6:85:2d:9f WPA: received EAPOL-Key frame (2/4 Pairwise)
>> WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKCALCNEGOTIATING
>> WPA: PTK derivation - A1=00:21:91:97:b6:c8 A2=1c:4b:d6:85:2d:9f
>> WPA: PMK - hexdump(len=32): [REMOVED]
>> WPA: PTK - hexdump(len=48): [REMOVED]
>> WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKCALCNEGOTIATING2
>> WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKINITNEGOTIATING
>> wlan0: STA 1c:4b:d6:85:2d:9f WPA: sending 3/4 msg of 4-Way Handshake
>> WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8
>> kde_len=94 keyidx=1 encr=1)
>> Plaintext EAPOL-Key Key Data - hexdump(len=104): [REMOVED]
>> IEEE 802.1X: 1c:4b:d6:85:2d:9f TX status - version=2 type=3 length=199 -
>> ack=1
>> IEEE 802.1X: 99 bytes from 1c:4b:d6:85:2d:9f
>> IEEE 802.1X: version=1 type=3 length=95
>> wlan0: STA 1c:4b:d6:85:2d:9f WPA: received EAPOL-Key frame (4/4 Pairwise)
>> WPA: 1c:4b:d6:85:2d:9f WPA_PTK entering state PTKINITDONE
>> wpa_driver_nl80211_set_key: ifindex=6 alg=3 addr=0x80a9e28 key_idx=0
>> set_tx=1 seq_len=0 key_len=16
>> addr=1c:4b:d6:85:2d:9f
>> nl80211: set_key failed; err=-12 Cannot allocate memory)
>> hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA
>> 1c:4b:d6:85:2d:9f reason 2
>> wlan0: STA 1c:4b:d6:85:2d:9f IEEE 802.11: deauthenticated due to local
>> deauth request
>>
>>
>> Can you check how it works on your test platform with older kernel with
>> my config?
>> Here is my simple config:
>>
>> interface=wlan0
>> driver=nl80211
>> logger_syslog=-1
>> logger_syslog_level=2
>> logger_stdout=-1
>> logger_stdout_level=5
>> dump_file=/tmp/hostapd.dump
>> ctrl_interface=/var/run/hostapd
>> ctrl_interface_group=0
>> ssid=NiTr0
>> hw_mode=g
>> channel=2
>> beacon_int=500
>> supported_rates=10 20 55 110 60 90 120 180 240 360 480 #540 1080
>> wpa=3
>> wpa_passphrase=password
>> wpa_key_mgmt=WPA-PSK
>> wpa_pairwise=TKIP CCMP
> Andrew;
>
> have you ever solved the error above?
> I've updated today to latest cvs and see exactly the same error right now...?
>
> kp
No, I don't played with hostapd after report of davidMbrooke that he has 
no troubles with it with current. Maybe he can report current state on 
his test platform?
Can you try to rollback on 2.6.35.2 kernel (it will not require config 
editing)? I'm not sure where is the trouble - in libnl or in kernel.
Now I trying to add optimization flags for gcc & uClibc - so when I 
finish it i'll look on hostapd.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to