Archer C2600 new install 18.06.2 - 2.4G radio not shown. Only one radio visible

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've added the config to wifi:

config wifi-device 'radio1'
	option type 'mac80211'
	option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
	option country 'GB'
	option legacy_rates '0'
	option channel 'auto'
	option hwmode '11a'
	option __toggle 'Enable'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option mode 'ap'
	option ssid 'OpenWrt'
	option network 'lan'
	option encryption 'psk2'
	option key 'testing'

but no data rates are shown and the wifi appears to not switch on (no SSID seen).

What does it return?
wifi config ; wifi status

{
	"radio0": {
		"up": true,
		"pending": false,
		"autostart": true,
		"disabled": false,
		"retry_setup_failed": false,
		"config": {
			"channel": "36",
			"hwmode": "11a",
			"path": "soc\/1b500000.pci\/pci0000:00\/0000:00:00.0\/0000:01:00.0",
			"htmode": "VHT80",
			"country": "GB",
			"legacy_rates": false
		},
		"interfaces": [
			{
				"section": "default_radio0",
				"ifname": "wlan0",
				"config": {
					"mode": "ap",
					"ssid": "openwrt",
					"encryption": "psk2",
					"key": "testing",
					"ieee80211r": true,
					"ft_over_ds": true,
					"ft_psk_generate_local": true,
					"network": [
						"lan"
					],
					"mode": "ap"
				}
			}
		]
	},
	"radio1": {
		"up": false,
		"pending": false,
		"autostart": true,
		"disabled": false,
		"retry_setup_failed": true,
		"config": {
			"path": "soc\/1b700000.pci\/pci0001:00\/0001:00:00.0\/0001:01:00.0",
			"legacy_rates": false,
			"channel": "auto",
			"hwmode": "11a"
		},
		"interfaces": [
			{
				"section": "default_radio1",
				"config": {
					"mode": "ap",
					"ssid": "OpenWrt",
					"encryption": "psk2",
					"key": "testing",
					"mode": "ap",
					"network": [
						"lan"
					]
				}
			}
		]
	}
}

The -2 error would indicate the firmware was not found?

Which package is required for firmware?

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.

To me the puzzle is why it is only finding the one radio. I looked at the boot log at https://openwrt.org/toh/tp-link/tp-link_archer_c2600_v1 and it looked similar (which was not helpful either way).

Have you tried moving /etc/config/wireless aside

mv /etc/config/wireless /etc/config/wireless.old

and regenerating with wifi config

Only sees the 5G radio then:

root@C2600:~# mv /etc/config/wireless /etc/config/wireless.bak
root@C2600:~# wifi config
root@C2600:~# cat /etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option channel '36'
	option hwmode '11a'
	option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
	option htmode 'VHT80'
	option disabled '1'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'OpenWrt'
	option encryption 'none'

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
1 Like

I installed pciutils and lscpi shows only one card:

root@C2600:~# lspci
00:00.0 PCI bridge: Qualcomm Device 0101
01:00.0 Network controller: Qualcomm Atheros QCA9980/9990 802.11ac Wireless Network Adapter

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.

I have upgraded to the latest snapshot and the problem persists.

I have downgraded to 18.06.0. The same problem exists here as well.

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.

Does it work on both bands with OEM firmware?

OEM firmware shows the same error. Broken hardware. Don't trust Amazon warehouse deals. Waste of time. Sorry for wasting everyone's time here. :pensive:

thanks to everyone who wrote on this thread. I've learned some more about managing my wifi.

2 Likes

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.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.