From owner-freebsd-wireless@freebsd.org Sun Sep 13 18:12:30 2020 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF17C3E2F13 for ; Sun, 13 Sep 2020 18:12:30 +0000 (UTC) (envelope-from scoobi_doo@yahoo.com) Received: from sonic312-24.consmr.mail.ne1.yahoo.com (sonic312-24.consmr.mail.ne1.yahoo.com [66.163.191.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqHdn41tLz4TdT for ; Sun, 13 Sep 2020 18:12:29 +0000 (UTC) (envelope-from scoobi_doo@yahoo.com) X-YMail-OSG: ekLeQoIVM1n7ucPYvJ3tDj1mpEOs_0NkwscRwo9x2_c6.088Dz.oGsTRd.LpELp BKA0HYtsYoDRMyaf3S4oU3mxoEwTfxqns._EpoHTNMr5p8mAxc.k8UkKa.mQliE8OcBbRGd4L1Iz 1VS_sk.CEWigbmR30cwMrH449rqox.cOgUrW71s3WGsZP00i9XsyVhpEPSJ.4AMu39b72VL8BhkL kis1raNfXdpRRnDk5CMGoFHlQO9DUAP9VHph3JgrBZi0tKyOvvzYsGBFmfaADaTTzWJ3sKvCHjBw VEGa1J6ANi5kprk64J0ah.0g2btCaa3QwOIBtVpy1Tv.HgQRO1u17cL1UDry3Vw9yRCyhOarlcD6 A7hMFX2Bx_t4iD0hiR9yXxmb158FPPMBxnGSBtguaknn2IrdIqoCQFSHYzCrOB.lX15gn.M3mNKM Fnx2n4Qvs5u1Hq3KEErEj8vaCilHtCD80NHNXf4iec0BJjAhQ3g1FO4s1yzTYQ73xzcI_VTPPqIY GId.x_AG8x1giqDLTWG.4LcEkUKTU_eDy0f9thAxF89L_cpzEZx55oyLmSsOmIJ0fBnVF4ESvczg wGGSMJreRk82gIxb_rMOUuJYC6VMc_zshhlht0STrwl_peaBzYmKmNQtCJJtOSuzlyXliWWQDzsI sHvOVK07ecqSku1gjLV2puvBnelguKSMHE11Ot6TGF.IOTZc_Vkck9b54JfVJqVD.8cLrxIqAtUY RwH2YohNjzP6poZdNRkM6hHnHEctYMgA4E5oVJCPa0mwu7vbGv_48AY7nwjejhMwaipA_dfoWOIM JJJ696cTZRrLkSG6uVQS.8U_Gl.lwtttUCBDvxRuNXbzp8Usn7YHOqxfwCQhF5.IF2emlN3p5zs. S4YSkbQ55cVn1SBlUnuAmIgqaE3Ug0XB25E1mHpFuK5Fgz4FyIQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Sun, 13 Sep 2020 18:12:27 +0000 Received: by smtp424.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 63f0af7c6bd3e4666d20f2735174f9a4; Sun, 13 Sep 2020 18:12:22 +0000 (UTC) To: freebsd-wireless@freebsd.org From: Anthony Jenkins Subject: Atheros QCA6174 (ath10k) not working Message-ID: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> Date: Sun, 13 Sep 2020 14:12:11 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Firefox/68.0 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US References: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f.ref@yahoo.com> X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) X-Rspamd-Queue-Id: 4BqHdn41tLz4TdT X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.020]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.191.205:from]; NEURAL_HAM_MEDIUM(-1.04)[-1.044]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[66.163.191.205:from]; NEURAL_HAM_SHORT(-0.64)[-0.640]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-wireless]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2020 18:12:30 -0000 I have a Killer 1535 802.11ac wireless card (chipset =3D Qualcomm Atheros= =20 QCA6174).=C2=A0 I am using the ath10k/athp driver from git repo=20 https://github.com/erikarn/athp.git .=C2=A0 Driver loads, but trying to s= tart=20 the interface fails.=C2=A0 What should I be looking at to fix this? service netif start wlan2: -------------------------------------------------------------------------= -- ifconfig: SIOCIFCREATE2: Input/output error ifconfig: interface wlan2 does not exist ifconfig: interface wlan2 does not exist ifconfig: interface wlan2 does not exist ifconfig: interface wlan2 does not exist Starting wpa_supplicant. /etc/rc.d/wpa_supplicant: WARNING: failed to start wpa_supplicant ifconfig: interface wlan2 does not exist rtsol: failed to get link layer information for wlan2 rtsol: failed to initialize wlan2 Starting Network: wlan2. ifconfig: interface wlan2 does not exist -------------------------------------------------------------------------= -- Kernel messages: -------------------------------------------------------------------------= -- athp0: ath10k_start: called; state=3D0 athp0: ath10k_start: state=3D1 athp0: ath10k_download_cal_dt: TODO: device tree check athp0: ath10k_wmi_event_service_ready_work: TODO: EEPROM code: 0x00000069= athp0: htc ep 2 out of TX credits (0 < 1) athp0: htc ep 2 out of TX credits (0 < 1) =2E.. athp0: htc ep 2 out of TX credits (0 < 1) athp0: htc ep 2 out of TX credits (0 < 1) athp0: ath10k_wmi_cmd_send: failed (-35) athp0: failed to enable PMF QOS: -35 athp0: ath10k_core_stop: state=3D1 athp0: ath10k_wait_for_suspend: state=3D1 athp0: ath10k_wmi_pdev_suspend_target: called athp0: htc ep 2 out of TX credits (0 < 1) athp0: htc ep 2 out of TX credits (0 < 1) =2E.. athp0: htc ep 2 out of TX credits (0 < 1) athp0: htc ep 2 out of TX credits (0 < 1) athp0: ath10k_wmi_cmd_send: failed (-35) athp0: could not suspend target (-35) athp0: ath10k_pci_irq_sync: TODO athp0: ath10k_pci_kill_tasklet: called athp0: ath10k_htt_tx_free: called athp0: ath10k_htt_tx_free: tearing down htt locks athp0: athp_vap_create: ath10k_start failed; ret=3D-35 -------------------------------------------------------------------------= -- Some notable errors from 'kldload if_athp.ko': * Driver fails to load firmware file athp_QCA6174_hw3.0/firmware-5.bin;=20 it does load file 'athp_QCA6174_hw3.0_firmware-4.bin'. athp0: ath10k_fetch_fw_file: firmware_get: athp_cal-pci-athp0.bin athp_cal-pci-athp0.bin: could not load firmware image, error 2 athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_board.bin firmware: 'athp_QCA6174_hw3.0_board.bin' version 1: 8124 bytes loaded at = 0xffffffff84458000 athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_firmware-5.= bin athp_QCA6174_hw3.0_firmware-5.bin: could not load firmware image, error 2= athp0: could not fetch firmware file 'athp_QCA6174_hw3.0/firmware-5.bin':= -1 athp0: ath10k_fetch_fw_file: firmware_get: athp_QCA6174_hw3.0_firmware-4.= bin firmware: 'athp_QCA6174_hw3.0_firmware-4.bin' version 1: 733784 bytes=20 loaded at 0xffffffff8445d000 I assume file 'athp_cal-pci-athp0.bin' is optional calibration data. * 'htc ep 2 out of TX credits (0 < 1)' repeated 144 times * ath10k_wmi_cmd_send failure athp0: ath10k_wmi_cmd_send: failed (-35) athp0: could not suspend target (-35) My full kernel messages from kldload(8) and netif are at=20 http://www.qtchat.org/~ajenkins/ . Thanks, Anthony Jenkins