Skip to content

ath10k patches, generic and CT firmware related.

[email protected] ath10k linux-wireless 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest21 patches 37 repliesIn review
  2. v121 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21ath10k: Fix crash related to printing features.drivers/net/wireless/ath/ath10k/core.c+1 -13 replies
2/21ath10k: fix typo in logging messagedrivers/net/wireless/ath/ath10k/mac.c+1 -11 reply
3/21ath10k: Allow changing ath10k debug mask at runtime.drivers/net/wireless/ath/ath10k/debug.c+62 -04 replies
4/21ath10k: rate-limit packet tx errorsdrivers/net/wireless/ath/ath10k/mac.c+3 -24 replies
5/21ath10k: save firmware debug log messages.drivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/debug.c drivers/net/wireless/ath/ath10k/debug.h +4 more+258 -20 replies
6/21ath10k: save firmware stacks upon firmware crashdrivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/debug.c drivers/net/wireless/ath/ath10k/hw.h +1 more+86 -10 replies
7/21ath10k: save firmware RAM and ROM BSS sections on crashdrivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/debug.c +2 more+157 -10 replies
8/21ath10k: make firmware text debug messages more verbose.drivers/net/wireless/ath/ath10k/wmi.c+1 -14 replies
9/21ath10k: print fw debug messages in hex.drivers/net/wireless/ath/ath10k/debug.c drivers/net/wireless/ath/ath10k/debug.h drivers/net/wireless/ath/ath10k/pci.c +1 more+92 -08 replies
10/21ath10k: support logging ath10k_info as KERN_DEBUGdrivers/net/wireless/ath/ath10k/debug.c drivers/net/wireless/ath/ath10k/debug.h+10 -14 replies
11/21ath10k: add fw-powerup-fail to ethtool stats.drivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/debug.c drivers/net/wireless/ath/ath10k/pci.c+5 -02 replies
12/21ath10k: Support up to 64 vdevs.drivers/net/wireless/ath/ath10k/core.c+4 -11 reply
13/21ath10k: Document cycle count related counters.drivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/wmi.h+8 -80 replies
14/21ath10k: Add tx/rx bytes, cycle counters to ethtool stats.drivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/debug.c drivers/net/wireless/ath/ath10k/htt_rx.c +1 more+40 -100 replies
15/21ath10k: support CT firmware flag.drivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/core.h+4 -04 replies
16/21ath10k: Support 32+ stations.drivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/hw.h drivers/net/wireless/ath/ath10k/mac.c +1 more+76 -30 replies
17/21ath10k: Enable detecting failure to install key in firmware (CT).drivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/htt.h drivers/net/wireless/ath/ath10k/htt_rx.c +1 more+25 -60 replies
18/21ath10k: Note limitation on beaconing vdevs.drivers/net/wireless/ath/ath10k/mac.c+16 -00 replies
19/21ath10k: Enable adhoc mode for CT firmware.drivers/net/wireless/ath/ath10k/mac.c+5 -02 replies
20/21ath10k: read firmware crash over ioread32 if CE fails.drivers/net/wireless/ath/ath10k/hw.h drivers/net/wireless/ath/ath10k/pci.c+60 -10 replies
21/21ath10k: Read dbglog buffers over register ping-pong.drivers/net/wireless/ath/ath10k/pci.c+45 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/21] ath10k patches, generic and CT firmware related.

From: Ben Greear <[email protected]>

These are against wireless-testing from a few days ago.

Here are a bunch of ath10k patches. First one is a crash fix. Next few are at least somewhat useful for generic firmware, and more useful for CT firmware. Much of it is related to better debugging of firmware crashes. If this can go in, then I can much better handle random bug reports from prople using stock kernels and CT firmware. With some small tweaks to how they package firmware, QCA could benefit as well.

The last bit is some initial support for CT firmware. I figure it is a long-shot, but it would surely be nice to get this (and more!) upstream. If nothing else, these can be a basis for potential inclusion in openwrt or similar.

These patches are not overly dependent on each other for the most part, so even if a few are not acceptable, maybe others can be applied upstream.

Changes from v1:

Replace debug-mask patch to be one that allows changing mask using debugfs.
Add some comments to the CT firmware placeholder patch as requested. Add and tweak comments related to cycle counters.

Ben Greear (21):
ath10k: Fix crash related to printing features.
ath10k: fix typo in logging message
ath10k: Allow changing ath10k debug mask at runtime.
ath10k: rate-limit packet tx errors
ath10k: save firmware debug log messages.
ath10k: save firmware stacks upon firmware crash
ath10k: save firmware RAM and ROM BSS sections on crash
ath10k: make firmware text debug messages more verbose.
ath10k: print fw debug messages in hex.
ath10k: support logging ath10k_info as KERN_DEBUG
ath10k: add fw-powerup-fail to ethtool stats.
ath10k: Support up to 64 vdevs.
ath10k: Document cycle count related counters.
ath10k: Add tx/rx bytes, cycle counters to ethtool stats.
ath10k: support CT firmware flag.
ath10k: Support 32+ stations.
ath10k: Enable detecting failure to install key in firmware (CT).
ath10k: Note limitation on beaconing vdevs.
ath10k: Enable adhoc mode for CT firmware.
ath10k: read firmware crash over ioread32 if CE fails.
ath10k: Read dbglog buffers over register ping-pong.

 drivers/net/wireless/ath/ath10k/core.c   |  70 ++++++-
 drivers/net/wireless/ath/ath10k/core.h   |  52 ++++-
 drivers/net/wireless/ath/ath10k/debug.c  | 325 ++++++++++++++++++++++++++++++-
 drivers/net/wireless/ath/ath10k/debug.h  |  17 ++
 drivers/net/wireless/ath/ath10k/htt.h    |   7 +-
 drivers/net/wireless/ath/ath10k/htt_rx.c |  23 ++-
 drivers/net/wireless/ath/ath10k/htt_tx.c |  22 ++-
 drivers/net/wireless/ath/ath10k/hw.h     |  36 ++++
 drivers/net/wireless/ath/ath10k/mac.c    |  74 ++++++-
 drivers/net/wireless/ath/ath10k/pci.c    | 310 ++++++++++++++++++++++++++++-
 drivers/net/wireless/ath/ath10k/wmi.c    |  43 +++-
 drivers/net/wireless/ath/ath10k/wmi.h    |  14 +-
 12 files changed, 956 insertions(+), 37 deletions(-)
Signature · 1 line
2.4.3