[Bug 272732] hostapd error with rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Jul 2023 10:33:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272732

            Bug ID: 272732
           Summary: hostapd error with rtwn0: MAC/BB RTL8192EU, RF 6052
                    2T2R
           Product: Base System
           Version: 13.2-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: hlh@restart.be

uname -a
FreeBSD norquay.restart.bel 13.2-STABLE FreeBSD 13.2-STABLE #0
stable/13-n255878-7938d643d227: Tue Jul 25 04:11:57 CEST 2023    
root@norquay.restart.bel:/usr/obj/usr/src/arm64.aarch64/sys/ROCKPRO64 arm64

ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 50:3e:aa:7a:f5:19
        inet 192.168.20.1 netmask 0xffffff00 broadcast 192.168.20.255
        groups: wlan
        ssid norquay channel 6 (2437 MHz 11g ht/20) bssid 50:3e:aa:7a:f5:19
        regdomain FCC country US authmode OPEN privacy OFF txpower 30
        scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 16 shortgi
        -stbc -ldpc -uapsd wme dtimperiod 1 -dfs
        parent interface: rtwn0
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap>
        status: running
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

Starting hostapd.
ioctl[SIOCS80211, op=17, val=1, arg_len=0]: Network is down
Could not set PrivacyInvoked for interface wlan0
ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Network is down
wlan0: Could not connect to kernel driver
ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Network is down
ioctl[SIOCS80211, op=17, val=0, arg_len=0]: Network is down
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Network is down
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Network is down
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Network is down
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Network is down
ioctl[SIOCS80211, op=17, val=0, arg_len=0]: Network is down
ioctl[SIOCS80211, op=95, val=208, arg_len=0]: Network is down
ioctl[SIOCS80211, op=7, val=4, arg_len=0]: Network is down
Interface initialization failed
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED 
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Network is down
wlan0: Could not connect to kernel driver
ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Network is down
ioctl[SIOCS80211, op=17, val=0, arg_len=0]: Network is down
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Network is down
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Network is down
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Network is down
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Network is down
wlan0: AP-DISABLED 
wlan0: CTRL-EVENT-TERMINATING 
hostapd_free_hapd_data: Interface wlan0 wasn't started
/etc/rc.d/hostapd: WARNING: failed to start hostapd

copying hostapd from a previous version: stable/13-n254933-298d6896b0ac

solve the problem:

service hostapd restart
hostapd not running? (check /var/run/hostapd.pid).
Starting hostapd.
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED 

I check the git repository and I can't find update to usr.sbin/wpa since
stable/13-n254933-298d6896b0ac

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