Archer C5 v1 - 5 GHz WiFi (QCA9880) not working

Hi,
I've just upgraded from OpenWrt 18.06.4 to the latest snapshot (r11407-70d5989c9c) and found that the 5GHz / ath10k WiFi stopped working.

Is there anything I should have known when switching to the new ath79 target?

wlan0     ESSID: "Archer 5GHz"
          Access Point: E8:DE:27:C8:B1:C1
          Mode: Master  Channel: 157 (5.785 GHz)
          Tx-Power: 13 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -105 dBm
          Bit Rate: unknown
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11nac
          Hardware: 168C:003C 0000:0000 [Qualcomm Atheros QCA9880]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

wlan1     ESSID: "Archer 2.4 GHz"
          Access Point: E8:DE:27:C8:B1:C2
          Mode: Master  Channel: 11 (2.462 GHz)
          Tx-Power: 17 dBm  Link Quality: 65/70
          Signal: -45 dBm  Noise: -95 dBm
          Bit Rate: 98.6 MBit/s
          Encryption: WPA2 PSK (CCMP)
          Type: nl80211  HW Mode(s): 802.11bgn
          Hardware: unknown [Generic MAC80211]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: yes  PHY name: phy1

dmesg says

[   13.776007] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[   13.803893] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   13.810424] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   14.234771] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[   14.435116] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   14.640026] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   14.847522] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   15.051044] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   15.250137] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   15.450101] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   15.650245] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   15.665164] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   15.674570] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   15.686987] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-fa250764 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 26a1777b
[   15.926533] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   15.935864] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   16.924500] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   16.941937] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   16.948265] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   16.956413] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20904 iram: 25992'
[   17.010380] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   17.024739] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   34.700683] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   34.718165] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   34.724533] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   34.732653] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20904 iram: 25992'
[   34.801078] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware

I've also tried the firmware from Candela but it did not change anything.

My /etc/config/wireless is

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path 'pci0000:00/0000:00:00.0'
        option country 'DE'
        option legacy_rates '0'
        option htmode 'VHT40'
        option channel 'auto'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option htmode 'HT40'
        option country 'DE'
        option path 'platform/ahb/18100000.wmac'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option mode 'ap'
        option network 'lan'
        option ssid 'Archer 5GHz'
        option encryption 'psk2'
        option key 'secret'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option key 'secret'
        option ssid 'Archer 2.4 GHz'
        option encryption 'ps

Looks like the 5GHz interface / radio0 only works when I delete AP on the 2.4 GHz interface / radio0 oO

Alright the issue seems to be related to DFS.
When I set the channel to 36 and then reboot (!) the interface comes up.

I don't know how long it lasts, at least with Linux 4.14 the interface would not connect after a couple of days - maybe things have improved in 4.19? Let's see…

2 days later, the interface is down again :frowning_face:
Now after a reboot, the 5GHz interface is working, but the 2.4 GHz one is down.

Maybe I should just create a cron job with iwinfo | grep "Signal: unknown" && reboot

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