[Bug 270994] Atheros scan failed with wpa_supplicant

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Apr 2023 23:07:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270994

            Bug ID: 270994
           Summary: Atheros scan failed with wpa_supplicant
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: henrichhartzer@tuta.io

Hi!

I'm having issues connecting to WPA wireless networks with wpa_supplicant. I
have a AR93XX device. Running 13.2-RELEASE.

I can do `ifconfig wlan0 scan`, and it scans fine and detects the network.

But I see this "CTRL-EVENT-SCAN-FAILED" error over and over in
/var/log/messages, or if I run `wpa_supplicant -i wlan0 -c
/etc/wpa_supplicant.conf` directly.

Successfully initialized wpa_supplicant
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1

It was able to connect at one point, when I ran wpa_supplicant directly. It
worked very well and was very stable. I have other wifi devices on this network
and don't suspect it's an issue with the network.

Would appreciate any ideas or let me know if I should share anything else.

I couldn't find a matching bug report, but maybe there is one.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.