I am stuck and have no clue what else to check. I have installed:
# apk add kmod-ath9k kmod-ath9k-common kmod-ath kmod-cfg80211 kmod-mac80211
and restarted, still no wireless.
Wireless card exist (why wrong ID on PCIe bridge?):
# lspci -vmmnn
Slot: 00:01.0
Class: PCI bridge [0604]
Vendor: MediaTek Inc. (Wrong ID) [0e8d]
Device: MT7621 PCIe Bridge [0801]
Rev: 01
ProgIf: 00
DTNode: /sys/firmware/devicetree/base/pcie@1e140000/pcie@1,0
Slot: 01:00.0
Class: Network controller [0280]
Vendor: Qualcomm Atheros [168c]
Device: QCA9565 / AR9565 Wireless Network Adapter [0036]
SVendor: Lite-On Communications Inc [11ad]
SDevice: Device [0642]
Rev: 01
ProgIf: 00
# lspci -nn
00:01.0 PCI bridge [0604]: MediaTek Inc. (Wrong ID) MT7621 PCIe Bridge [0e8d:0801] (rev 01)
01:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
There is an error in MediaTek MT621 PCIe Bridge, no clue on how relevant it is. I also see no driver in use for Qualcomm Atheros wireless adapter:
# lspci -nnk
00:01.0 PCI bridge [0604]: MediaTek Inc. (Wrong ID) MT7621 PCIe Bridge [0e8d:0801] (rev 01)
lspci: Unable to load libkmod resources: error -2
01:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
Subsystem: Lite-On Communications Inc Device [11ad:0642]
More lspci info, using strace:
# strace -e file lspci -vvv | grep ENOENT
execve("/usr/bin/lspci", ["lspci", "-vvv"], 0x7f75364c /* 14 vars */) = 0
open("/etc/ld-musl-mipsel-sf.path", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libpci.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libpci.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpci.so.3", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=45954, ...}) = 0
open("/lib/libkmod.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libkmod.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libkmod.so.2", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0755, stx_size=62299, ...}) = 0
open("/lib/libgcc_s.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=131359, ...}) = 0
open("/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
statx(3, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0644, stx_size=57630, ...}) = 0
access("/sys/bus/pci", R_OK) = 0
open("/sys/bus/pci/devices", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 3
open("/sys/bus/pci/devices/0000:01:00.0/config", O_RDONLY|O_LARGEFILE) = 3
open("/sys/bus/pci/devices/0000:01:00.0/vendor", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:01:00.0/device", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:01:00.0/class", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:01:00.0/revision", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:01:00.0/subsystem_vendor", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:01:00.0/subsystem_device", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:00:01.0/config", O_RDONLY|O_LARGEFILE) = 3
open("/sys/bus/pci/devices/0000:00:01.0/vendor", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:00:01.0/device", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:00:01.0/class", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:00:01.0/revision", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:00:01.0/subsystem_vendor", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:00:01.0/subsystem_device", O_RDONLY|O_LARGEFILE) = 4
open("/usr/share/hwdata/pci.ids", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:00:01.0/label", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:00:01.0/irq", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:00:01.0/resource", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/slots", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 4
open("/sys/bus/pci/devices/0000:00:01.0/numa_node", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
readlink("/sys/bus/pci/devices/0000:00:01.0/iommu_group", 0x7fef641c, 1024) = -1 ENOENT (No such file or directory)
readlink("/sys/bus/pci/devices/0000:00:01.0/of_node", "../../../../../firmware/devicetr"..., 1024) = 62
readlink("/sys", 0x7fef53c0, 4004) = -1 EINVAL (Invalid argument)
readlink("/sys/bus", 0x7fef53c0, 4008) = -1 EINVAL (Invalid argument)
readlink("/sys/bus/pci", 0x7fef53c0, 4012) = -1 EINVAL (Invalid argument)
readlink("/sys/bus/pci/devices", 0x7fef53c0, 4020) = -1 EINVAL (Invalid argument)
readlink("/sys/bus/pci/devices/0000:00:01.0", "../../../devices/platform/1e1400"..., 4033) = 63
readlink("/sys/bus/pci/devices/..", 0x7fef53c0, 3972) = -1 EINVAL (Invalid argument)
readlink("/sys/devices", 0x7fef53c0, 3986) = -1 EINVAL (Invalid argument)
readlink("/sys/devices/platform", 0x7fef53c0, 3995) = -1 EINVAL (Invalid argument)
readlink("/sys/devices/platform/1e140000.pcie", 0x7fef53c0, 4009) = -1 EINVAL (Invalid argument)
readlink("/sys/devices/platform/1e140000.pcie/pci0000:00", 0x7fef53c0, 4020) = -1 EINVAL (Invalid argument)
readlink("/sys/devices/platform/1e140000.pcie/pci0000:00/0000:00:01.0", 0x7fef53c0, 4033) = -1 EINVAL (Invalid argument)
readlink("/sys/devices/platform/1e140000.pcie/pci0000:00/0000:00:01.0/..", 0x7fef53c0, 4036) = -1 EINVAL (Invalid argument)
readlink("/sys/firmware", 0x7fef53c0, 4057) = -1 EINVAL (Invalid argument)
readlink("/sys/firmware/devicetree", 0x7fef53c0, 4068) = -1 EINVAL (Invalid argument)
readlink("/sys/firmware/devicetree/base", 0x7fef53c0, 4073) = -1 EINVAL (Invalid argument)
readlink("/sys/firmware/devicetree/base/pcie@1e140000", 0x7fef53c0, 4087) = -1 EINVAL (Invalid argument)
readlink("/sys/firmware/devicetree/base/pcie@1e140000/pcie@1,0", 0x7fef53c0, 4096) = -1 EINVAL (Invalid argument)
open("/sys/bus/pci/devices/0000:00:01.0/rcd_link_cap", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:00:01.0/rcd_link_ctrl", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:00:01.0/rcd_link_status", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
readlink("/sys/bus/pci/devices/0000:00:01.0/driver", 0x7fef63f4, 1024) = -1 ENOENT (No such file or directory)
open("/sys/module/compression", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/etc/modprobe.d", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0x7fef5600) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/run/modprobe.d", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0x7fef5600) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/local/lib/modprobe.d", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0x7fef5600) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/usr/lib/modprobe.d", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0x7fef5600) = -1 ENOENT (No such file or directory)
statx(AT_FDCWD, "/lib/modprobe.d", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, 0x7fef5600) = -1 ENOENT (No such file or directory)
open("/lib/modules/6.12.94/modules.softdep", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/proc/cmdline", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 4
open("/lib/modules/6.12.94/modules.dep.bin", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
lspci: Unable to load libkmod resources: error -2
open("/etc/passwd", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 4
open("/root/.cache/pci-ids", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:01:00.0/label", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:01:00.0/irq", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:01:00.0/resource", O_RDONLY|O_LARGEFILE) = 4
open("/sys/bus/pci/devices/0000:01:00.0/numa_node", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
readlink("/sys/bus/pci/devices/0000:01:00.0/iommu_group", 0x7fef641c, 1024) = -1 ENOENT (No such file or directory)
readlink("/sys/bus/pci/devices/0000:01:00.0/of_node", 0x7fef641c, 1024) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:01:00.0/rcd_link_cap", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:01:00.0/rcd_link_ctrl", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:01:00.0/rcd_link_status", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/sys/bus/pci/devices/0000:01:00.0/config", O_RDONLY|O_LARGEFILE) = 3
readlink("/sys/bus/pci/devices/0000:01:00.0/driver", 0x7fef63f4, 1024) = -1 ENOENT (No such file or directory)
+++ exited with 0 +++
Device doesn't pop up:
# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc mq state UP qlen 1000
link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff
3: wan: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 11:22:33:44:55:66 brd ff:ff:ff:ff:ff:ff
4: lan1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 22:33:44:55:66:77 brd ff:ff:ff:ff:ff:ff
5: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN qlen 1000
link/ether 22:33:44:55:66:77 brd ff:ff:ff:ff:ff:ff
6: wwan0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN qlen 1000
link/ether 33:44:55:66:77:88 brd ff:ff:ff:ff:ff:ff
7: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 22:33:44:55:66:77 brd ff:ff:ff:ff:ff:ff
# ls -l /sys/class/net/
lrwxrwxrwx 1 root root 0 Aug 18 18:29 br-lan -> ../../devices/virtual/net/br-lan
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/1e100000.ethernet/net/eth0
lrwxrwxrwx 1 root root 0 Jan 1 1970 lan1 -> ../../devices/platform/1e100000.ethernet/mdio_bus/mdio-bus/mdio-bus:1f/net/lan1
lrwxrwxrwx 1 root root 0 Jan 1 1970 lan2 -> ../../devices/platform/1e100000.ethernet/mdio_bus/mdio-bus/mdio-bus:1f/net/lan2
lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Jan 1 1970 wan -> ../../devices/platform/1e100000.ethernet/net/wan
lrwxrwxrwx 1 root root 0 Aug 18 18:29 wwan0 -> ../../devices/platform/1e1c0000.xhci/usb1/1-2/1-2:2.0/net/wwan0
Cannot configure wireless:
# uci show wireless
# wifi config
Relevant modules seem to be loaded:
# lsmod
ath 24576 3 ath9k,ath9k_common,ath9k_hw
ath9k 106496 0
ath9k_common 24576 1 ath9k
ath9k_hw 352256 2 ath9k,ath9k_common
ath9k_pci_owl_loader 12288 0
authenc 12288 2 crypto_hw_eip93,authencesn
authencesn 12288 0
cdc_ether 12288 1 cdc_ncm
cdc_mbim 12288 0
cdc_ncm 20480 1 cdc_mbim
cdc_wdm 16384 3 cdc_mbim,qmi_wwan
cfg80211 344064 4 ath9k,ath9k_common,ath,mac80211
cmac 12288 0
compat 12288 5 ath9k,ath9k_common,mac80211,cfg80211,ath9k_pci_owl_loader
cqhci 20480 1 mtk_sd
crc_ccitt 12288 1 ppp_async
crc32c_generic 12288 3
crypto_hw_eip93 40960 0
des_generic 12288 0
drbg 24576 0
ext4 491520 1
fuse 114688 0
geniv 12288 1 seqiv
gpio_button_hotplug 12288 0
hmac 12288 0
jbd2 69632 1 ext4
jitterentropy_rng 16384 0
leds_gpio 12288 0
libcrc32c 12288 1 nf_tables
libdes 24576 2 crypto_hw_eip93,des_generic
mac80211 679936 1 ath9k
mbcache 12288 1 ext4
md5 12288 0
mii 16384 1 usbnet
mmc_block 36864 1
mmc_core 102400 4 mtk_sd,mmc_block,cqhci,mmc_hsq
mmc_hsq 12288 1 mtk_sd
mtk_sd 36864 0
nf_conntrack 90112 7 nft_redir,nft_nat,nft_masq,nft_flow_offload,nft_ct,nf_nat,nf_flow_table
nf_defrag_ipv4 12288 1 nf_conntrack
nf_defrag_ipv6 16384 1 nf_conntrack
nf_flow_table 32768 2 nf_flow_table_inet,nft_flow_offload
nf_flow_table_inet 12288 0
nf_log_syslog 20480 0
nf_nat 36864 4 nft_redir,nft_nat,nft_masq,nft_chain_nat
nf_reject_ipv4 12288 2 nft_reject_ipv4,nft_reject_inet
nf_reject_ipv6 16384 2 nft_reject_ipv6,nft_reject_inet
nf_tables 212992207 nft_fib_inet,nf_flow_table_inet,nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet,nft_reject,nft_redir,nft_quota,nft_numgen,nft_nat,nft_masq,nft_log,nft_limit,nft_hash,nft_flow_offload,nft_fib_ipv6,nft_fib_ipv4,nft_fib,nft_ct,nft_chain_nat
nfnetlink 16384 1 nf_tables
nft_chain_nat 12288 2
nft_ct 20480 4
nft_fib 12288 3 nft_fib_inet,nft_fib_ipv6,nft_fib_ipv4
nft_fib_inet 12288 0
nft_fib_ipv4 12288 1 nft_fib_inet
nft_fib_ipv6 12288 1 nft_fib_inet
nft_flow_offload 12288 0
nft_hash 12288 0
nft_limit 12288 5
nft_log 12288 0
nft_masq 12288 1
nft_nat 12288 0
nft_numgen 12288 0
nft_quota 12288 0
nft_redir 12288 0
nft_reject 12288 3 nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet
nft_reject_inet 12288 2
nft_reject_ipv4 12288 0
nft_reject_ipv6 12288 0
nls_base 12288 1 usbcore
option 49152 0
ppp_async 16384 0
ppp_generic 36864 3 pppoe,ppp_async,pppox
pppoe 20480 0
pppox 12288 1 pppoe
qcserial 12288 0
qmi_helpers 20480 0
qmi_wwan 24576 0
rng 12288 3 jitterentropy_rng,drbg,geniv
scsi_common 12288 3 usb_storage,sd_mod,scsi_mod
scsi_mod 106496 2 usb_storage,sd_mod
sd_mod 45056 0
seqiv 12288 0
sha1_generic 12288 0
sha256_generic 12288 0
sha3_generic 16384 0
sha512_generic 16384 0
slhc 16384 1 ppp_generic
usb_common 12288 3 xhci_plat_hcd,xhci_hcd,usbcore
usb_storage 49152 0
usb_wwan 12288 2 qcserial,option
usbcore 163840 16 qcserial,option,cdc_mbim,usb_wwan,qmi_wwan,cdc_ncm,cdc_ether,usbserial,usbnet,cdc_wdm,usb_storage,xhci_plat_hcd,xhci_pci,xhci_mtk_hcd,xhci_hcd
usbnet 24576 4 cdc_mbim,qmi_wwan,cdc_ncm,cdc_ether
usbserial 24576 3 qcserial,option,usb_wwan
xhci_hcd 122880 3 xhci_plat_hcd,xhci_pci,xhci_mtk_hcd
xhci_mtk_hcd 20480 0
xhci_pci 16384 0
xhci_plat_hcd 12288 0
Checking modules in /proc:
# cat /proc/modules
ath9k 106496 0 - Live 0x83ec0000 (O)
ath9k_common 24576 1 ath9k, Live 0x83bd8000 (O)
qcserial 12288 0 - Live 0x83ab3000
pppoe 20480 0 - Live 0x83dbc000
ppp_async 16384 0 - Live 0x838d6000
option 49152 0 - Live 0x83aaf000
nft_fib_inet 12288 0 - Live 0x83b29000
nf_flow_table_inet 12288 0 - Live 0x8304a000
cdc_mbim 12288 0 - Live 0x82d42000
ath9k_hw 352256 2 ath9k,ath9k_common, Live 0x83fc0000 (O)
ath 24576 3 ath9k,ath9k_common,ath9k_hw, Live 0x83f94000 (O)
usb_wwan 12288 2 qcserial,option, Live 0x83ce3000
qmi_wwan 24576 0 - Live 0x83b540
pppox 12288 1 pppoe, Live 0x83ce9000
ppp_generic 36864 3 pppoe,ppp_async,pppox, Live 0x83de0000
nft_reject_ipv6 12288 0 - Live 0x83cde000
nft_reject_ipv4 12288 0 - Live 0x83cd8000
nft_reject_inet 12288 2 - Live 0x83f34000
nft_reject 12288 3 nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet, Live 0x83cd5000
nft_redir 12288 0 - Live 0x83f3c000
nft_quota 12288 0 - Live 0x83cd4000
nft_numgen 12288 0 - Live 0x83b38000
nft_nat 12288 0 - Live 0x83a9f000
nft_masq 12288 1 - Live 0x83b45000
nft_log 12288 0 - Live 0x83ab2000
nft_limit 12288 5 - Live 0x83b13000
nft_hash 12288 0 - Live 0x83d3d000
nft_flow_offload 12288 0 - Live 0x83d38000
nft_fib_ipv6 12288 1 nft_fib_inet, Live 0x83d32000
nft_fib_ipv4 12288 1 nft_fib_inet, Live 0x8339c000
nft_fib 12288 3 nft_fib_inet,nft_fib_ipv6,nft_fib_ipv4, Live 0x83878000
nft_ct 20480 4 - Live 0x83d1c000
nft_chain_nat 12288 2 - Live 0x83ccd000
nf_tables 212992 207 nft_fib_inet,nf_flow_table_inet,nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet,nft_reject,nft_redir,nft_quota,nft_numgen,nft_nat,nft_masq,nft_log,nft_limit,nft_hash,nft_flow_offload,nft_fib_ipv6,nft_fib_ipv4,nft_fib,nft_ct,nft_chain_nat, Live 0x83f00000
nf_nat 36864 4 nft_redir,nft_nat,nft_masq,nft_chain_nat, Live 0x83d98000
nf_flow_table 32768 2 nf_flow_table_inet,nft_flow_offload, Live 0x83d90000
nf_conntrack 90112 7 nft_redir,nft_nat,nft_masq,nft_flow_offload,nft_ct,nf_nat,nf_flow_table, Live 0x83d20000
mac80211 679936 1 ath9k, Live 0x83e00000 (O)
cfg80211 344064 4 ath9k,ath9k_common,ath,mac80211, Live 0x83c80000 (O)
cdc_ncm 20480 1 cdc_mbim, Live 0x83c08000
cdc_ether 12288 1 cdc_ncm, Live 0x83bba000
ath9k_pci_owl_loader 12288 0 - Live 0x83b77000 (O)
usbserial 24576 3 qcserial,option,usb_wwan, Live 0x833b4000
usbnet 24576 4 cdc_mbim,qmi_wwan,cdc_ncm,cdc_ether, Live 0x83c04000
slhc 16384 1 ppp_generic, Live 0x83aee000
qmi_helpers 20480 0 - Live 0x83c00000 (O)
nfnetlink 16384 1 nf_tables, Live 0x833aa000
nf_reject_ipv6 16384 2 nft_reject_ipv6,nft_reject_inet, Live 0x83aac000
nf_reject_ipv4 12288 2 nft_reject_ipv4,nft_reject_inet, Live 0x83b91000
nf_log_syslog 20480 0 - Live 0x83bdc000
nf_defrag_ipv6 16384 1 nf_conntrack, Live 0x83bd6000
nf_defrag_ipv4 12288 1 nf_conntrack, Live 0x83b90000
libcrc32c 12288 1 nf_tables, Live 0x83b96000
crc_ccitt 12288 1 ppp_async, Live 0x83ba1000
compat 12288 5 ath9k,ath9k_common,mac80211,cfg80211,ath9k_pci_owl_loader, Live 0x83ba2000 (O)
cdc_wdm 16384 3 cdc_mbim,qmi_wwan, Live 0x83b8a000
fuse 114688 0 - Live 0x83be0000
mii 16384 1 usbnet, Live 0x83b80000
sha512_generic 16384 0 - Live 0x83b5e000
sha256_generic 12288 0 - Live 0x83b6b000
sha1_generic 12288 0 - Live 0x83b66000
seqiv 12288 0 - Live 0x83a4d000
sha3_generic 16384 0 - Live 0x83b2a000
jitterentropy_rng 16384 0 - Live 0x83b1a000
drbg 24576 0 - Live 0x83b1c000
md5 12288 0 - Live 0x82eda000
crypto_hw_eip93 40960 0 - Live 0x83914000
hmac 12288 0 - Live 0x83a88000
geniv 12288 1 seqiv, Live 0x838da000
rng 12288 3 jitterentropy_rng,drbg,geniv, Live 0x838ef000
des_generic 12288 0 - Live 0x833c5000
libdes 24576 2 crypto_hw_eip93,des_generic, Live 0x82ff0000
cmac 12288 0 - Live 0x83aa4000
authencesn 12288 0 - Live 0x832a6000
authenc 12288 2 crypto_hw_eip93,authencesn, Live 0x833cc000
mtk_sd 36864 0 - Live 0x83908000
mmc_block 36864 1 - Live 0x83900000
cqhci 20480 1 mtk_sd, Live 0x83334000
usb_storage 49152 0 - Live 0x838f0000
mmc_hsq 12288 1 mtk_sd, Live 0x8301c000
mmc_core 102400 4 mtk_sd,mmc_block,cqhci,mmc_hsq, Live 0x838c0000
sd_mod 45056 0 - Live 0x833f8000
scsi_mod 106496 2 usb_storage,sd_mod, Live 0x838a0000
scsi_common 12288 3 usb_storage,sd_mod,scsi_mod, Live 0x83376000
ext4 491520 1 - Live 0x83800000
mbcache 12288 1 ext4, Live 0x8307c000
jbd2 69632 1 ext4, Live 0x83340000
leds_gpio 12288 0 - Live 0x82f48000
xhci_plat_hcd 12288 0 - Live 0x82f4f000
xhci_pci 16384 0 - Live 0x83040000
xhci_mtk_hcd 20480 0 - Live 0x83000000
xhci_hcd 122880 3 xhci_plat_hcd,xhci_pci,xhci_mtk_hcd, Live 0x83020000
gpio_button_hotplug 12288 0 - Live 0x81ed8000 (O)
usbcore 163840 16 qcserial,option,cdc_mbim,usb_wwan,qmi_wwan,cdc_ncm,cdc_ether,usbserial,usbnet,cdc_wdm,usb_storage,xhci_plat_hcd,xhci_pci,xhci_mtk_hcd,xhci_hcd, Live 0x82fc0000
nls_base 12288 1 usbcore, Live 0x82f1d000
usb_common 12288 3 xhci_plat_hcd,xhci_hcd,usbcore, Live 0x82f18000
crc32c_generic 12288 3 - Live 0x82f11000
Checking PCI drivers:
# ls /sys/bus/pci/drivers/
ath9k ath9k_pci_owl_loader xhci_hcd
Checking device-driver bind:
# lspci -k -s 01:00.0
01:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
Subsystem: Lite-On Communications Inc Device 0642
lspci: Unable to load libkmod resources: error -2
Checking firmware in device tree (why wrong ID on PCIe bridge)?):
# lspci -vmmnn
Slot: 00:01.0
Class: PCI bridge [0604]
Vendor: MediaTek Inc. (Wrong ID) [0e8d]
Device: MT7621 PCIe Bridge [0801]
Rev: 01
ProgIf: 00
DTNode: /sys/firmware/devicetree/base/pcie@1e140000/pcie@1,0
Slot: 01:00.0
Class: Network controller [0280]
Vendor: Qualcomm Atheros [168c]
Device: QCA9565 / AR9565 Wireless Network Adapter [0036]
SVendor: Lite-On Communications Inc [11ad]
SDevice: Device [0642]
Rev: 01
ProgIf: 00