2017-02-25 8:59 GMT+01:00 Jouni Malinen <j@xxxxx>: > On Thu, Feb 23, 2017 at 03:13:36PM +0100, Charlemagne Lasse wrote: >> I found a weird problem in LEDE 17.01 with an ath9k device and >> reported it at https://bugs.lede-project.org/index.php?do=details&task_id=550 >> . But it looks like it is a bug in hostapd/wpa_supplicant because I >> cannot reproduce it when using authsae. > Can you produce debug logs from both wpa_supplicant and hostapd for > this? Yes, here is the output from hostapd -ddddd (the STOP_AP happens after starting WPA_SUPPLICANT): nl80211: ssid - hexdump_ascii(len=8): 6d 65 73 68 65 64 41 50 meshedAP nl80211: ssid - hexdump_ascii(len=8): 6d 65 73 68 65 64 41 50 meshedAP RX ctrl_iface - hexdump_ascii(len=7): 53 54 4f 50 5f 41 50 STOP_AP RX ctrl_iface - hexdump_ascii(len=7): 53 54 4f 50 5f 41 50 STOP_AP The -ddddd output from wpa_supplicant is attached
wpa_supplicant v2.7-devel Successfully initialized wpa_supplicant Initializing interface 'mesh-2' conf '/var/run/wpa_supplicant-mesh-2.conf' driver 'nl80211' ctrl_interface '/var/run/wpa_supplicant' bridge 'br-lan' Configuration file '/var/run/wpa_supplicant-mesh-2.conf' -> '/var/run/wpa_supplicant-mesh-2.conf' Reading configuration file '/var/run/wpa_supplicant-mesh-2.conf' Line: 3 - start of a new network block ssid - hexdump_ascii(len=6): 6d 79 6d 65 73 68 mymesh key_mgmt: 0x400 mode=5 (0x5) frequency=2412 (0x96c) PSK (ASCII passphrase) - hexdump_ascii(len=15): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='mymesh' 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:10 nl80211: Supported cipher 00-0f-ac:8 nl80211: Supported cipher 00-0f-ac:9 nl80211: Supported cipher 00-0f-ac:6 nl80211: Supported cipher 00-0f-ac:13 nl80211: Supported cipher 00-0f-ac:11 nl80211: Supported cipher 00-0f-ac:12 nl80211: Using driver-based off-channel TX nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40 nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40 nl80211: Use separate P2P group interface (driver advertised support) nl80211: interface mesh-2 in phy phy0 nl80211: Set mode ifindex 7 iftype 7 (MESH_POINT) nl80211: Subscribe to mgmt frames with mesh handle 0x77d5aa60 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x77d5aa60 match= nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f01 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f02 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f03 netlink: Operstate: ifindex=7 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT) Add interface mesh-2 to a new radio phy0 nl80211: Regulatory information - country=US (DFS-FCC) nl80211: 2402-2472 @ 40 MHz 30 mBm nl80211: 5170-5250 @ 80 MHz 23 mBm nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS) nl80211: 5490-5730 @ 160 MHz 23 mBm (DFS) nl80211: 5735-5835 @ 80 MHz 30 mBm nl80211: 57240-63720 @ 2160 MHz 40 mBm nl80211: Added 802.11b mode based on 802.11g information mesh-2: Own MAC address: ae:86:74:00:00:01 mesh-2: Receiving packets from bridge interface 'br-lan' wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=4 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=5 set_tx=0 seq_len=0 key_len=0 mesh-2: RSN: flushing PMKID list in the driver nl80211: Flush PMKIDs mesh-2: Setting scan request: 0.100000 sec mesh-2: WPS: UUID based on MAC address: 741ed594-a0c3-50a5-8b47-6d63dd883d39 ENGINE: Loading dynamic engine ENGINE: Loading dynamic engine 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 mesh-2: Added interface mesh-2 mesh-2: State: DISCONNECTED -> DISCONNECTED nl80211: Set mesh-2 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) mesh-2: State: DISCONNECTED -> SCANNING mesh-2: Starting AP scan for wildcard SSID mesh-2: Add radio work 'scan'@0x77d42870 mesh-2: First radio work item in the queue - schedule start immediately RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=33554432 ifi_family=7 ifi_flags=0x1003 ([UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: if_indices[16]: 5(7) RTM_NEWLINK: ifi_index=7 ifname=mesh-2 operstate=33554432 linkmode=16777216 master=5 ifi_family=0 ifi_flags=0x1003 ([UP]) mesh-2: Starting radio work 'scan'@0x77d42870 after 0.003195 second wait mesh-2: nl80211: scan request nl80211: Scan SSID - hexdump_ascii(len=0): [NULL] nl80211: Scan extra IEs - hexdump(len=12): 7f 08 00 00 00 00 00 00 00 40 72 00 Scan requested (ret=0) - scan timeout 10 seconds nl80211: Event message available nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for mesh-2 mesh-2: nl80211: Scan trigger mesh-2: Event SCAN_STARTED (47) received mesh-2: Own scan request started a scan in 0.003734 seconds RTM_NEWLINK: ifi_index=7 ifname=mesh-2 wext ifi_family=0 ifi_flags=0x1003 ([UP]) nl80211: Event message available nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for mesh-2 mesh-2: nl80211: New scan results available nl80211: Scan probed for SSID '' nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 mesh-2: Event SCAN_RESULTS (3) received mesh-2: Scan completed in 0.651049 seconds nl80211: Received scan results (0 BSSes) Sorted scan results BSS: last_scan_res_used=0/32 mesh-2: New scan results available (own=1 ext=0) mesh-2: Radio work 'scan'@0x77d42870 done in 0.714678 seconds mesh-2: radio_work_free('scan'@0x77d42870: num_active_works --> 0 mesh-2: Selecting BSS from priority group 0 mesh-2: No suitable network found mesh-2: Setup a new network phy: phy0 BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits) nl80211: Regulatory information - country=US (DFS-FCC) nl80211: 2402-2472 @ 40 MHz 30 mBm nl80211: 5170-5250 @ 80 MHz 23 mBm nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS) nl80211: 5490-5730 @ 160 MHz 23 mBm (DFS) nl80211: 5735-5835 @ 80 MHz 30 mBm nl80211: 57240-63720 @ 2160 MHz 40 mBm nl80211: Added 802.11b mode based on 802.11g information Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=30 dBm Completing interface initialization Mode: IEEE 802.11g Channel: 1 Frequency: 2412 MHz DFS 0 channels required radar detection mesh-2: Mesh configuration will be applied while joining the mesh network RATE[0] rate=10 flags=0x1 RATE[1] rate=20 flags=0x1 RATE[2] rate=55 flags=0x1 RATE[3] rate=110 flags=0x1 RATE[4] rate=60 flags=0x1 RATE[5] rate=90 flags=0x0 RATE[6] rate=120 flags=0x1 RATE[7] rate=180 flags=0x0 RATE[8] rate=240 flags=0x1 RATE[9] rate=360 flags=0x0 RATE[10] rate=480 flags=0x0 RATE[11] rate=540 flags=0x0 hostapd_setup_bss(hapd=0xcc2730 (mesh-2), first=1) Flushing old station entries nl80211: flush -> DEL_STATION mesh-2 (all) Deauthenticate all stations wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 Using interface mesh-2 with hwaddr ae:86:74:00:00:01 and ssid "" VLAN: vlan_set_name_type(name_type=2) nl80211: Set mesh-2 operstate 0->1 (UP) netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) Failed to set TX queue parameters for queue 0. Failed to set TX queue parameters for queue 1. Failed to set TX queue parameters for queue 2. Failed to set TX queue parameters for queue 3. mesh-2: interface state UNINITIALIZED->ENABLED AP-ENABLED mesh-2: Setup of interface done. nl80211: Set mode ifindex 7 iftype 7 (MESH_POINT) nl80211: Unsubscribe mgmt frames handle 0xff5d22e9 (mode change) nl80211: Subscribe to mgmt frames with mesh handle 0x77d5aa60 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x77d5aa60 match= nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f01 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f02 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f03 AUTH: Initializing group state machine GMK - hexdump(len=32): [REMOVED] Key Counter - hexdump(len=32): [REMOVED] WPA: Delay group state machine start until Beacon frames have been configured ELOOP: Too long timeout (secs=4294967295) to ever happen - ignore it mesh: Own TX MGTK - hexdump(len=16): [REMOVED] wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=3 addr=0 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 mesh-2: joining mesh mymesh nl80211: mesh join (ifindex=7) * freq=2412 * vht_enabled=0 * ht_enabled=1 * sec_channel_offset=0 * channel_type=1wpa_supplicant v2.7-devel Successfully initialized wpa_supplicant Initializing interface 'mesh-2' conf '/var/run/wpa_supplicant-mesh-2.conf' driver 'nl80211' ctrl_interface '/var/run/wpa_supplicant' bridge 'br-lan' Configuration file '/var/run/wpa_supplicant-mesh-2.conf' -> '/var/run/wpa_supplicant-mesh-2.conf' Reading configuration file '/var/run/wpa_supplicant-mesh-2.conf' Line: 3 - start of a new network block ssid - hexdump_ascii(len=6): 6d 79 6d 65 73 68 mymesh key_mgmt: 0x400 mode=5 (0x5) frequency=2412 (0x96c) PSK (ASCII passphrase) - hexdump_ascii(len=15): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='mymesh' 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:10 nl80211: Supported cipher 00-0f-ac:8 nl80211: Supported cipher 00-0f-ac:9 nl80211: Supported cipher 00-0f-ac:6 nl80211: Supported cipher 00-0f-ac:13 nl80211: Supported cipher 00-0f-ac:11 nl80211: Supported cipher 00-0f-ac:12 nl80211: Using driver-based off-channel TX nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40 nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40 nl80211: Use separate P2P group interface (driver advertised support) nl80211: interface mesh-2 in phy phy0 nl80211: Set mode ifindex 7 iftype 7 (MESH_POINT) nl80211: Subscribe to mgmt frames with mesh handle 0x77d5aa60 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x77d5aa60 match= nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f01 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f02 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f03 netlink: Operstate: ifindex=7 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT) Add interface mesh-2 to a new radio phy0 nl80211: Regulatory information - country=US (DFS-FCC) nl80211: 2402-2472 @ 40 MHz 30 mBm nl80211: 5170-5250 @ 80 MHz 23 mBm nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS) nl80211: 5490-5730 @ 160 MHz 23 mBm (DFS) nl80211: 5735-5835 @ 80 MHz 30 mBm nl80211: 57240-63720 @ 2160 MHz 40 mBm nl80211: Added 802.11b mode based on 802.11g information mesh-2: Own MAC address: ae:86:74:00:00:01 mesh-2: Receiving packets from bridge interface 'br-lan' wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=4 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=5 set_tx=0 seq_len=0 key_len=0 mesh-2: RSN: flushing PMKID list in the driver nl80211: Flush PMKIDs mesh-2: Setting scan request: 0.100000 sec mesh-2: WPS: UUID based on MAC address: 741ed594-a0c3-50a5-8b47-6d63dd883d39 ENGINE: Loading dynamic engine ENGINE: Loading dynamic engine 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 mesh-2: Added interface mesh-2 mesh-2: State: DISCONNECTED -> DISCONNECTED nl80211: Set mesh-2 operstate 0->0 (DORMANT) netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT) mesh-2: State: DISCONNECTED -> SCANNING mesh-2: Starting AP scan for wildcard SSID mesh-2: Add radio work 'scan'@0x77d42870 mesh-2: First radio work item in the queue - schedule start immediately RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=33554432 ifi_family=7 ifi_flags=0x1003 ([UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: if_indices[16]: 5(7) RTM_NEWLINK: ifi_index=7 ifname=mesh-2 operstate=33554432 linkmode=16777216 master=5 ifi_family=0 ifi_flags=0x1003 ([UP]) mesh-2: Starting radio work 'scan'@0x77d42870 after 0.003195 second wait mesh-2: nl80211: scan request nl80211: Scan SSID - hexdump_ascii(len=0): [NULL] nl80211: Scan extra IEs - hexdump(len=12): 7f 08 00 00 00 00 00 00 00 40 72 00 Scan requested (ret=0) - scan timeout 10 seconds nl80211: Event message available nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for mesh-2 mesh-2: nl80211: Scan trigger mesh-2: Event SCAN_STARTED (47) received mesh-2: Own scan request started a scan in 0.003734 seconds RTM_NEWLINK: ifi_index=7 ifname=mesh-2 wext ifi_family=0 ifi_flags=0x1003 ([UP]) nl80211: Event message available nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for mesh-2 mesh-2: nl80211: New scan results available nl80211: Scan probed for SSID '' nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 mesh-2: Event SCAN_RESULTS (3) received mesh-2: Scan completed in 0.651049 seconds nl80211: Received scan results (0 BSSes) Sorted scan results mesh-2: BSS: Start scan result update 0 BSS: last_scan_res_used=0/32 mesh-2: No suitable network found mesh-2: Setup a new network phy: phy0 BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits) nl80211: Regulatory information - country=US (DFS-FCC) nl80211: 2402-2472 @ 40 MHz 30 mBm nl80211: 5170-5250 @ 80 MHz 23 mBm nl80211: 5250-5330 @ 80 MHz 23 mBm (DFS) nl80211: 5490-5730 @ 160 MHz 23 mBm (DFS) nl80211: 5735-5835 @ 80 MHz 30 mBm nl80211: 57240-63720 @ 2160 MHz 40 mBm nl80211: Added 802.11b mode based on 802.11g information Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=3 freq=2422 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=4 freq=2427 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=5 freq=2432 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=6 freq=2437 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=7 freq=2442 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=8 freq=2447 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=9 freq=2452 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=10 freq=2457 MHz max_tx_power=30 dBm Allowed channel: mode=1 chan=11 freq=2462 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=1 freq=2412 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=2 freq=2417 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=3 freq=2422 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=4 freq=2427 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=5 freq=2432 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=6 freq=2437 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=7 freq=2442 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=8 freq=2447 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=9 freq=2452 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=30 dBm Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=30 dBm Completing interface initialization Mode: IEEE 802.11g Channel: 1 Frequency: 2412 MHz DFS 0 channels required radar detection mesh-2: Mesh configuration will be applied while joining the mesh network RATE[0] rate=10 flags=0x1 RATE[1] rate=20 flags=0x1 RATE[2] rate=55 flags=0x1 RATE[3] rate=110 flags=0x1 RATE[4] rate=60 flags=0x1 RATE[5] rate=90 flags=0x0 RATE[6] rate=120 flags=0x1 RATE[7] rate=180 flags=0x0 RATE[8] rate=240 flags=0x1 RATE[9] rate=360 flags=0x0 RATE[10] rate=480 flags=0x0 RATE[11] rate=540 flags=0x0 hostapd_setup_bss(hapd=0xcc2730 (mesh-2), first=1) Flushing old station entries nl80211: flush -> DEL_STATION mesh-2 (all) Deauthenticate all stations wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=0 addr=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 Using interface mesh-2 with hwaddr ae:86:74:00:00:01 and ssid "" VLAN: vlan_set_name_type(name_type=2) nl80211: Set mesh-2 operstate 0->1 (UP) netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) Failed to set TX queue parameters for queue 0. Failed to set TX queue parameters for queue 1. Failed to set TX queue parameters for queue 2. Failed to set TX queue parameters for queue 3. mesh-2: interface state UNINITIALIZED->ENABLED AP-ENABLED mesh-2: Setup of interface done. nl80211: Set mode ifindex 7 iftype 7 (MESH_POINT) nl80211: Unsubscribe mgmt frames handle 0xff5d22e9 (mode change) nl80211: Subscribe to mgmt frames with mesh handle 0x77d5aa60 nl80211: Register frame type=0xb0 (WLAN_FC_STYPE_AUTH) nl_handle=0x77d5aa60 match= nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f01 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f02 nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x77d5aa60 match=0f03 AUTH: Initializing group state machine GMK - hexdump(len=32): [REMOVED] Key Counter - hexdump(len=32): [REMOVED] WPA: Delay group state machine start until Beacon frames have been configured ELOOP: Too long timeout (secs=4294967295) to ever happen - ignore it mesh: Own TX MGTK - hexdump(len=16): [REMOVED] wpa_driver_nl80211_set_key: ifindex=7 (mesh-2) alg=3 addr=0 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 mesh-2: joining mesh mymesh nl80211: mesh join (ifindex=7) * freq=2412 * vht_enabled=0 * ht_enabled=1 * sec_channel_offset=0 * channel_type=1 * Mesh ID (SSID) - hexdump_ascii(len=6): 6d 79 6d 65 73 68 mymesh * flags=0000000D * IEs - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 08 00 00 nl80211: mesh join request send successfully nl80211: Set mesh-2 operstate 1->1 (UP) netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) mesh-2: State: SCANNING -> COMPLETED mesh-2: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=] nl80211: Set mesh-2 operstate 1->1 (UP) netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) mesh-2: MESH-GROUP-STARTED ssid="mymesh" id=0 RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=83886080 ifi_family=7 ifi_flags=0x11003 ([UP][LOWER_UP]) nl80211: Set IF_OPER_UP again based on ifi_flags and expected operstate netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list RTM_NEWLINK: ifi_index=7 ifname=mesh-2 operstate=83886080 linkmode=16777216 master=5 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) nl80211: Set IF_OPER_UP again based on ifi_flags and expected operstate netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list RTM_NEWLINK: ifi_index=7 ifname=mesh-2 operstate=100663296 linkmode=16777216 master=5 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11003 ([UP][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) EAPOL: disable timer tick RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) * Mesh ID (SSID) - hexdump_ascii(len=6): 6d 79 6d 65 73 68 mymesh * flags=0000000D * IEs - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 08 00 00 nl80211: mesh join request send successfully nl80211: Set mesh-2 operstate 1->1 (UP) netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) mesh-2: State: SCANNING -> COMPLETED mesh-2: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=] nl80211: Set mesh-2 operstate 1->1 (UP) netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) mesh-2: MESH-GROUP-STARTED ssid="mymesh" id=0 RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=83886080 ifi_family=7 ifi_flags=0x11003 ([UP][LOWER_UP]) nl80211: Set IF_OPER_UP again based on ifi_flags and expected operstate netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list RTM_NEWLINK: ifi_index=7 ifname=mesh-2 operstate=83886080 linkmode=16777216 master=5 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) nl80211: Set IF_OPER_UP again based on ifi_flags and expected operstate netlink: Operstate: ifindex=7 linkmode=-1 (no change), operstate=6 (IF_OPER_UP) RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list RTM_NEWLINK: ifi_index=7 ifname=mesh-2 operstate=100663296 linkmode=16777216 master=5 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11003 ([UP][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=0 ifi_flags=0x11003 ([UP][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2) EAPOL: disable timer tick RTM_NEWLINK: ifi_index=7 ifname=mesh-2 master=5 operstate=100663296 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) nl80211: Add ifindex 5 for bridge br-lan nl80211: Add own interface ifindex 5 (ifidx_reason 7) nl80211: ifindex 5 already in the list VLAN: RTM_NEWLINK: ifi_index=7 ifname=mesh-2 ifi_family=7 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) VLAN: vlan_newlink(mesh-2)
_______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap