#942: immidiate disconnection on scan request (using wpa_supplicant)
----------------------------------+-----------------------------------------
      Reporter:  marek            |       Owner:     
          Type:  defect           |      Status:  new
      Priority:  major            |   Milestone:     
     Component:  madwifi: driver  |     Version:     
    Resolution:                   |    Keywords:     
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Comment (by Marek):

 just checked r1710, but this one fails even earlier - during the 4-way
 handshake phase, additionaly supplying various strange messages. It
 complains about PSK, but the key IS right, as it is the same key (and same
 wpa_supplicant.conf that has been used with previous version and sucesful
 connection). Still however there seem to be an issue with scanning (AP
 blacklisted just after scan started)

 {{{
 ...
 State: ASSOCIATED -> 4WAY_HANDSHAKE
 WPA: RX message 1 of 4-Way Handshake from 00:0e:2e:90:50:34 (ver=1)
 RSN: msg 1/4 key data - hexdump(len=0):
 WPA: Renewed SNonce - hexdump(len=32): 9d 72 f5 08 61 08 cb df 5d 7d 2a 1d
 17 1c 77 32 47 41 60 f4 fd 9b 7a b7 76 60 2c ad eb 4a d6 1a
 WPA: PMK - hexdump(len=32): [REMOVED]
 WPA: PTK - hexdump(len=64): [REMOVED]
 WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00
 00 0f ac 02 01 00 00 0f ac 02 00 00
 WPA: Sending EAPOL-Key 2/4
 WPA: TX EAPOL-Key - hexdump(len=121): 01 03 00 75 02 01 09 00 00 00 00 00
 00 00 00 00 02 9d 72 f5 08 61 08 cb df 5d 7d 2a 1d 17 1c 77 32 47 41 60 f4
 fd 9b 7a b7 76 60 2c ad eb 4a d6 1a 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ed 43 d9 7a 6d cd
 52 ea 18 b5 53 1b b9 4b d7 29 00 16 30 14 01 00 00 0f ac 02 01 00 00 0f ac
 02 01 00 00 0f ac 02 00 00
 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
 Wireless event: cmd=0x8b15 len=20
 Wireless event: new AP: 00:00:00:00:00:00
 WPA: 4-Way Handshake failed - pre-shared key may be incorrect
 Setting scan request: 0 sec 100000 usec
 BSSID 00:0e:2e:90:50:34 blacklist count incremented to 2
 CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
 wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
 wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
 State: 4WAY_HANDSHAKE -> DISCONNECTED
 wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
 WEXT: Operstate: linkmode=-1, operstate=5
 EAPOL: External notification - portEnabled=0
 EAPOL: SUPP_PAE entering state DISCONNECTED
 EAPOL: SUPP_BE entering state INITIALIZE
 EAPOL: External notification - portValid=0
 EAPOL: External notification - EAP success=0
 RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
 RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added
 l2_packet_receive - recvfrom: Network is down
 State: DISCONNECTED -> SCANNING
 Starting AP scan (broadcast SSID)
 Trying to get current scan results first without requesting a new scan to
 speed up initial association
 ioctl[SIOCGIWSCAN]: No such device
 Scan results: -1
 Failed to get scan results
 Failed to get scan results - try scanning again
 Setting scan request: 0 sec 0 usec
 RTM_DELLINK, IFLA_IFNAME: Interface 'ath0' removed
 Configured interface was removed.
 State: SCANNING -> DISCONNECTED
 wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
 WEXT: Operstate: linkmode=-1, operstate=5
 EAPOL: External notification - portEnabled=0
 EAPOL: External notification - portValid=0
 EAPOL: External notification - EAP success=0
 State: DISCONNECTED -> SCANNING
 Starting AP scan (broadcast SSID)
 ioctl[SIOCSIWSCAN]: No such device
 Failed to initiate AP scan.
 Setting scan request: 10 sec 0 usec
 Ignore event for foreign ifindex 215
 RTM_DELLINK, IFLA_IFNAME: Interface 'wifi0' removed
 Ignore event for foreign ifindex 217
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 217
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 217
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 Ignore event for foreign ifindex 218
 EAPOL: startWhen --> 0
 RTM_DELLINK, IFLA_IFNAME: Interface 'ath0' removed
 Configured interface was removed.
 State: SCANNING -> DISCONNECTED
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/942>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to