Skip to content

VER-905: wifi: ath12k: add logs to debug "HTC Rx: invalid eid" log spam#83

Merged
adrian-nicolau merged 4 commits into
tg-v6.18-ath12k-nextfrom
VER-905-3.5-HTC-Rx-invalid-eid-log-spam
May 11, 2026
Merged

VER-905: wifi: ath12k: add logs to debug "HTC Rx: invalid eid" log spam#83
adrian-nicolau merged 4 commits into
tg-v6.18-ath12k-nextfrom
VER-905-3.5-HTC-Rx-invalid-eid-log-spam

Conversation

@adrian-nicolau
Copy link
Copy Markdown

@adrian-nicolau adrian-nicolau commented May 7, 2026

This PR aims to improve diagnosability of ath12k "HTC Rx: invalid eid" log spam and related RX-path anomalies by adding more contextual logging (descriptor/payload snippets and IDs) at key failure points in HTC, CE, DP RX, MAC, and HAL SRNG access paths.

@adrian-nicolau adrian-nicolau changed the title VER-905: tentative fix VER-905: wifi: ath12k: add logs to debug "HTC Rx: invalid eid" log spam May 11, 2026
@adrian-nicolau adrian-nicolau requested a review from Copilot May 11, 2026 06:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to improve diagnosability of ath12k “HTC Rx: invalid eid” log spam and related RX-path anomalies by adding more contextual logging (descriptor/payload snippets and IDs) at key failure points in HTC, CE, DP RX, MAC, and HAL SRNG access paths.

Changes:

  • Add hexdump-style context to several RX error/warn logs (HTC payload snippets, RX desc first bytes, CE status desc raw words).
  • Extend firmware-stats timeout warning to include pdev/vdev/stats identifiers.
  • Add sanity checks around SRNG HW pointers (hp/tp) and CE receive lengths/NULL skb cases.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c Adds descriptor-byte context to RX warnings; minor log text updates.
drivers/net/wireless/ath/ath12k/mac.c Improves fw-stats timeout warning with request identifiers.
drivers/net/wireless/ath/ath12k/htc.c Adds additional warning logs with HTC header fields and payload snippet on malformed RX frames.
drivers/net/wireless/ath/ath12k/hal.c Adds bounds checks for SRNG hp/tp reads in access_begin().
drivers/net/wireless/ath/ath12k/ce.c Adds extra CE RX validation/logging (0-length, NULL skb, too-short frame) and adjusts warning messaging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread drivers/net/wireless/ath/ath12k/ce.c Outdated
Comment thread drivers/net/wireless/ath/ath12k/hal.c Outdated
Comment thread drivers/net/wireless/ath/ath12k/htc.c
Comment thread drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c
@adrian-nicolau adrian-nicolau marked this pull request as ready for review May 11, 2026 06:48
@adrian-nicolau adrian-nicolau merged commit 14d1b72 into tg-v6.18-ath12k-next May 11, 2026
1 check passed
@adrian-nicolau adrian-nicolau deleted the VER-905-3.5-HTC-Rx-invalid-eid-log-spam branch May 11, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants