mirror of
https://github.com/dikeckaan/mu300-linux.git
synced 2026-12-05 16:03:51 +00:00
dscr_ring_empty() returned "empty" for every valid hardware cursor (an inverted
IS_ERR_OR_NULL test), so edma_rx_push_isr() never popped a completed descriptor
and only refilled the ring. As ZTE's U30 Air wcn_bsp.ko does: read the cursor
once, pop what is complete, then refill. Mainline source, and the same change
for 5.4 as kernel/patches/wcn-pcie-rx-push-cursor.patch (FINDINGS 195).
From kanoqwq's clean-tf-7.2 2d3f7438 (the edma_pending_full counters of that
tree are not part of this).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VVN2zDgf76kMDVSuWhHPUE