Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2020 10:09:24 -0700
From:      Adrian Chadd <adrian.chadd@gmail.com>
To:        Anthony Jenkins <Scoobi_doo@yahoo.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: Atheros QCA6174 (ath10k) not working
Message-ID:  <CAJ-VmokiwmjaeEy3B9B-hN70m=N2amNPhVDgmcnxTqjyqx0=4A@mail.gmail.com>
In-Reply-To: <27e35111-6cee-d609-ffcd-2c78c35504b9@yahoo.com>
References:  <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f.ref@yahoo.com> <9beac50d-6c08-0c0a-7f42-f1e95ae31d8f@yahoo.com> <CAJ-VmonV1oDgXi2d0Ve4=-6So5DRbyFzrfWaZEqw=rGn7nc7ow@mail.gmail.com> <27e35111-6cee-d609-ffcd-2c78c35504b9@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

We know what's missing. :-)

bz is working on porting more configuration/startup related changes from
the more recent linux ath10k to athp, and I'm working on some transmit side
control that's needed for correct data path behaviour on the QCA6174 and
newer NICs.

We'll get there. :-)

Thanks!




-adrian


On Sun, 13 Sep 2020 at 13:27, Anthony Jenkins <Scoobi_doo@yahoo.com> wrote:

> Thanks Adrian,
>
> Just wondering if there's anything I can do to help.  I have the driver
> repo.
>
> Anthony
>
> On 2020-09-13 14:53, Adrian Chadd wrote:
> > 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 <mailto: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 <mailto: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
> >     <mailto:freebsd-wireless-unsubscribe@freebsd.org>"
> >
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokiwmjaeEy3B9B-hN70m=N2amNPhVDgmcnxTqjyqx0=4A>