Search Linux Wireless

RE: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC

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

 



Hi Amitkumar,

Here are the wpa_supplicant logs (with CONFIG_IBSS_RSN=y enabled) from the two devices. Beside wpa_supplicant, I manually set IPs 192.168.1.xy with command "ifconfig mlan0 192.168.1.xy" and then I try to ping each other, without success.

Vincent


Le 2016-06-13 15:40, Amitkumar Karwar a écrit :
Hi Vincent,

From: Vincent CESSON [mailto:vincent.cesson@xxxxxxxx]
Sent: Monday, June 13, 2016 7:09 PM
To: Amitkumar Karwar
Cc: Raymond Hayes; linux-wireless@xxxxxxxxxxxxxxx
Subject: RE: mwifiex+wpa_supplicant cannot set up WPA/WPA2 ADHOC

About the strange behaviour with the two devices connecting despite the bad passwords, I made a little mistake: on the device 2, wpa_supplicant was not built with option CONFIG_IBSS_RSN=y. But still, device 1 should
not accept device 2...

Note that with option CONFIG_IBSS_RSN=y enabled on both devices, WPA-PSK
connection does not work, even with the right password...


I see. Please share the wpa_supplicant logs with CONFIG_IBSS_RSN=y
enabled for analysis.

Regards,
Amitkumar
root@pcm-mx6quad:~# cat /etc/wpa_supplicant-rsn.conf 
ctrl_interface=DIR=/run/wpa_supplicant #GROUP=wheel
# use 'ap_scan=2' on all devices connected to the network
ap_scan=2
network={
ssid="suppl_wpa_adhoc_vce"
mode=1
frequency=2432
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="password"
}
root@pcm-mx6quad:~# wpa_supplicant -dd -i mlan0 -c /etc/wpa_supplicant-rsn.conf -D nl80211,wext
wpa_supplicant v2.5
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'mlan0' conf '/etc/wpa_supplicant-rsn.conf' driver 'nl80211,wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant-rsn.conf' -> '/etc/wpa_supplicant-rsn.conf'
Reading configuration file '/etc/wpa_supplicant-rsn.conf'
ctrl_interface='DIR=/run/wpa_supplicant'
ap_scan=2
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=19):
     73 75 70 70 6c 5f 77 70 61 5f 61 64 68 6f 63 5f   suppl_wpa_adhoc_
     76 63 65                                          vce             
