Atheros AR5BXB63 Mini-PCIe network card TypeError

I recently purchased a Qualcomm Atheros AR5BXB63 Mini-PCIe network card for use in an Openwrt system. I understand this is pretty cheap hardware, but my use case is basic- to run an AP for use only in the case that a member of my family wishes to bypass AdguardHome DNS filtering. I purchased this one because it was cheap, and appeared to be able to operate in Master mode using available drivers for Linux.

However, although the card appears in the list of devices when the lspci command is used in terminal, and I installed the relevant kmod, when I try to do anything with the controller in the Wireless menu in Luci, I get the following message and cannot configure an AP

TypeError
Cannot read properties of undefined (reading 'value')

what does dmesg say ?

[    3.967055] pps_core: LinuxPPS API ver. 1 registered
[    3.972109] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.980227] tsc: Refined TSC clocksource calibration: 2195.881 MHz
[    3.987566] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fa6ffc1640, max_idle_ns: 440795239502 ns
[    3.997797] clocksource: Switched to clocksource tsc
[    4.004350] PTP clock support registered
[    4.011910] Button Hotplug driver version 0.4.1
[    4.019778] igb: Intel(R) Gigabit Ethernet Network Driver
[    4.025336] igb: Copyright (c) 2007-2014 Intel Corporation.
[    4.033448] usbcore: registered new interface driver uas
[    4.038992] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.056861] init: - preinit -
[    4.122456] random: jshn: uninitialized urandom read (4 bytes read)
[    4.140236] usb 1-1.3: new high-speed USB device number 3 using ehci-pci
[    4.151398] random: jshn: uninitialized urandom read (4 bytes read)
[    4.162340] random: jshn: uninitialized urandom read (4 bytes read)
[    4.293039] scsi host2: uas
[    4.297195] scsi 2:0:0:0: Direct-Access     ADATA    SD700            9301 PQ: 0 ANSI: 6
[    4.309309] sd 2:0:0:0: [sdb] 1000215216 512-byte logical blocks: (512 GB/477 GiB)
[    4.317006] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[    4.322894] sd 2:0:0:0: [sdb] Write Protect is off
[    4.327769] sd 2:0:0:0: [sdb] Mode Sense: 5f 00 00 08
[    4.328947] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.338771] sd 2:0:0:0: [sdb] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[    4.359194]  sdb: sdb1
[    4.365297] sd 2:0:0:0: [sdb] Attached SCSI disk
[    4.390289] usb 1-1.4: new full-speed USB device number 4 using ehci-pci
[    8.258507] mount_root: mounting /dev/root
[    8.263344] EXT4-fs (sda2): warning: mounting unchecked fs, running e2fsck is recommended
[    8.272976] EXT4-fs (sda2): re-mounted. Opts: (null)
[    8.278299] mount_root: loading kmods from internal overlay
[    8.299566] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    8.308047] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    8.398158] block: attempting to load /etc/config/fstab
[    8.404003] block: extroot: not configured
[    8.457931] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[    8.468425] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[    8.480391] urandom-seed: Seeding with /etc/urandom.seed
[    8.492840] procd: - early -
[    9.035600] procd: - ubus -
[    9.035982] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: 
[    9.041732] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.053483] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.088253] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.095811] procd: - init -
[    9.174600] urngd: v1.0.2 started.
[    9.196267] random: crng init done
[    9.199725] random: 29 urandom warning(s) missed due to ratelimiting
[    9.233076] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.285032] e1000: Intel(R) PRO/1000 Network Driver
[    9.289967] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    9.299364] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver
[    9.305587] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    9.322780] i2c /dev entries driver
[    9.327310] GACT probability on
[    9.330848] Mirror/redirect action on
[    9.336539] u32 classifier
[    9.339298]     input device check on
[    9.343010]     Actions configured
[    9.356700] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[    9.364347] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[    9.373232] e1000e: Intel(R) PRO/1000 Network Driver
[    9.378250] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    9.384530] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to simplified (2000-8000 ints) mode
[    9.394486] e1000e 0000:01:00.0: Interrupt Mode set to 1
[    9.575974] e1000e 0000:01:00.0 eth0: (PCI Express:2.5GT/s:Width x4) 00:1b:78:5d:1b:66
[    9.584014] e1000e 0000:01:00.0 eth0: Intel(R) PRO/1000 Network Connection
[    9.591070] e1000e 0000:01:00.0 eth0: MAC: 0, PHY: 4, PBA No: D51930-003
[    9.598171] e1000e 0000:01:00.1: Interrupt Throttling Rate (ints/sec) set to simplified (2000-8000 ints) mode
[    9.785972] e1000e 0000:01:00.1 eth1: (PCI Express:2.5GT/s:Width x4) 00:1b:78:5d:1b:67
[    9.794055] e1000e 0000:01:00.1 eth1: Intel(R) PRO/1000 Network Connection
[    9.801115] e1000e 0000:01:00.1 eth1: MAC: 0, PHY: 4, PBA No: D51930-003
[    9.810392] Intel(R) 2.5G Ethernet Linux Driver
[    9.815005] Copyright(c) 2018 Intel Corporation.
[    9.871909] r8169 0000:02:00.0 eth2: RTL8168g/8111g, 4c:52:62:12:0a:a6, XID 4c0, IRQ 36
[    9.880054] r8169 0000:02:00.0 eth2: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    9.890476] usbcore: registered new interface driver ums-alauda
[    9.897115] usbcore: registered new interface driver ums-cypress
[    9.903739] usbcore: registered new interface driver ums-datafab
[    9.910143] usbcore: registered new interface driver ums-freecom
[    9.916639] usbcore: registered new interface driver ums-isd200
[    9.922987] usbcore: registered new interface driver ums-jumpshot
[    9.929471] usbcore: registered new interface driver ums-karma
[    9.935769] usbcore: registered new interface driver ums-sddr09
[    9.942055] usbcore: registered new interface driver ums-sddr55
[    9.948323] usbcore: registered new interface driver ums-usbat
[    9.955296] usblp 1-1.4:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x413C pid 0x5225
[    9.965411] usbcore: registered new interface driver usblp
[    9.977316] xt_time: kernel timezone is -0000
[   10.009860] PPP generic driver version 2.4.2
[   10.014770] NET: Registered protocol family 24
[   10.021483] ath5k 0000:03:00.0: registered as 'phy0'
[   10.531739] ath: EEPROM regdomain: 0x65
[   10.531748] ath: EEPROM indicates we should expect a direct regpair map
[   10.531755] ath: Country alpha2 being used: 00
[   10.531757] ath: Regpair used: 0x65
[   10.531824] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.532980] ath5k: phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[   10.544505] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.571010] 8021q: adding VLAN 0 to HW filter on device eth0
[   12.577119] br-lan: port 1(eth0) entered blocking state
[   12.582486] br-lan: port 1(eth0) entered disabled state
[   12.880961] 8021q: adding VLAN 0 to HW filter on device eth1
[   12.886980] br-lan: port 2(eth1) entered blocking state
[   12.892305] br-lan: port 2(eth1) entered disabled state
[   12.897962] device eth1 entered promiscuous mode
[   12.902726] device eth0 entered promiscuous mode
[   12.950233] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-0-200:00, irq=IGNORE)
[   13.230429] r8169 0000:02:00.0 eth2: Link is Down
[   13.235234] br-wan: port 1(eth2) entered blocking state
[   13.240557] br-wan: port 1(eth2) entered disabled state
[   13.258418] device eth2 entered promiscuous mode
[   13.266067] br-wan: port 1(eth2) entered blocking state
[   13.271432] br-wan: port 1(eth2) entered forwarding state
[   13.330550] br-wan: port 1(eth2) entered disabled state
[   13.489758] ath: EEPROM regdomain: 0x8174
[   13.493907] ath: EEPROM indicates we should expect a country code
[   13.501058] ath: doing EEPROM country->regdmn map search
[   13.506427] ath: country maps to regdmn code: 0x37
[   13.511306] ath: Country alpha2 being used: IE
[   13.515810] ath: Regpair used: 0x37
[   13.519360] ath: regdomain 0x8174 dynamically updated by user
[   14.481200] device eth2 left promiscuous mode
[   14.485662] br-wan: port 1(eth2) entered disabled state
[   14.671232] e1000e 0000:01:00.1 eth1: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   14.690259] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-0-200:00, irq=IGNORE)
[   14.970495] r8169 0000:02:00.0 eth2: Link is Down
[   14.970600] br-lan: port 2(eth1) entered blocking state
[   14.980590] br-lan: port 2(eth1) entered forwarding state
[   14.988456] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   14.995297] br-wan: port 1(eth2) entered blocking state
[   15.000657] br-wan: port 1(eth2) entered disabled state
[   15.006212] device eth2 entered promiscuous mode
[   15.011106] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.3: link becomes ready
[   15.017902] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.9: link becomes ready
[   15.024929] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.33: link becomes ready
[   15.031868] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.99: link becomes ready
[   15.281283] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   15.290713] br-lan: port 1(eth0) entered blocking state
[   15.296031] br-lan: port 1(eth0) entered forwarding state
[   17.519137] r8169 0000:02:00.0 eth2: Link is Up - 1Gbps/Full - flow control off
[   17.526620] br-wan: port 1(eth2) entered blocking state
[   17.531930] br-wan: port 1(eth2) entered forwarding state
[   17.537673] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready
[   17.544641] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan.10: link becomes ready
root@FutroS920:~# 


if there a /etc/config/wireless file created ?

root@FutroS920:/etc/config# cat wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option path 'pci0000:00/0000:00:02.5/0000:03:00.0'
	option cell_density '0'
	option country 'IE'
	option disabled '1'

root@FutroS920:/etc/config# 

what @mk24 suggested below + remove the disabled option.

The "Type Error" is a LUCI thing and it may work if you configure via CLI. Make sure you have installed the userspace wifi support which I think is covered by wpad-wolfssl, iw, and iwinfo (all of which have several dependencies). None of these are in a release x86 build since the typical x86 deployment is wired-only.

HT doesn't apply to a b/g card. The ath5k card that I'm running built out this way:

config wifi-device 'radio0'
        option type 'mac80211'
        option country (--use your country--)
        option path (--keep probed value--)
        option channel '6' (use your country's channel plan)
        option band '2g'
        option legacy_rates '0'
        option htmode 'NOHT'
1 Like