[Bug 255337] ath(4): Atheros AR9462 identified correctly but does not function

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Apr 2023 19:14:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255337

John Nielsen <john@jnielsen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john@jnielsen.net

--- Comment #4 from John Nielsen <john@jnielsen.net> ---
I have this problem as well on a Dell laptop. Same behavior on 12.3, 12.4,
13.1, 13.2, and today's 14-CURRENT. Everything looks okay on boot but "ifconfig
wlan0 list scan" never returns anything and it's unable to join any networks. I
also think the MAC address of wlan0 is odd (another commenter had the same):
00:02:03:04:05:06. I have never gotten the wireless to work under FreeBSD, even
after the ifconfig up/down workaround suggested elsewhere. The laptop does have
an switch to disable the wireless but it is in the enabled position. One other
thing I've noticed is that when booting to Windows the Wifi LED above the
keyboard lights up partway through the boot (when the driver attaches, perhaps)
and stays illuminated, but it never lights up under FreeBSD.

I'd love for someone who knows anything about the wireless subsystem to take a
look. As another commenter offered I could make the machine remotely reachable,
or I'll be happy to drag it to BSDCan next month if anyone who will be there
wants to poke at it.

#pciconf
ath0@pci0:4:0:0:        class=0x028000 rev=0x01 hdr=0x00 vendor=0x168c
device=0x0034 subvendor=0x1028 subdevice=0x020d
    vendor     = 'Qualcomm Atheros'
    device     = 'AR9462 Wireless Network Adapter'
    class      = network

#dmesg
ath0: <Atheros AR946x/AR948x> mem 0xf7000000-0xf707ffff at device 0.0 on pci4
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] LDPC transmit/receive enabled
ath0: [HT] 3 RX streams; 3 TX streams
ath0: AR9460 mac 640.2 RF5110 phy 802.5
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000

#rc.conf
create_args_wlan0="country US regdomain FCC"
wlans_ath0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"

#wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=2
ap_scan=1
fast_reauth=1
network={
  ssid="SSID_redacted"
  psk="PSK_redacted"
}

#ifconfig
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:02:03:04:05:06
        groups: wlan
        ssid "" channel 165 (5825 MHz 11a)
        regdomain FCC country US ecm authmode WPA1+WPA2/802.11i privacy MIXED
        deftxkey UNDEF txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60
        wme burst roaming MANUAL bintval 0
        parent interface: ath0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

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