mode=1 (0x1)
frequency=2432 (0x980)
proto: 0x3
key_mgmt: 0x2
pairwise: 0x18
group: 0x18
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='suppl_wpa_adhoc_vce'
rfkill: initial event: idx=2 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=3 type=1 op=0 soft=0 hard=0
nl80211: TDLS supported
nl80211: TDLS external setup
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supports Probe Response offload in AP mode
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Disable use_monitor with device_ap_sme since no monitor mode support detected
nl80211: interface mlan0 in phy phy1
nl80211: Set mode ifindex 11 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x1fbae98
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=06
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=0a07
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 0a 07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=0a11
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 0a 11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=1101
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 11 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=1102
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 11 02
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=0505
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 05 05
nl80211: Failed to register Action frame processing - ignore for now
netlink: Operstate: ifindex=11 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
nl80211: driver param='(null)'
Add interface mlan0 to a new radio phy1
nl80211: Regulatory information - country=FR (DFS-ETSI)
nl80211: 2402-2482 @ 40 MHz 20 mBm
nl80211: 5170-5250 @ 80 MHz 20 mBm
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS)
nl80211: 5490-5710 @ 160 MHz 27 mBm (DFS)
nl80211: 57000-66000 @ 2160 MHz 40 mBm
nl80211: Added 802.11b mode based on 802.11g information
mlan0: Own MAC address: 98:f1:70:6f:93:f6
Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures
wpa_driver_nl80211_set_key: ifindex=11 (mlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=11 (mlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=11 (mlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=11 (mlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
mlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
mlan0: Setting scan request: 0.100000 sec
mlan0: WPS: UUID based on MAC address: 12af4f70-c6df-5d0d-b74d-a8d7cef24161
GnuTLS: Library version 2.12.23 (runtime) - 2.12.23 (build)
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
mlan0: Added interface mlan0
mlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set mlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=11 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
mlan0: State: DISCONNECTED -> SCANNING
mlan0: Add radio work 'connect'@0x1fc1480
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'connect'@0x1fc1480 after 0.000044 second wait
mlan0: Trying to associate with SSID 'suppl_wpa_adhoc_vce'
mlan0: Cancelling scan request
mlan0: WPA: clearing own WPA/RSN IE
mlan0: Automatic auth_alg selection: 0x1
mlan0: WPA: No WPA/RSN IE available from association info
mlan0: WPA: Set cipher suites based on configuration
mlan0: WPA: Selected cipher suites: group 24 pairwise 24 key_mgmt 2 proto 2
mlan0: WPA: clearing AP WPA IE
mlan0: WPA: clearing AP RSN IE
mlan0: WPA: using GTK CCMP
mlan0: WPA: using PTK CCMP
mlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
mlan0: State: SCANNING -> ASSOCIATING
nl80211: Set mlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=11 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
nl80211: Join IBSS (ifindex=11)
nl80211: Set mode ifindex 11 iftype 1 (ADHOC)
nl80211: Unsubscribe mgmt frames handle 0x89732611 (mode change)
nl80211: Subscribe to mgmt frames with non-AP handle 0x1fbae98
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x1fbae98 match=
nl80211: Register frame command failed (type=176): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=06
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=1): 06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=0a07
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 0a 07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=0a11
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 0a 11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=1101
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 11 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=1102
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 11 02
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1fbae98 match=0505
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 05 05
nl80211: Failed to register Action frame processing - ignore for now
  * SSID - hexdump_ascii(len=19):
     73 75 70 70 6c 5f 77 70 61 5f 61 64 68 6f 63 5f   suppl_wpa_adhoc_
     76 63 65                                          vce             
  * freq=2432
  * vht_enabled=0
  * ht_enabled=1
  * sec_channel_offset=0
  * channel_type=1
  * control port
  * Extra IEs for Beacon/Probe Response frames - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
nl80211: Join IBSS request sent successfully
mlan0: Cancelling authentication timeout
EAPOL: External notification - portControl=ForceAuthorized
EAPOL: External notification - EAP success=1
EAP: EAP entering state DISABLED
EAPOL: External notification - EAP fail=0
EAPOL: disable timer tick
nl80211: Event message available
nl80211: Drv Event 43 (NL80211_CMD_JOIN_IBSS) received for mlan0
nl80211: IBSS 02:2d:9d:c9:29:c6 joined
nl80211: IBSS-joined on 2432 MHz
nl80211: Operating frequency for the associated BSS from scan results: 2432 MHz
nl80211: IBSS on frequency 2432 MHz
mlan0: Event ASSOC (0) received
mlan0: State: ASSOCIATING -> ASSOCIATED
nl80211: Set mlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=11 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
mlan0: Associated to a new BSS: BSSID=02:2d:9d:c9:29:c6
mlan0: Select network based on association information
mlan0: Network configuration found for the current AP
mlan0: WPA: Using WPA IE from AssocReq to set cipher suites
mlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
mlan0: WPA: clearing AP WPA IE
mlan0: WPA: clearing AP RSN IE
mlan0: WPA: using GTK CCMP
mlan0: WPA: using PTK CCMP
mlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
nl80211: IBSS-joined on 2432 MHz
nl80211: Received scan results (4 BSSes)
mlan0: BSS: Start scan result update 1
mlan0: BSS: Add new id 0 BSSID 98:f1:70:6f:4c:ef SSID 'PCM_AP' freq 2437
mlan0: BSS: Add new id 1 BSSID 02:2d:9d:c9:29:c6 SSID 'suppl_wpa_adhoc_vce' freq 2432
mlan0: BSS: Add new id 2 BSSID 80:1f:02:f5:81:7e SSID 'TP-LINK_2.4GHz_C300_PCM_Lab_BAT4' freq 2437
mlan0: BSS: Add new id 3 BSSID 74:da:38:2e:86:00 SSID 'HALT_TEST' freq 2437
EAPOL: External notification - portControl=ForceAuthorized
EAPOL: External notification - EAP success=1
EAP: EAP entering state DISABLED
EAPOL: External notification - EAP fail=0
mlan0: Associated with 02:2d:9d:c9:29:c6
mlan0: WPA: Association event - clear replay counter
mlan0: WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: Supplicant port status: Authorized
nl80211: Set supplicant port authorized for 02:2d:9d:c9:29:c6
nl80211: Failed to set STA flag: -524 (Unknown error 524)
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAPOL: enable timer tick
EAP: EAP entering state IDLE
mlan0: Cancelling authentication timeout
mlan0: State: ASSOCIATED -> COMPLETED
mlan0: Radio work 'connect'@0x1fc1480 done in 1.912078 seconds
mlan0: CTRL-EVENT-CONNECTED - Connection to 02:2d:9d:c9:29:c6 completed [id=0 id_str=]
nl80211: Set mlan0 operstate 0->1 (UP)
netlink: Operstate: ifindex=11 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
mlan0: Cancelling scan request
AUTH: Initializing group state machine
Get randomness: len=32 entropy=1
GMK - hexdump(len=32): [REMOVED]
Get randomness: len=32 entropy=0
Key Counter - hexdump(len=32): [REMOVED]
WPA: Delay group state machine start until Beacon frames have been configured
WPA: Start group state machine to set initial keys
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
Get randomness: len=16 entropy=0
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
AUTH: auth_set_key(alg=3 addr=ff:ff:ff:ff:ff:ff key_idx=1)
AUTH: set_key - key - hexdump(len=16): [REMOVED]
wpa_driver_nl80211_set_key: ifindex=11 (mlan0) alg=3 addr=0xbca7c key_idx=1 set_tx=1 seq_len=6 key_len=16
nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
nl80211: KEY_SEQ - hexdump(len=6): 00 00 00 00 00 00
   broadcast key
RTM_NEWLINK: ifi_index=11 ifname=mlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x19003 ([UP][LOWER_UP])
nl80211: Set IF_OPER_UP again based on ifi_flags and expected operstate
netlink: Operstate: ifindex=11 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
RTM_NEWLINK: ifi_index=11 ifname=mlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x19043 ([UP][RUNNING][LOWER_UP])
root@pcm-mx6solo:~# cat /etc/wpa_supplicant-rsn.conf 
ctrl_interface=DIR=/run/wpa_supplicant #GROUP=wheel
# use 'ap_scan=2' on all devices connected to the network
ap_scan=2
network={
ssid="suppl_wpa_adhoc_vce"
mode=1
frequency=2432
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="password"
}
root@pcm-mx6solo:~# wpa_supplicant -dd -i mlan0 -c /etc/wpa_supplicant-rsn.conf -D nl80211,wext
wpa_supplicant v2.5
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'mlan0' conf '/etc/wpa_supplicant-rsn.conf' driver 'nl80211,wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant-rsn.conf' -> '/etc/wpa_supplicant-rsn.conf'
Reading configuration file '/etc/wpa_supplicant-rsn.conf'
ctrl_interface='DIR=/run/wpa_supplicant'
ap_scan=2
Line: 4 - start of a new network block
ssid - hexdump_ascii(len=19):
     73 75 70 70 6c 5f 77 70 61 5f 61 64 68 6f 63 5f   suppl_wpa_adhoc_
     76 63 65                                          vce             
mode=1 (0x1)
frequency=2432 (0x980)
proto: 0x3
key_mgmt: 0x2
pairwise: 0x18
group: 0x18
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='suppl_wpa_adhoc_vce'
rfkill: initial event: idx=6 type=2 op=0 soft=0 hard=0
rfkill: initial event: idx=7 type=1 op=0 soft=0 hard=0
nl80211: TDLS supported
nl80211: TDLS external setup
nl80211: Supported cipher 00-0f-ac:1
nl80211: Supported cipher 00-0f-ac:5
nl80211: Supported cipher 00-0f-ac:2
nl80211: Supported cipher 00-0f-ac:4
nl80211: Supported cipher 00-0f-ac:6
nl80211: Supports Probe Response offload in AP mode
nl80211: Use separate P2P group interface (driver advertised support)
nl80211: Disable use_monitor with device_ap_sme since no monitor mode support detected
nl80211: interface mlan0 in phy phy0
nl80211: Set mode ifindex 39 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x72ce98
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=06
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=1): 06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=0a07
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 0a 07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=0a11
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 0a 11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=1101
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 11 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=1102
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 11 02
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=0505
nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
nl80211: Register frame match - hexdump(len=2): 05 05
nl80211: Failed to register Action frame processing - ignore for now
netlink: Operstate: ifindex=39 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
nl80211: driver param='(null)'
Add interface mlan0 to a new radio phy0
nl80211: Regulatory information - country=FR
nl80211: 2402-2482 @ 40 MHz 20 mBm
nl80211: 5170-5250 @ 40 MHz 20 mBm
nl80211: 5250-5330 @ 40 MHz 20 mBm (DFS)
nl80211: 5490-5710 @ 40 MHz 27 mBm (DFS)
nl80211: 57240-65880 @ 2160 MHz 40 mBm (no outdoor)
nl80211: Added 802.11b mode based on 802.11g information
mlan0: Own MAC address: 98:f1:70:6f:95:9e
Note: nl80211 driver interface is not designed to be used with ap_scan=2; this can result in connection failures
wpa_driver_nl80211_set_key: ifindex=39 (mlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=39 (mlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=39 (mlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=39 (mlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
mlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
mlan0: Setting scan request: 0.100000 sec
mlan0: WPS: UUID based on MAC address: c045f30d-3f63-5ac4-b80c-c19614c1c491
GnuTLS: Library version 2.12.23 (runtime) - 2.12.23 (build)
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
mlan0: Added interface mlan0
mlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set mlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=39 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
random: Got 20/20 bytes from /dev/random
mlan0: State: DISCONNECTED -> SCANNING
mlan0: Add radio work 'connect'@0x733480
mlan0: First radio work item in the queue - schedule start immediately
mlan0: Starting radio work 'connect'@0x733480 after 0.000045 second wait
mlan0: Trying to associate with SSID 'suppl_wpa_adhoc_vce'
mlan0: Cancelling scan request
mlan0: WPA: clearing own WPA/RSN IE
mlan0: Automatic auth_alg selection: 0x1
mlan0: WPA: No WPA/RSN IE available from association info
mlan0: WPA: Set cipher suites based on configuration
mlan0: WPA: Selected cipher suites: group 24 pairwise 24 key_mgmt 2 proto 2
mlan0: WPA: clearing AP WPA IE
mlan0: WPA: clearing AP RSN IE
mlan0: WPA: using GTK CCMP
mlan0: WPA: using PTK CCMP
mlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
mlan0: State: SCANNING -> ASSOCIATING
nl80211: Set mlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=39 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
nl80211: Join IBSS (ifindex=39)
nl80211: Set mode ifindex 39 iftype 1 (ADHOC)
nl80211: Unsubscribe mgmt frames handle 0x88fa4611 (mode change)
nl80211: Subscribe to mgmt frames with non-AP handle 0x72ce98
nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x72ce98 match=
nl80211: Register frame command failed (type=176): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=0): [NULL]
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=06
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=1): 06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=0a07
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 0a 07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=0a11
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 0a 11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=1101
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 11 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=1102
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 11 02
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x72ce98 match=0505
nl80211: Register frame command failed (type=208): ret=-22 (Invalid argument)
nl80211: Register frame match - hexdump(len=2): 05 05
nl80211: Failed to register Action frame processing - ignore for now
  * SSID - hexdump_ascii(len=19):
     73 75 70 70 6c 5f 77 70 61 5f 61 64 68 6f 63 5f   suppl_wpa_adhoc_
     76 63 65                                          vce             
  * freq=2432
  * vht_enabled=0
  * ht_enabled=1
  * sec_channel_offset=0
  * channel_type=1
  * control port
  * Extra IEs for Beacon/Probe Response frames - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
nl80211: Join IBSS request sent successfully
mlan0: Cancelling authentication timeout
EAPOL: External notification - portControl=ForceAuthorized
EAPOL: External notification - EAP success=1
EAP: EAP entering state DISABLED
EAPOL: External notification - EAP fail=0
EAPOL: disable timer tick
RTM_NEWLINK: ifi_index=39 ifname=mlan0 operstate=5 linkmode=1 ifi_family=0 ifi_flags=0x19003 ([UP][LOWER_UP])
nl80211: Event message available
nl80211: Drv Event 43 (NL80211_CMD_JOIN_IBSS) received for mlan0
nl80211: IBSS 02:2d:9d:c9:29:c6 joined
nl80211: IBSS-joined on 2432 MHz
nl80211: Operating frequency for the associated BSS from scan results: 2432 MHz
nl80211: IBSS on frequency 2432 MHz
mlan0: Event ASSOC (0) received
mlan0: State: ASSOCIATING -> ASSOCIATED
nl80211: Set mlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=39 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
mlan0: Associated to a new BSS: BSSID=02:2d:9d:c9:29:c6
mlan0: Select network based on association information
mlan0: Network configuration found for the current AP
mlan0: WPA: Using WPA IE from AssocReq to set cipher suites
mlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
mlan0: WPA: clearing AP WPA IE
mlan0: WPA: clearing AP RSN IE
mlan0: WPA: using GTK CCMP
mlan0: WPA: using PTK CCMP
mlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
nl80211: IBSS-joined on 2432 MHz
nl80211: Received scan results (3 BSSes)
mlan0: BSS: Start scan result update 1
mlan0: BSS: Add new id 0 BSSID 98:f1:70:6f:4c:ef SSID 'PCM_AP' freq 2437
mlan0: BSS: Add new id 1 BSSID 02:2d:9d:c9:29:c6 SSID 'suppl_wpa_adhoc_vce' freq 2432
mlan0: BSS: Add new id 2 BSSID 80:1f:02:f5:81:7e SSID 'TP-LINK_2.4GHz_C300_PCM_Lab_BAT4' freq 2437
EAPOL: External notification - portControl=ForceAuthorized
EAPOL: External notification - EAP success=1
EAP: EAP entering state DISABLED
EAPOL: External notification - EAP fail=0
mlan0: Associated with 02:2d:9d:c9:29:c6
mlan0: WPA: Association event - clear replay counter
mlan0: WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: Supplicant port status: Authorized
nl80211: Set supplicant port authorized for 02:2d:9d:c9:29:c6
nl80211: Failed to set STA flag: -524 (Unknown error 524)
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAPOL: enable timer tick
EAP: EAP entering state IDLE
mlan0: Cancelling authentication timeout
mlan0: State: ASSOCIATED -> COMPLETED
mlan0: Radio work 'connect'@0x733480 done in 1.169077 seconds
mlan0: CTRL-EVENT-CONNECTED - Connection to 02:2d:9d:c9:29:c6 completed [id=0 id_str=]
nl80211: Set mlan0 operstate 0->1 (UP)
netlink: Operstate: ifindex=39 linkmode=-1 (no change), operstate=6 (IF_OPER_UP)
mlan0: Cancelling scan request
AUTH: Initializing group state machine
Get randomness: len=32 entropy=1
GMK - hexdump(len=32): [REMOVED]
Get randomness: len=32 entropy=0
Key Counter - hexdump(len=32): [REMOVED]
WPA: Delay group state machine start until Beacon frames have been configured
WPA: Start group state machine to set initial keys
WPA: group state machine entering state GTK_INIT (VLAN-ID 0)
Get randomness: len=16 entropy=0
GTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
AUTH: auth_set_key(alg=3 addr=ff:ff:ff:ff:ff:ff key_idx=1)
AUTH: set_key - key - hexdump(len=16): [REMOVED]
wpa_driver_nl80211_set_key: ifindex=39 (mlan0) alg=3 addr=0xbca7c key_idx=1 set_tx=1 seq_len=6 key_len=16
nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
nl80211: KEY_SEQ - hexdump(len=6): 00 00 00 00 00 00
   broadcast key
RTM_NEWLINK: ifi_index=39 ifname=mlan0 operstate=6 linkmode=1 ifi_family=0 ifi_flags=0x19043 ([UP][RUNNING][LOWER_UP])

[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