Scanning fails since update to 2.11 with libertas driver
Sebastian Priebe
sebastian.priebe at konplan.com
Wed Oct 23 01:37:10 PDT 2024
Hello,
we recently updated to version 2.11 and since that the scanning doesn't work anymore with libertas driver and Linux 5.15.y.
Here is a log from the failure:
wpa_supplicant v2.12-devel
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/tmp/hbm-tool_wlan.cfg' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/tmp/hbm-tool_wlan.cfg' -> '/tmp/hbm-tool_wlan.cfg'
Reading configuration file '/tmp/hbm-tool_wlan.cfg'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0'
ap_scan=1
pmf=1
Line: 8 - start of a new network block
scan_ssid=1 (0x1)
ssid - hexdump_ascii(len=11):
6b 6f 6e 70 6c 61 6e 20 48 50 50 konplan HPP
PSK (ASCII passphrase) - hexdump_ascii(len=15): [REMOVED]
key_mgmt: 0x402
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='konplan HPP'
nl80211: Kernel version: Linux 5.15.167-[10.00.00]-hbm (#1 PREEMPT Wed Oct 16 07:04:39 UTC 2024; armv6l)
nl80211: Maximum supported attribute ID: 305
nl80211: Initialize interface wlan0 (driver: libertas_sdio)
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: key_mgmt=0x40d0f enc=0xf auth=0x7 flags=0x9035080 flags2=0x100 rrm_flags=0x0 probe_resp_offloads=0x0 max_stations=0 max_remain_on_chan=5000 max_scan_ssids=1
nl80211: interface wlan0 in phy phy0
nl80211: Set mode ifindex 3 iftype 2 (STATION)
nl80211: Subscribe to mgmt frames with non-AP handle 0x1f4caa0
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=0104 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 01 04
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=040a multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 04 0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=040b multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 04 0b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=040c multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 04 0c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=040d multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 04 0d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=090a multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 09 0a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=090b multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 09 0b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=090c multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 09 0c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=090d multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 09 0d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=0801 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 08 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=06 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=1): 06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=0a07 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 0a 07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=0a11 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 0a 11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=0a0b multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 0a 0b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=0a1a multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 0a 1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=1101 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 11 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=1102 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 11 02
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=0505 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 05 05
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=0500 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 05 00
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=1301 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 13 01
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=1305 multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=2): 13 05
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x1f4caa0 match=7e506f9a1a multicast=0
nl80211: Register frame command failed (type=208): ret=-95 (Operation not supported)
nl80211: Register frame match - hexdump(len=5): 7e 50 6f 9a 1a
nl80211: Failed to register Action frame processing - ignore for now
rfkill: Cannot open RFKILL control device
nl80211: RFKILL status not available
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio phy0
nl80211: Regulatory information - country=00
nl80211: 2402-2472 @ 40 MHz 20 mBm
nl80211: 2457-2482 @ 20 MHz 20 mBm (no IR)
nl80211: 2474-2494 @ 20 MHz 20 mBm (no OFDM) (no IR)
nl80211: 5170-5250 @ 80 MHz 20 mBm (no IR)
nl80211: 5250-5330 @ 80 MHz 20 mBm (DFS) (no IR)
nl80211: 5490-5730 @ 160 MHz 20 mBm (DFS) (no IR)
nl80211: 5735-5835 @ 80 MHz 20 mBm (no IR)
nl80211: 57240-63720 @ 2160 MHz 0 mBm
nl80211: Added 802.11b mode based on 802.11g information
nl80211: Mode IEEE 802.11g: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[NO_IR]
nl80211: Mode IEEE 802.11b: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467[NO_IR] 2472[NO_IR] 2484[NO_IR]
wlan0: Own MAC address: 00:19:88:5b:20:3c
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0 key_flag=0x10 link_id=-1
nl80211: DEL_KEY
broadcast key
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0 key_flag=0x10 link_id=-1
nl80211: DEL_KEY
broadcast key
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0 key_flag=0x10 link_id=-1
nl80211: DEL_KEY
broadcast key
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0 key_flag=0x10 link_id=-1
nl80211: DEL_KEY
broadcast key
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0 key_flag=0x10 link_id=-1
nl80211: DEL_KEY
broadcast key
nl80211: set_key failed; err=-22 Invalid argument
wpa_driver_nl80211_set_key: ifindex=3 (wlan0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0 key_flag=0x10 link_id=-1
nl80211: DEL_KEY
broadcast key
nl80211: set_key failed; err=-22 Invalid argument
wlan0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlan0: Setting scan request: 0.100000 sec
ENGINE: Loading builtin engines
ENGINE: Loading builtin engines
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
ctrl_interface_group=0
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=11):
6b 6f 6e 70 6c 61 6e 20 48 50 50 konplan HPP
wlan0: Starting AP scan for wildcard SSID (Interleave with specific)
wlan0: Add radio work 'scan'@0x1f8a490
wlan0: First radio work item in the queue - schedule start immediately
random: Got 20/20 bytes from /dev/random
wlan0: Starting radio work 'scan'@0x1f8a490 after 0.001058 second wait
wlan0: nl80211: scan request
nl80211: Scan SSID
nl80211: Scan co-located APs on 6 GHz
nl80211: Scan extra IEs - hexdump(len=13): 7f 0b 00 00 0a 02 00 00 40 00 00 00 20
nl80211: Scan trigger failed: ret=-22 (Invalid argument)
wlan0: State: SCANNING -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: Radio work 'scan'@0x1f8a490 done in 0.002885 seconds
wlan0: radio_work_free('scan'@0x1f8a490): num_active_works --> 0
wlan0: Setting scan request: 1.000000 sec
RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=3 ifname=wlan0 operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP])
EAPOL: disable timer tick
wlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=11):
6b 6f 6e 70 6c 61 6e 20 48 50 50 konplan HPP
wlan0: Starting AP scan for specific SSID: konplan HPP
wlan0: Add radio work 'scan'@0x1f8a650
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x1f8a650 after 0.000461 second wait
wlan0: nl80211: scan request
nl80211: Scan SSID konplan HPP
nl80211: Scan co-located APs on 6 GHz
nl80211: Scan extra IEs - hexdump(len=13): 7f 0b 00 00 0a 02 00 00 40 00 00 00 20
nl80211: Scan trigger failed: ret=-22 (Invalid argument)
wlan0: State: SCANNING -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: Radio work 'scan'@0x1f8a650 done in 0.002881 seconds
wlan0: radio_work_free('scan'@0x1f8a650): num_active_works --> 0
wlan0: Setting scan request: 1.000000 sec
wlan0: State: DISCONNECTED -> SCANNING
wlan0: Starting AP scan for wildcard SSID
wlan0: Add radio work 'scan'@0x1f8a838
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x1f8a838 after 0.000468 second wait
wlan0: nl80211: scan request
nl80211: Scan SSID
nl80211: Scan co-located APs on 6 GHz
nl80211: Scan extra IEs - hexdump(len=13): 7f 0b 00 00 0a 02 00 00 40 00 00 00 20
nl80211: Scan trigger failed: ret=-22 (Invalid argument)
wlan0: State: SCANNING -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: Radio work 'scan'@0x1f8a838 done in 0.002608 seconds
wlan0: radio_work_free('scan'@0x1f8a838): num_active_works --> 0
wlan0: Setting scan request: 1.000000 sec
wlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=11):
6b 6f 6e 70 6c 61 6e 20 48 50 50 konplan HPP
wlan0: Starting AP scan for wildcard SSID (Interleave with specific)
wlan0: Add radio work 'scan'@0x1f8a9d8
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x1f8a9d8 after 0.000460 second wait
wlan0: nl80211: scan request
nl80211: Scan SSID
nl80211: Scan co-located APs on 6 GHz
nl80211: Scan extra IEs - hexdump(len=13): 7f 0b 00 00 0a 02 00 00 40 00 00 00 20
nl80211: Scan trigger failed: ret=-22 (Invalid argument)
wlan0: State: SCANNING -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: Radio work 'scan'@0x1f8a9d8 done in 0.002772 seconds
wlan0: radio_work_free('scan'@0x1f8a9d8): num_active_works --> 0
wlan0: Setting scan request: 1.000000 sec
wlan0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=11):
6b 6f 6e 70 6c 61 6e 20 48 50 50 konplan HPP
wlan0: Starting AP scan for specific SSID: konplan HPP
wlan0: Add radio work 'scan'@0x1f8ab58
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x1f8ab58 after 0.000470 second wait
wlan0: nl80211: scan request
nl80211: Scan SSID konplan HPP
nl80211: Scan co-located APs on 6 GHz
nl80211: Scan extra IEs - hexdump(len=13): 7f 0b 00 00 0a 02 00 00 40 00 00 00 20
nl80211: Scan trigger failed: ret=-22 (Invalid argument)
wlan0: State: SCANNING -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: Radio work 'scan'@0x1f8ab58 done in 0.002673 seconds
wlan0: radio_work_free('scan'@0x1f8ab58): num_active_works --> 0
wlan0: Setting scan request: 1.000000 sec
wlan0: State: DISCONNECTED -> SCANNING
wlan0: Starting AP scan for wildcard SSID
wlan0: Add radio work 'scan'@0x1f8acd8
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x1f8acd8 after 0.000406 second wait
wlan0: nl80211: scan request
nl80211: Scan SSID
nl80211: Scan co-located APs on 6 GHz
nl80211: Scan extra IEs - hexdump(len=13): 7f 0b 00 00 0a 02 00 00 40 00 00 00 20
nl80211: Scan trigger failed: ret=-22 (Invalid argument)
wlan0: State: SCANNING -> DISCONNECTED
nl80211: Set wlan0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
wlan0: CTRL-EVENT-SCAN-FAILED ret=-22 retry=1
wlan0: Radio work 'scan'@0x1f8acd8 done in 0.002759 seconds
wlan0: radio_work_free('scan'@0x1f8acd8): num_active_works --> 0
wlan0: Setting scan request: 1.000000 sec
More information about the Hostap
mailing list