#539: ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument ERROR :S
----------------------------------+-----------------------------------------
      Reporter:  Yansito!         |       Owner:                                
             
          Type:  defect           |      Status:  new                           
             
      Priority:  major            |   Milestone:                                
             
     Component:  madwifi: driver  |     Version:  trunk                         
             
    Resolution:                   |    Keywords:  deauthenticated due to local 
deauth request
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Comment (by [EMAIL PROTECTED]):

 I use also dwl-g520 rev.B:

 {{{
 00:0a.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg
 NIC (rev 01)
         Subsystem: D-Link System Inc DWL-G520 Wireless PCI Adapter rev. B
         Flags: bus master, medium devsel, latency 168, IRQ 17
         Memory at ea800000 (32-bit, non-prefetchable) [size=64K]
         Capabilities: [44] Power Management version 2

 }}}


 Madwifi-ng downloaded from SVN, development version of hostapd-0.5.5.
 Linux with Fedora4 and kernel 2.6.16-1.2111_FC4 acts as the AP, the client
 is Laptop with WindowsXP (which is up to date).

 Loaded modules:

 {{{
 wlan                  197340  8
 
wlan_tkip,wlan_xauth,wlan_wep,wlan_scan_ap,wlan_scan_sta,ath_pci,ath_rate_sample
 aes                    27881  0
 }}}

 Unfotunatelly i get similar error:

 {{{
 l2_packet_receive - recvfrom: Network is down
 Configuration file: /etc/hostapd.conf
 ctrl_interface_group=0
 eapol_version=1
 madwifi_set_iface_flags: dev_up=0
 Using interface ath0 with hwaddr 00:0f:3d:ab:92:a4 and ssid 'homerock'
 madwifi_set_ieee8021x: enabled=1
 madwifi_configure_wpa: group key cipher=1
 madwifi_configure_wpa: pairwise key ciphers=0x2
 madwifi_configure_wpa: key management algorithms=0x2
 madwifi_configure_wpa: rsn capabilities=0x0
 madwifi_configure_wpa: enable WPA= 0x3
 madwifi_set_iface_flags: dev_up=1
 WPA: group state machine entering state GTK_INIT
 GMK - hexdump(len=32): [REMOVED]
 GTK - hexdump(len=32): [REMOVED]
 WPA: group state machine entering state SETKEYSDONE
 madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
 madwifi_set_privacy: enabled=1
 SIOCGIWRANGE: WE(compiled)=19 WE(source)=13 enc_capa=0xf
 ath0: IEEE 802.11 Fetching hardware channel/rate support not supported.
 Flushing old station entries
 madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff reason_code=3
 Deauthenticate all stations
 Wireless event: cmd=0x8c03 len=20
 ath0: STA 00:05:4e:49:26:60 IEEE 802.11: associated
   New STA
 ath0: STA 00:05:4e:49:26:60 WPA: event 1 notification
 madwifi_del_key: addr=00:05:4e:49:26:60 key_idx=0
 ath0: STA 00:05:4e:49:26:60 WPA: start authentication
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state INITIALIZE
 madwifi_del_key: addr=00:05:4e:49:26:60 key_idx=0
 madwifi_set_sta_authorized: addr=00:05:4e:49:26:60 authorized=0
 ath0: STA 00:05:4e:49:26:60 IEEE 802.1X: unauthorizing port
 WPA: 00:05:4e:49:26:60 WPA_PTK_GROUP entering state IDLE
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state AUTHENTICATION
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state AUTHENTICATION2
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state INITPSK
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state PTKSTART
 ath0: STA 00:05:4e:49:26:60 WPA: sending 1/4 msg of 4-Way Handshake
 WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0
 gtk_len=0 keyidx=0 encr=0)
 TX EAPOL - hexdump(len=113): 00 05 4e 49 26 60 00 0f 3d ab 92 a4 88 8e 01
 03 00 5f fe 00 89 00 20 00 00 00 00 0
 0 00 00 01 28 de 6e 53 5d 09 16 d5 88 0d 9c 82 44 b8 b8 ad 58 a5 59 72 c0
 2b fd eb 70 79 f6 62 88 ed 4f 74 00 0
 0 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 00 00 00 00 0
 0 00 00 00 00 00 00 00 00 00 00 00
 IEEE 802.1X: 5 bytes from 00:05:4e:49:26:60
    IEEE 802.1X: version=1 type=1 length=0
    ignoring 1 extra octets after IEEE 802.1X packet
 IEEE 802.1X: 123 bytes from 00:05:4e:49:26:60
    IEEE 802.1X: version=1 type=3 length=119
 ath0: STA 00:05:4e:49:26:60 WPA: received EAPOL-Key frame (2/4 Pairwise)
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state PTKCALCNEGOTIATING
 PMK - hexdump(len=32): [REMOVED]
 PTK - hexdump(len=64): [REMOVED]
 ath0: STA 00:05:4e:49:26:60 WPA: invalid MIC in msg 2/4 of 4-Way Handshake
 ath0: STA 00:05:4e:49:26:60 WPA: EAPOL-Key timeout
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state PTKSTART
 ath0: STA 00:05:4e:49:26:60 WPA: sending 1/4 msg of 4-Way Handshake
 WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0
 gtk_len=0 keyidx=0 encr=0)
 TX EAPOL - hexdump(len=113): 00 05 4e 49 26 60 00 0f 3d ab 92 a4 88 8e 01
 03 00 5f fe 00 89 00 20 00 00 00 00 0
 0 00 00 02 28 de 6e 53 5d 09 16 d5 88 0d 9c 82 44 b8 b8 ad 58 a5 59 72 c0
 2b fd eb 70 79 f6 62 88 ed 4f 74 00 0
 0 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 00 00 00 00 0
 0 00 00 00 00 00 00 00 00 00 00 00
 IEEE 802.1X: 123 bytes from 00:05:4e:49:26:60
    IEEE 802.1X: version=1 type=3 length=119
 ath0: STA 00:05:4e:49:26:60 WPA: received EAPOL-Key frame (2/4 Pairwise)
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state PTKCALCNEGOTIATING
 PMK - hexdump(len=32): [REMOVED]
 PTK - hexdump(len=64): [REMOVED]
 ath0: STA 00:05:4e:49:26:60 WPA: invalid MIC in msg 2/4 of 4-Way Handshake
 ath0: STA 00:05:4e:49:26:60 WPA: EAPOL-Key timeout
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state PTKSTART
 ath0: STA 00:05:4e:49:26:60 WPA: sending 1/4 msg of 4-Way Handshake
 WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0
 gtk_len=0 keyidx=0 encr=0)
 TX EAPOL - hexdump(len=113): 00 05 4eioctl[IEEE80211_IOCTL_DELKEY]:
 Invalid argument
 ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
  49 26 60 00 0f 3d ab 92 a4 88 8e 01 03 00 5f fe 00 89 00 20 00 00 00 00
 00 00 00 03 28 de 6e 53 5d 09 16 d5 88
  0d 9c 82 44 b8 b8 ad 58 a5 59 72 c0 2b fd eb 70 79 f6 62 88 ed 4f 74 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 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00
 IEEE 802.1X: 123 bytes from 00:05:4e:49:26:60
    IEEE 802.1X: version=1 type=3 length=119
 ath0: STA 00:05:4e:49:26:60 WPA: received EAPOL-Key frame (2/4 Pairwise)
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state PTKCALCNEGOTIATING
 PMK - hexdump(len=32): [REMOVED]
 PTK - hexdump(len=64): [REMOVED]
 ath0: STA 00:05:4e:49:26:60 WPA: invalid MIC in msg 2/4 of 4-Way Handshake
 ath0: STA 00:05:4e:49:26:60 WPA: EAPOL-Key timeout
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state PTKSTART
 ath0: STA 00:05:4e:49:26:60 WPA: sending 1/4 msg of 4-Way Handshake
 WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0
 gtk_len=0 keyidx=0 encr=0)
 TX EAPOL - hexdump(len=113): 00 05 4e 49 26 60 00 0f 3d ab 92 a4 88 8e 01
 03 00 5f fe 00 89 00 20 00 00 00 00 0
 0 00 00 04 28 de 6e 53 5d 09 16 d5 88 0d 9c 82 44 b8 b8 ad 58 a5 59 72 c0
 2b fd eb 70 79 f6 62 88 ed 4f 74 00 0
 0 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 00 00 00 00 0
 0 00 00 00 00 00 00 00 00 00 00 00
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state DISCONNECT
 hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA
 00:05:4e:49:26:60 reason 2
 madwifi_sta_deauth: addr=00:05:4e:49:26:60 reason_code=2
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state DISCONNECTED
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state INITIALIZE
 madwifi_del_key: addr=00:05:4e:49:26:60 key_idx=0
 madwifi_set_sta_authorized: addr=00:05:4e:49:26:60 authorized=0
 ath0: STA 00:05:4e:49:26:60 IEEE 802.1X: unauthorizing port
 Could not set station 00:05:4e:49:26:60 flags for kernel driver
 (errno=22).
 ath0: STA 00:05:4e:49:26:60 IEEE 802.11: deauthenticated due to local
 deauth request
 Wireless event: cmd=0x8c04 len=20
 ath0: STA 00:05:4e:49:26:60 IEEE 802.11: disassociated
 Wireless event: cmd=0x8c03 len=20
 ath0: STA 00:05:4e:49:26:60 IEEE 802.11: associated
   New STA
 ath0: STA 00:05:4e:49:26:60 WPA: event 1 notification
 madwifi_del_key: addr=00:05:4e:49:26:60 key_idx=0
 ath0: STA 00:05:4e:49:26:60 WPA: start authentication
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state INITIALIZE
 madwifi_del_key: addr=00:05:4e:49:26:60 key_idx=0
 madwifi_set_sta_authorized: addr=00:05:4e:49:26:60 authorized=0
 ath0: STA 00:05:4e:49:26:60 IEEE 802.1X: unauthorizing port
 WPA: 00:05:4e:49:26:60 WPA_PTK_GROUP entering state IDLE
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state AUTHENTICATION
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state AUTHENTICATION2
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state INITPSK
 WPA: 00:05:4e:49:26:60 WPA_PTK entering state PTKSTART
 ath0: STA 00:05:4e:49:26:60 WPA: sending 1/4 msg of 4-Way Handshake
 WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0
 gtk_len=0 keyidx=0 encr=0)
 }}}

 Does anybody have still the same problem?
 Regards

-- 
Ticket URL: <http://madwifi.org/ticket/539>
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