[Bug 276489] Cannot connect to a certain wifi hotspot

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Jan 2024 09:09:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276489

            Bug ID: 276489
           Summary: Cannot connect to a certain wifi hotspot
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: laiti@iki.fi

I cannot connect to one of my wifi hotspots if I am using the built-in wifi in
my NUC machine. The hotspot is Ubiquiti U6-PRO with Ubiquiti Edgerouter X doing
the DHCP and other networking stuff.

The interesting part is that the wifi works if I run Linux on the same system
or use some random el cheapo USB wifi adapter. Another interesting thing is
that the other two wifi APs I have work fine.

Log:
Jan 18 16:58:02 lucasia wpa_supplicant[8459]: wlan0: Trying to associate with
00:11:22:33:44:55 (SSID='MYWIFI' freq=2437 MHz)
Jan 18 16:58:12 lucasia wpa_supplicant[8459]: wlan0: Authentication with
00:11:22:33:44:55 timed out.
Jan 18 16:58:12 lucasia wpa_supplicant[8459]: BSSID 00:11:22:33:44:55 ignore
list count incremented to 4, ignoring for 120 seconds
Jan 18 16:58:12 lucasia wpa_supplicant[8459]: wlan0: CTRL-EVENT-DISCONNECTED
bssid=00:11:22:33:44:55 reason=3 locally_generated=1
Jan 18 16:58:12 lucasia wpa_supplicant[8459]: BSSID 00:11:22:33:44:55 ignore
list count incremented to 5, ignoring for 600 seconds
Jan 18 16:58:12 lucasia wpa_supplicant[8459]: wlan0: CTRL-EVENT-DSCP-POLICY
clear_all
Jan 18 16:58:13 lucasia wpa_supplicant[8459]: wlan0: Trying to associate with
00:11:22:33:44:55 (SSID='MYWIFI' freq=2437 MHz)
Jan 18 16:58:18 lucasia wpa_supplicant[8459]: wlan0: CTRL-EVENT-DISCONNECTED
bssid=00:11:22:33:44:55 reason=3 locally_generated=1

Another log:
2024-01-18 17... Trying to associate with 00:11:22:33:44:55 (SSID='MYWIFI'
freq=2437 MHz)
2024-01-18 17:... Authentication with 00:11:22:33:44:55 timed out.
2024-01-18 17:... CTRL-EVENT-DISCONNECTED bssid=00:11:22:33:44:55 reason=3
locally_generated=1
2024-01-18 17:... CTRL-EVENT-DSCP-POLICY clear_all
2024-01-18 17:... CTRL-EVENT-BSS-ADDED 88 00:11:22:33:44:57
2024-01-18 17:...CTRL-EVENT-BSS-ADDED 89 00:11:22:33:44:58
2024-01-18 17:... CTRL-EVENT-BSS-ADDED 90 00:11:22:33:44:59 
2024-01-18 17... CTRL-EVENT-BSS-ADDED 91 00:11:22:33:44:60
2024-01-18 17:... CTRL-EVENT-SCAN-RESULTS
2024-01-18 17:... WPS-AP-AVAILABLE


Wifi info with successful connection with USB wifi:

# usbconfig|grep Ralink
ugen0.5: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (450mA)

wlan1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=0
        ether 00:11:22:33:44:56
        inet 192.168.0.4 netmask 0xffffffc0 broadcast 192.168.0.255
        groups: wlan
        ssid MYWIFI channel 6 (2437 MHz 11g ht/20) bssid 00:11:22:33:44:55
        regdomain FCC4 country FI authmode WPA2/802.11i privacy ON
        deftxkey UNDEF AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 60
        protmode CTS ht20 ampdulimit 64k -stbc -ldpc -uapsd wme roaming MANUAL
        parent interface: run0
        media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
        status: associated
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

# kldstat |grep iw
17    1 0xffffffff83566000    93260 if_iwlwifi.ko
18    1 0xffffffff835fa000    17314 if_iwm.ko
20    1 0xffffffff83800000   207d80 iwm8000Cfw.ko

# pciconf -lv |grep -A1 -B2 Wireless
iwm0@pci0:1:0:0:        class=0x028000 rev=0x3a hdr=0x00 vendor=0x8086
device=0x24f3 subvendor=0x8086 subdevice=0x9010
    vendor     = 'Intel Corporation'
    device     = 'Wireless 8260'
    class      = network

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