Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp59431pxb; Wed, 18 Nov 2020 16:30:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxJbJyvJoLx0JAJTpSVtHdwmGpU5G6RP0e4/wu/2Uvfbx4PVkLj8IB1o1ebK1gxA+qOWhD1 X-Received: by 2002:a17:906:15c4:: with SMTP id l4mr7547217ejd.84.1605745819911; Wed, 18 Nov 2020 16:30:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605745819; cv=none; d=google.com; s=arc-20160816; b=iVPsTVwseXPqWLHIDmxEmmfPVlU2TapZAFlkjpjVTrYxXzoVBbxpcSpixlki9uF/vw Yn68g1m/4RbuUACzFM2WUwxn7u77fxlFRvlUjD7/tKXMt1QIzw3g5i00eGaDZiFdZX/h 3Ig/jPLy9fUJ1EqhCm8KgPQninhCWOZ8+xIihLrpV04YtMBpcHt2sA3sjsZ9LVa3KeV0 60dzqk7bJjqEgJKeMqMeo5qxUASauo5xoVKdHckzpLMdPW+6NadRFwn8F26xR9XLuuEh m9sOpz5lK/yePnNNJmRYkBFLMr/wDVlobPTZtxYN578Pti4T+CQxegAXcW1M+6KOasW1 eufg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:subject:to:from:date :content-transfer-encoding:mime-version; bh=VSj1aAmBr6mquB2gyL5rXbOColic1f0j1Mq+v6tl7JA=; b=QieKdkWm5/Kh2GyBjnOXv6bLNf60cmRRoCWIuWR7hUbF0alJl2JXlP9qdPYgwJjuvT W9TCZ4D+DVvf535eZeNurSq9lcaUmmYIavnzcojG7RY9auSiVILq9wuDSwdPm+wwpXLR 4ruT6O/Adsuw789yGdVlAcWpz6FQ24faYIJgYpwzX8fZNbP6Yj1V0st5u5GfJ0Vof/fx nm/KxHi1Q4zl5zTgs/MCuy4s5ndNCgzRQp+djskI4HM/HFCZRaP61ItlpnvEHHzNba3Q sNeY6m0PZyjGsPF8C16f+d/NL4gjdXGELB8Z5+VY897VvlILWqzpEMgjZ2aT4phQ4E9P jWIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d15si16137653edk.319.2020.11.18.16.29.49; Wed, 18 Nov 2020 16:30:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726433AbgKSA1b (ORCPT + 99 others); Wed, 18 Nov 2020 19:27:31 -0500 Received: from avasout01.plus.net ([84.93.230.227]:47326 "EHLO avasout01.plus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbgKSA1b (ORCPT ); Wed, 18 Nov 2020 19:27:31 -0500 X-Greylist: delayed 450 seconds by postgrey-1.27 at vger.kernel.org; Wed, 18 Nov 2020 19:27:30 EST Received: from webmail.plus.net ([84.93.228.144]) by smtp with ESMTPA id fXg6kTaHvn8O7fXg7kRjWf; Thu, 19 Nov 2020 00:19:59 +0000 X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=Ld6nFgXi c=1 sm=1 tr=0 a=Fy01bzDlhC/AJhvt6vj9bg==:117 a=BB0vsANcpiYA:10 a=kj9zAlcOel0A:10 a=nNwsprhYR40A:10 a=OLL_FvSJAAAA:8 a=xlXRCmqtAAAA:8 a=SNl7DHA7_5c7ayURd24A:9 a=CjuIK1q_8ugA:10 a=jfiaXplBvMQA:10 a=v7AIkUVAObcA:10 a=oIrB72frpwYPwTMnlWqB:22 a=HsnKl83PEsP7o53OI5Pf:22 X-AUTH: andywas@andywas.plus.com:2500 Received: from 233.237.159.143.dyn.plus.net ([143.159.237.233]) by webmail.plus.net with HTTP (HTTP/1.1 POST); Thu, 19 Nov 2020 00:19:58 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 19 Nov 2020 00:19:58 +0000 From: Andrew Wasielewski To: linux-wireless@vger.kernel.org Subject: Problem loading ath10k firmware for QCA9984 device (PCI ID 168c:0046) Message-ID: <83372af5d9ad2731c5d837bfc32d950e@wasielewski.co.uk> X-Sender: andrew@wasielewski.co.uk User-Agent: Webmail X-Originating-IP: [143.159.237.233] X-CMAE-Envelope: MS4wfCulTUklkIClicvXzf7YJaz4mUrlg6IzRqXfbK5JIG/FH5HV4kQHL5xD4PjtWpgG0uLRb2nHy+mcO5jnOsrIn9ZV1JrJiQvdUzxvKhJB24hzNa3tdUo/ orEMK/GA8v9T2iUxi0kw+b8qw9b7GiELNlVJ0giGTKiOWqY1q4cJBZn6HqNO4rWnXLpgaNesz5WZCA== Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Dear Linux Wireless devs, I'm having problems loading the ath10k firmware for a Qualcomm Atheros QCA9984 802.11ac wireless module (Compex WLE1216VX) in a x86_64 PC. This particular unit is 2.4/5 GHz dual band. When I modprobe ath10k_pci I get the following syslog error messages: Nov 18 23:49:31 localhost.localdomain kernel: cfg80211: Loading compiled-in X.509 certificates for regulatory database Nov 18 23:49:31 localhost.localdomain kernel: cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' Nov 18 23:49:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 Nov 18 23:49:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe Nov 18 23:49:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 0 testmode 0 Nov 18 23:49:31 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: firmware ver 10.4-3.9.0.2-00131 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps,peer-fixed-rate crc32 23bd9e43 Nov 18 23:49:32 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=11 from ath10k/QCA9984/hw1.0/board-2.bin Nov 18 23:49:32 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to fetch board-2.bin or board.bin from ath10k/QCA9984/hw1.0 Nov 18 23:49:32 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: failed to fetch board file: -2 Nov 18 23:49:32 localhost.localdomain kernel: ath10k_pci 0000:03:00.0: could not probe fw (-2) This is with firmware ver. 10.4-3.9.0.2-00131, which is the most recent I can find on Git, and on kernel 5.9.8-200 (Fedora 33); I get the same error - apart from reported firmware version - with 10.4-3.9.0.2-00070 which is installed by linux-firmware-20201022-113 (latest Fedora package) as well as on earlier kernels and firmware versions, and other x86_64 hardware. The board-2.bin and firmware-5.bin files do exist in the /lib/firmware/ath10k/QCA9984/hw1.0 directory, which matches the exact chipset ID. This thread reports a very similar issue on the same chipset: https://www.spinics.net/lists/linux-wireless/msg196425.html. I also raised a thread on the ClearOS forum (https://www.clearos.com/clearfoundation/social/community/why-is-the-clearos-7-kernel-version-still-3-10) as initially I thought the problem might be with the kernel version; however ClearOS 7 (Centos / Red Hat-based) has a fully patched and backported kernel. (The aim is for the QCA9984 to go in my ClearOS 7 firewall / wireless AP, also on x86_64 hardware.) lspci -nn output reports PCI ID 168c:0046. Grateful for any suggestions. I'm no hardware expert, but I will do anything I can to help (e.g. pull requests) and obviously do any testing I can. More lspci and modinfo output appended below. Many thanks, Andrew [root@localhost QCA9984]# lspci -s 03:00.0 -vvv 03:00.0 Network controller: Qualcomm Atheros QCA9984 802.11ac Wave 2 Wireless Network Adapter Subsystem: Qualcomm Atheros Device cafe Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-