From owner-freebsd-wireless@freebsd.org Sun Sep 13 18:53:53 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 2B83A3E44B4 for ; Sun, 13 Sep 2020 18:53:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqJYX3VsGz4X3X for ; Sun, 13 Sep 2020 18:53:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-qv1-xf30.google.com with SMTP id f11so7884054qvw.3 for ; Sun, 13 Sep 2020 11:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L0I5ukRSqLekSljghCBHDzCaE4ACyA8ZkscNyFeoZZM=; b=CTK8yMPB1yWwzLc/+pjwCBg2b21SQyDOraaiDBnM5U+ui5cYT3jjnlbV0F4ZPq5grn ZEV9vV6kea8qaQw6qNmN126dW3AvLZVXpCGi4SM2kmQHKp0Eg6BsJyYamCZAFah8Wt0G 5EY7/2K3G+FFknXFNh3qyRl5KRcHQU1uzQxSvDhR9zBRj495sT30PvPTnu0WDo1WFW8a uuBAwuAaigMAzEVBwvDyqPNqd6agkLQvuTyGYOc/aJvjyGEGgjg+VXGCpY31BJhPJhMU PF8m/urythFEEoK5fqCHspgTeFjfYIOTusCD5tZXhrrL9YQnIv2oBCUQGw1mbzOoTuZh 4trw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L0I5ukRSqLekSljghCBHDzCaE4ACyA8ZkscNyFeoZZM=; b=jwcWUcKcPnA2eo2sXAO7QAIG9xI2waa7KOA8nCNXAYi14DB+nUbhVQVFoiZyDMKblN Hwk3a3CiwPjXvuYQ/xoPa8hnecaWFyCsh+zXlAVMdIAx9uFHo7gP2SzjhdvprGKAmjB4 nir+LUssZing2NPy1zA0K+JSxc0CHxVWuFq9kj2yMyBKXhRem90OyCLmgerVW2aSTMSO MTQq2FxR47Kv2YoDIpQ0wrgSfUmkcIngMjLQ2SUZNbYrXwr5xOpSmfPoWKhu3BEkR6xR 0LwnnZ4DeYyJPyOKjEodEsmGeONC4a8KuodKXi48u5MSInQ18nGWyQiRqiNu9E2lWCZ9 6RNg== X-Gm-Message-State: AOAM532Gx2hU3yPy6WTGRp49sa/FFthCWC+FZnpUbjnosG3BCMSOz7Ho 936yBJXZWG36gH+xXGHqrX/ZOWf3HTSGzmJs94o= X-Google-Smtp-Source: ABdhPJxeJi8IM+YIkSenWeZWvJOpeqyHiCMMHH3xkPdum8tVKs7MqFf2H10MsRnqmAFjKu8KZNG7402x73Md4muUgaA= X-Received: by 2002:a0c:f2c4:: with SMTP id c4mr10512183qvm.118.1600023231362; Sun, 13 Sep 2020 11:53:51 -0700 (PDT) MIME-Version: 1.0 References: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f.ref@yahoo.com> <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> In-Reply-To: <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> From: Adrian Chadd Date: Sun, 13 Sep 2020 11:53:37 -0700 Message-ID: Subject: Re: Atheros QCA6174 (ath10k) not working To: Anthony Jenkins Cc: "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 4BqJYX3VsGz4X3X X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CTK8yMPB; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::f30 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-3.43 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.35)[-0.352]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.06)[-1.057]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.019]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f30:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-wireless] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 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:53:53 -0000 hi! we're still working on this. It's going to take some time. thanks, -adrian On Sun, 13 Sep 2020 at 11:12, Anthony Jenkins via freebsd-wireless < freebsd-wireless@freebsd.org> wrote: > I have a Killer 1535 802.11ac wireless card (chipset = Qualcomm Atheros > QCA6174). I am using the ath10k/athp driver from git repo > https://github.com/erikarn/athp.git . Driver loads, but trying to start > the interface fails. 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=0 > athp0: ath10k_start: state=1 > 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) > ... > 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=1 > athp0: ath10k_wait_for_suspend: state=1 > 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) > ... > 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=-35 > --------------------------------------------------------------------------- > > Some notable errors from 'kldload if_athp.ko': > > * Driver fails to load firmware file athp_QCA6174_hw3.0/firmware-5.bin; > 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 > 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 > http://www.qtchat.org/~ajenkins/ . > > Thanks, > Anthony Jenkins > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " >