I'm using AR9462 in FreeBSD 12.2-RELEASE-p7. It was correctly recognized by dmesg, and connected to Internet properly (although "ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping" displaying frequently). But bsdconfig will show as "unknown network interface type" and could not scan any Wi-Fi and select any mode in "network options". What's more, it was correctly recognized in bsd installer and bsdconfig in the first few times after installing. And Wi-Fis was scanned successfully. I didn't touch anything except bsdconfig and updated to p6 after that! (p7 will not solve as well)
Similar issue here, with my ar938x on FreeBSD 13 release, I can’t associate to a carrier but I can scan and everything else works fine, a temporary fix that worked for me was to do `ifconfig wlan0 down`, wait 10 seconds, `ifconfig wlan0 up`, wait another 10 seconds then you will be connected.
(In reply to tduck973564 from comment #1) Talked to a bsdconfig dev, wlan0 not being recognised in it is a different issue and he said that he will get onto it.
Found a much more permanent fix: `sudo sh -c "echo 'ifconfig wlan0 down && ifconfig wlan0 up' >> /etc/rc.local"`
This problem is still not solved in 12.3. In brand-new installing of 12.3 it is unable to scan my 802.11n only Wi-Fi but the others, after retrying a few times, no Wi-Fi could be found.
I'm not proposing a fix here. But would like to suggest that those of you experiencing this problem add the output of the following 2 commands to this pr(1). pciconf -lv (just post the relevant portion) kldstat That should help anyone with a suggestion/solution to better address this for you. :-)
The pciconf output is here: ath0@pci0:2:0:0: class=0x028000 card=0x020a1028 chip=0x0034168c rev=0x01 hdr=0x00 vendor = ‘Qualcomm Atheros’ device = ‘AR9462 Wireless Network Adapter’ class = network If there is any other information needed, I’d like to provide as well.
I reinstalled, this time, it can recognize my Wi-Fi, that’s weird.
I just saw this: ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping ath0: ath_edma_recv_tasklet: sc_inreset_cnt > 0; skipping # pciconf -lv ath0 ath0@pci0:1:0:0: class=0x028000 rev=0x01 hdr=0x00 vendor=0x168c device=0x0034 subvendor=0x11ad subdevice=0x6621 vendor = 'Qualcomm Atheros' device = 'AR9462 Wireless Network Adapter' class = network Adding myself here in case I'll get a chance to look into it.
pciconf -lv: ath0@pci0:1:0:0: class=0x028000 rev=0x01 hdr=0x00 vendor=0x168c device=0x0034 subvendor=0x1a3b subdevice=0x2234 vendor = 'Qualcomm Atheros' device = 'AR9462 Wireless Network Adapter' class = network kldstat: Id Refs Address Size Name 1 174 0xffffffff80200000 1f30590 kernel 2 1 0xffffffff82131000 6cf8 uplcom.ko 3 2 0xffffffff82138000 a7a8 ucom.ko 4 1 0xffffffff82143000 3618 if_ath.ko 5 2 0xffffffff82147000 2e40 ath_dfs.ko 6 2 0xffffffff8214a000 64c0 ath_rate.ko 7 2 0xffffffff82151000 70150 ath_hal_ar9300.ko 8 2 0xffffffff821c2000 40e98 ath_hal_ar5416.ko 9 3 0xffffffff82203000 2d448 ath_hal_ar5212.ko 10 2 0xffffffff82231000 12050 ath_hal_ar5211.ko 11 2 0xffffffff82244000 d080 ath_hal_ar5210.ko 12 1 0xffffffff82252000 1ae68 geom_eli.ko 13 1 0xffffffff8226d000 9430 acpi_video.ko 14 1 0xffffffff82277000 a320 ng_ubt.ko 15 3 0xffffffff82282000 12e90 ng_hci.ko 16 5 0xffffffff82295000 4250 ng_bluetooth.ko 17 7 0xffffffff8229a000 16d68 netgraph.ko 18 1 0xffffffff82918000 3530 fdescfs.ko 19 1 0xffffffff8291c000 639c linprocfs.ko 20 4 0xffffffff82923000 10ab0 linux_common.ko 21 1 0xffffffff82934000 3284 linsysfs.ko 22 1 0xffffffff82938000 158438 i915kms.ko 23 1 0xffffffff82a91000 7f020 drm.ko 24 2 0xffffffff82b11000 cbc8 linuxkpi_gplv2.ko 25 1 0xffffffff82b1e000 11cd8 fusefs.ko 26 1 0xffffffff82b30000 21e8 acpi_dock.ko 27 1 0xffffffff82b33000 3378 acpi_wmi.ko 28 1 0xffffffff82b37000 3250 ichsmb.ko 29 1 0xffffffff82b3b000 2180 smbus.ko 30 1 0xffffffff82b3e000 5e7c ig4.ko 31 2 0xffffffff82b44000 433c iicbus.ko 32 1 0xffffffff82b49000 2110 pchtherm.ko 33 1 0xffffffff82b4c000 e000 if_rtwn_usb.ko 34 1 0xffffffff82b5a000 19130 rtwn.ko 35 1 0xffffffff82b74000 e250 ng_l2cap.ko 36 1 0xffffffff82b83000 1bee8 ng_btsocket.ko 37 1 0xffffffff82b9f000 39c0 ng_socket.ko 38 1 0xffffffff82ba3000 2340 uhid.ko 39 1 0xffffffff82ba6000 3380 usbhid.ko 40 6 0xffffffff82baa000 31f8 hidbus.ko 41 1 0xffffffff82bae000 3320 wmt.ko 42 1 0xffffffff82bb2000 3240 iichid.ko 43 1 0xffffffff82bb6000 21e8 hms.ko 44 1 0xffffffff82bb9000 30a8 hidmap.ko 45 1 0xffffffff82bbd000 3328 hmt.ko 46 1 0xffffffff82bc1000 22b0 hconf.ko 47 1 0xffffffff82bc4000 38070 linux.ko 48 1 0xffffffff82bfd000 32208 linux64.ko 49 1 0xffffffff82c30000 2260 pty.ko 50 1 0xffffffff82c33000 5af8 autofs.ko 51 1 0xffffffff82c39000 2a08 mac_ntpd.ko
The down and up trick works (thank you!), but it only sees and connects to 2GHz networks despite the card supporting 5GHz as well. I tried adding "mode 11a" to force it to work on 5GHz but it failed.