Few doubts on SIOCSIWPMKSA and SIOCSIWAP

Raghavendra s.raghu at samsung.com
Tue Sep 16 05:33:37 EDT 2008


Hi,

 In below logs I could see below two lines.

 ioctl[SIOCSIWPMKSA]: Invalid argument
 ioctl[SIOCSIWAP]: Network is unreachable

Here association with the AP is successfull, but what I want to know is, whether above two error messages are going to harm in any way, say in terms of performance or some other issue like connection failure..etc?

-Raghu

logs is as below...


# ./wpa_supplicant -ieth0 -c./wpa_conf.conf -w -ddd
Initializing interface 'eth0' conf './wpa_conf.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file './wpa_conf.conf' -> '/mnt/nfs/./wpa_conf.conf'
Reading configuration file '/mnt/nfs/./wpa_conf.conf'
ctrl_interface='/var/wpa_supplicant'
ap_scan=2
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=11):
     78 6f 63 65 61 6e 5f 64 6e 65 74                  xocean_dnet
key_mgmt: 0x4
Priority group 0
   id=0 ssid='xocean_dnet'
Initializing interface (2) 'eth0'
ioctl[SIOCSIWPMKSA]: Invalid argument
SIOCGIWRANGE: WE(compiled)=22 WE(source)=15 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:13:e0:9e:c4:2c
wpa_driver_wext_set_wpa
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_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface eth0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=DS_AWAKE'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=DS_AWAKE'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=DS_AWAKE'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=DS_AWAKE'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=DS_AWAKE'
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'xocean_dnet'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
ioctl[SIOCSIWAP]: Network is unreachable
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=DS_AWAKE'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=DS_AWAKE'
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8c02 len=27
WEXT: Custom wireless event: 'EVENT=DS_AWAKE'
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:1d:7e:0e:3f:54
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=00:1d:7e:0e:3f:54
Network configuration found for the current AP
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
Associated with 00:1d:7e:0e:3f:54
WPA: Association event - clear replay counter
Cancelling authentication timeout
State: ASSOCIATED -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:1d:7e:0e:3f:54 completed (auth) [id=0 id_str=]
wpa_driver_wext_set_operstate: operstate 0->1 (UP)
WEXT: Operstate: linkmode=-1, operstate=6
Cancelling scan request
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
WEXT: Operstate: linkmode=-1, operstate=6
Wireless event: cmd=0x8b1a len=19
RTM_NEWLINK: operstate=1 ifi_flags=0x11003 ([UP][LOWER_UP])
WEXT: Operstate: linkmode=-1, operstate=6
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20080916/47178c09/attachment.htm 


More information about the HostAP mailing list