Recently I compiled firmware for ar9344 device , the board support 2.4g + 5g radios , the Soc ar9344 is working as 5g band radio and use Atheros driver as in the image attached , the radio 2.4g chipset is ar9382 , my question is it normal to have 2 different drivers as in the image for the 2 Atheros chipsets .
thanks
yup, the 11n radio would use a different kmod.
thanks , do you know which kmod for ar9382 , my firmware has ( kmod-ath, kmod-ath9k and kmod-ath9k-common ) .
wait, they're both N radios, or is one AC ?
The both are N radios
Your screenshot does not show any actual driver information. Just how the radio is registered with the driver. The 'generic' bit indicates the PCI ID is not known to the driver as a specific model.
here is lspci -v
root@OpenWrt:~# lspci -v
00:00.0 Ethernet controller: Qualcomm Atheros Device abcd (rev 01)
Device tree node: /sys/firmware/devicetree/base/ahb/pcie-controller@180c0000/wifi@0,0
Flags: bus master, fast devsel, latency 0, IRQ 14
Memory at 10000000 (64-bit, non-prefetchable) [size=128K]
Expansion ROM at 10020000 [virtual] [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [300] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: ath9k
lspci: Unable to load libkmod resources: error -12
root@OpenWrt:~# dmesg |grep Atheros
[ 0.000000] SoC: Atheros AR9342 rev 2
[ 0.932286] switch0: Atheros AR8327 rev. 4 switch registered on mdio.0
[ 1.586150] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 1.597494] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 15.647365] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 3 is up
[ 29.261700] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=12
[ 29.316490] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0xb0000000, irq=14
Use -nn
to show PCI IDs.
root@OpenWrt:~# lspci -vnn
00:00.0 Ethernet controller [0200]: Qualcomm Atheros Device [168c:abcd] (rev 01)
Device tree node: /sys/firmware/devicetree/base/ahb/pcie-controller@180c0000/wifi@0,0
Flags: bus master, fast devsel, latency 0, IRQ 14
Memory at 10000000 (64-bit, non-prefetchable) [size=128K]
Expansion ROM at 10020000 [virtual] [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [300] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: ath9k
lspci: Unable to load libkmod resources: error -12
Which (relevant) modules have you installed?
This is your PCI ID: 168c:abcd
. What card is this? Is your 2,4 GHz radio working? Or not? That's unclear.
@frollic This is just a second radio supported by ath9k, nothing special. If the radio is working as intended the only thing missing is an entry in libiwinfo's devices.txt
. There is no second driver in play; and I will amend the topic title to reflect what is actually at play here. This is a cosmetic 'issue' if the radio is working just fine.
This is what's in devices.txt
from that vendor (if it is indeed a correct PCI ID):
~/code/lede/iwinfo$ grep 168c devices.txt |grep Atheros
0x168c 0x001b 0x168c 0x2063 0 0 "Atheros" "AR5413"
0x168c 0x0029 0x168c 0xa094 0 0 "Atheros" "AR9220"
0x168c 0x0029 0x168c 0xa095 0 0 "Atheros" "AR9223"
0x168c 0x002a 0x168c 0xa093 0 0 "Atheros" "AR9280"
0x168c 0x002b 0x168c 0xa091 0 0 "Atheros" "AR9285"
0x168c 0x002d 0x168c 0x209a 0 0 "Atheros" "AR9287"
0x168c 0x002e 0x1a3b 0x1121 0 0 "Atheros" "AR9287"
0x168c 0x002e 0x168c 0x30a4 0 0 "Atheros" "AR9287"
0x168c 0x002e 0x168c 0xa199 0 0 "Atheros" "AR9287"
0x168c 0x0030 0x168c 0x3112 0 0 "Atheros" "AR9380"
0x168c 0x0030 0x168c 0x3114 0 0 "Atheros" "AR9390"
0x168c 0x0033 0x168c 0xa120 0 0 "Atheros" "AR9580"
0x168c 0x0033 0x168c 0xa136 0 0 "Atheros" "AR9580"
0x168c 0x0034 0x17aa 0x3214 0 0 "Atheros" "AR9462"
0x168c 0x003c 0x0000 0x0000 0 0 "Qualcomm Atheros" "QCA9880"
0x168c 0x003c 0x168c 0x3223 0 0 "Qualcomm Atheros" "QCA9880"
0x168c 0x003c 0x1a56 0x1420 0 0 "Qualcomm Atheros" "QCA9862"
0x168c 0x0040 0x168c 0x0002 0 0 "Qualcomm Atheros" "QCA9990"
0x168c 0x0046 0x168c 0xcafe 0 0 "Qualcomm Atheros" "QCA9984"
0x168c 0x0050 0x0000 0x0000 0 0 "Qualcomm Atheros" "QCA9887"
0x168c 0x0056 0x0000 0x0000 0 0 "Qualcomm Atheros" "QCA9886"
Thanks , 2,4 GHz radio is working properly , also there is no problem with the performance of the device but this is first time I see this two different drivers for regular Atheros ath9k device.
best regards
I googled about id 168c:abcd and found this notice ( it means there is a problem recognizing the card )
No, there is no problem at all.
ar9382 is not mentioned in the devices.txt you provided
…and that doesn't matter at all, it doesn't have the slightest influence on functionality - as Borromini mentioned, this is merely a pretty label to appease the human in front of the device, without any purpose beyond that.