mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] wifi: ath: simplify copying a peer's PPE thresholds
@ 2026-11-10 14:37 Christopher Griffin via B4 Relay
  2026-11-10 14:37 ` [PATCH v2 1/2] wifi: ath11k: " Christopher Griffin via B4 Relay
  2026-11-10 14:37 ` [PATCH v2 2/2] wifi: ath12k: " Christopher Griffin via B4 Relay
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Griffin via B4 Relay @ 2026-11-10 14:37 UTC (permalink / raw)
  To: Jeff Johnson
  Cc: Rameshkumar Sundaram, Baochen Qiang, linux-wireless, ath11k,
	ath12k, linux-kernel, Jeff Johnson, Christopher Griffin

Rameshkumar suggested this while reviewing the PPE threshold bit-order
fix [1]: the loop that copies a peer's PPE thresholds into the WMI
layout shifts each bit in from the top, where it can put it in place.
ath11k and ath12k carry the same loop, so one patch each. No functional
change; the patches don't depend on the bit-order series.

Compile tested only (W=1, both drivers). A userspace copy of the old
and the new loop gives the same output for every 6-bit value in every
RU slot.

The patches, this letter and that test were written with Claude, an AI
coding assistant.

[1] https://lore.kernel.org/all/b60c4c56-483b-406e-92ab-643b0fdf2dc8@oss.qualcomm.com/

---
Changes in v2:
- Dropped the paragraph about the equivalence test from both changelogs
  (Rameshkumar).
- Kept the one-line note on AI use in the changelogs:
  Documentation/process/generated-content.rst asks for it in changelogs
  and cover letters.
- Rebased on ath-next.
- Link to v1: https://patch.msgid.link/20261106-ath-peer-ppe-thres-loop-v1-0-f6bb5fe9ffb3@gmail.com

---
Christopher Griffin (2):
      wifi: ath11k: simplify copying a peer's PPE thresholds
      wifi: ath12k: simplify copying a peer's PPE thresholds

 drivers/net/wireless/ath/ath11k/mac.c | 3 +--
 drivers/net/wireless/ath/ath12k/mac.c | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
base-commit: d0fbb39d65dc9dcb4175fa6b23e473dec3670f4d
change-id: 20261106-ath-peer-ppe-thres-loop-ce5c2b2e68e1

Best regards,
--  
Christopher Griffin <christophergriffin05@gmail.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-10 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 14:37 [PATCH v2 0/2] wifi: ath: simplify copying a peer's PPE thresholds Christopher Griffin via B4 Relay
2026-11-10 14:37 ` [PATCH v2 1/2] wifi: ath11k: " Christopher Griffin via B4 Relay
2026-11-10 14:37 ` [PATCH v2 2/2] wifi: ath12k: " Christopher Griffin via B4 Relay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®