All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Valo, Kalle" <kvalo@qca.qualcomm.com>
To: Daniel Holz <daniel.holz91@gmail.com>
Cc: "ath10k@lists.infradead.org" <ath10k@lists.infradead.org>
Subject: Re: QCA6174 Performance
Date: Fri, 16 Sep 2016 10:44:48 +0000	[thread overview]
Message-ID: <87intw9l9c.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1474018906.3370.0@smtp.gmail.com> (Daniel Holz's message of "Fri, 16 Sep 2016 11:41:46 +0200")

Hi,

please don't email me privately, I'm adding the mailing list back so
that everyone can participate.

Daniel Holz <daniel.holz91@gmail.com> writes:

> Do you mean by board file board.bin? I downloaded all files related to the
> QCA6174 from your Github repository.

I meant board-2.bin actually:

$ md5sum QCA6174/hw2.1/board-2.bin 
11920f7c30a1b1dd009928baef1021dc  QCA6174/hw2.1/board-2.bin

This file should support your board with subsystem id 17aa:3044.

> Here is the output of lspci:
>
> 02:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless
> Network Adapter [168c:003e] (rev 20)
> Subsystem: Lenovo QCA6174 802.11ac Wireless Network Adapter [17aa:3044]
> Flags: bus master, fast devsel, latency 0, IRQ 49
> Memory at c1000000 (64-bit, non-prefetchable) [size=2M]
> Capabilities: [40] Power Management version 3
> Capabilities: [50] MSI: Enable+ Count=8/8 Maskable+ 64bit-
> Capabilities: [70] Express Endpoint, MSI 00
> Capabilities: [100] Advanced Error Reporting
> Capabilities: [148] Virtual Channel
> Capabilities: [168] Device Serial Number 00-00-00-00-00-00-00-00
> Capabilities: [178] Latency Tolerance Reporting
> Capabilities: [180] L1 PM Substates
> Kernel driver in use: ath10k_pci
> Kernel modules: ath10k_pci
>
> And of dmesg | grep -i ath10k:
>
> [    3.717494] ath10k_pci 0000:02:00.0: pci irq msi-x interrupts 8 irq_mode 0
> reset_mode 0
> [    3.953007] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/
> cal-pci-0000:02:00.0.bin failed with error -2
> [    5.232572] ath10k_pci 0000:02:00.0: qca6174 hw2.1 (0x05010000, 0x003405ff
> sub 17aa:3044) fw SW_RM.1.1.1-00157-QCARMSWPZ-1 fwapi 5 bdapi 2 htt-ver 3.1
> wmi-op 4 htt-op 3 cal otp max-sta 32 raw 0 hwcrypto 1 features
> ignore-otp,no-4addr-pad
> [    5.232578] ath10k_pci 0000:02:00.0: debug 0 debugfs 1 tracing 1 dfs 0
> testmode 0
> [    5.318496] ath10k_pci 0000:02:00.0 wlp2s0: renamed from wlan0
> [    6.879214] ath10k_pci 0000:02:00.0: no channel configured; ignoring frame
> (s)!

From the logs I can't immeaditely see anything wrong, but you version of
ath10k is so old that it doesn't print the crc32 for the board file so I
can't be 100% sure. So I recommend to check the md5sum above matches
with your file.

From a quick look I can't immediately come up what else would cause low
throughput, it would involve more detailed analysis with wireless
sniffer etc. It's a wild shot but you could always try latest ath10k
using kernel-backports:

https://wireless.wiki.kernel.org/en/users/drivers/ath10k/backports

Do note that backports project hasn't had stable updates for a long time
so use the daily releases instead:

https://www.kernel.org/pub/linux/kernel/projects/backports/2016/03/24/

-- 
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  parent reply	other threads:[~2016-09-16 10:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-15 13:29 QCA6174 Performance Daniel Holz
2016-09-16  4:13 ` Valo, Kalle
     [not found] ` <1474018906.3370.0@smtp.gmail.com>
2016-09-16 10:44   ` Valo, Kalle [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-16 11:50 Daniel Holz
2016-09-16 12:23 ` Michal Kazior
2016-09-18 18:14   ` Daniel Holz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87intw9l9c.fsf@kamboji.qca.qualcomm.com \
    --to=kvalo@qca.qualcomm.com \
    --cc=ath10k@lists.infradead.org \
    --cc=daniel.holz91@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.