I have just installed a factory image of 18.06.2 on an Archer C2600 v1.0 and only see one radio, the 5G AC radio. The 2.4G radio doesn't show up. Can anyone help?
[ 12.901610] ath10k_pci 0000:01:00.0: assign IRQ: got 66
[ 12.902227] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 12.902324] ath10k_pci 0000:01:00.0: enabling bus mastering
[ 12.902972] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 13.083604] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA99X0/hw2.0/firmware-6.bin failed with error -2
[ 13.083636] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 13.130701] firmware ath10k!QCA99X0!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 13.981773] ath10k_pci 0000:01:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[ 13.981828] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 13.993428] ath10k_pci 0000:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[ 14.054543] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[ 15.320155] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 15.405655] ath: EEPROM regdomain: 0x0
[ 15.405666] ath: EEPROM indicates default country code should be used
[ 15.405673] ath: doing EEPROM country->regdmn map search
[ 15.405686] ath: country maps to regdmn code: 0x3a
[ 15.405696] ath: Country alpha2 being used: US
[ 15.405704] ath: Regpair used: 0x3a
[ 20.345991] ath: EEPROM regdomain: 0x833a
[ 20.346019] ath: EEPROM indicates we should expect a country code
[ 20.348997] ath: doing EEPROM country->regdmn map search
[ 20.355184] ath: country maps to regdmn code: 0x37
[ 20.360440] ath: Country alpha2 being used: GB
[ 20.365114] ath: Regpair used: 0x37
[ 20.369467] ath: regdomain 0x833a dynamically updated by user
I'm trying the package "ath10k-firmware-qca988x" although there appear to be 3 firmware options:
ath10k-firmware-qca988x
ath10k-firmware-qca988x-ct
ath10k-firmware-qca988x-ct-htt
All three are mutually exclusive but don't appear to work for 2.4!
Regrettably while the ath10k and ath10k-ct drivers report failures as it goes through its prioritized lists of potential file locations for pre-cal data, cal data, and firmware, it doesn't clearly indicate successes.
[ 13.993428] ath10k_pci 0000:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[ 14.054543] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[ 15.320155] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
seems to indicate that, for the device it found, it successfully found and loaded what it needed.
Looking at my bootlog, it seems as though only one PCI device is seen! The device at 0001:01:00.0 is simply not present! I compared the bootlogs as you mentioned and the wiki shows a 0001:01:00.0 as well as the 0000:01:00.0 device which I see.
I wonder if this unit is damaged? Maybe I should flash back to stock and check??
root@C2600:~# dmesg | grep '01:00.0'
[ 0.173501] pci 0000:01:00.0: [168c:0040] type 00 class 0x028000
[ 0.173850] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 0.174315] pci 0000:01:00.0: calling 0xc030d6c0
[ 0.174957] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 0.174997] pci 0000:01:00.0: PME# disabled
[ 0.175517] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[ 0.176324] pci 0000:01:00.0: calling 0xc0554090
[ 13.649725] ath10k_pci 0000:01:00.0: assign IRQ: got 66
[ 13.650532] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 13.656762] ath10k_pci 0000:01:00.0: enabling bus mastering
[ 13.657269] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 13.836299] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:01:00.0.txt failed with error -2
[ 13.836346] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 13.870473] firmware ath10k!fwcfg-pci-0000:01:00.0.txt: firmware_loading_store: map pages failed
[ 13.889775] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA99X0/hw2.0/ct-firmware-5.bin failed with error -2
[ 13.889816] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 13.948622] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA99X0/hw2.0/ct-firmware-2.bin failed with error -2
[ 13.956699] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 14.003849] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA99X0/hw2.0/firmware-6.bin failed with error -2
[ 14.011398] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 14.833004] ath10k_pci 0000:01:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[ 14.833041] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 14.843478] ath10k_pci 0000:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[ 14.906003] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 1:1 crc32 08fa09f2
[ 16.251574] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16 peers: 528 tid: 132
[ 16.251609] ath10k_pci 0000:01:00.0: msdu-desc: 1424 skid: 32
[ 16.331118] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
I see this router use dual QCA9980 wifi chip, one for 2.4ghz, one for 5ghz.
Try change radio0 to radio1 in wireless config & reboot router to see what happening ?
As I posted above, creating a radio1 interface doesn't help (device cannot start) and as these interfaces are auto-created by wifi config I don't think that the numbering is an issue.
That helps rule out an unexpected change in the DTS definitions or the like. Still puzzling. Perhaps xxx or another user with ipq80xx experience has further insight.
The interesting aspect is that your original wifi status seems to have detected the second radio (weirdly both as 5 GHz radios though), but it really looks like defective hardware (and given that the PCIe cards are onboard components, it can't have just gotten loose in its slot either).
When I said that "I've added the config to WiFi" I meant that I had added the radio1 stanza myself cos it was missing. Definitely a dead NIC. No idea how but under stock firmware the channel settings were missing too and no 2.4G SSID appears.