]> git.ipfire.org Git - thirdparty/openwrt.git/commit
qualcommax: ipq807x: ipq6018: ath11k: fix monitor rx length 22244/head
authorRuslan Isaev <legale.legale@gmail.com>
Sat, 28 Feb 2026 15:59:38 +0000 (18:59 +0300)
committerRobert Marko <robimarko@gmail.com>
Thu, 5 Mar 2026 09:50:21 +0000 (10:50 +0100)
commit67cf9c0cc7735764b5be6e0c88d1268f2e816943
tree365bbe36d3c88a56b73efbf8ccd429e0f1e92f4f
parent5d86278a9dca62acd017c444f2db634234b5b3b6
qualcommax: ipq807x: ipq6018: ath11k: fix monitor rx length

OpenWrt issue:
https://github.com/openwrt/openwrt/issues/16183

Problem summary:
On qualcommax (ipq60xx/ipq807x) with ath11k, monitor-mode captures contain
frames that are consistently longer than expected by 8 bytes.

The symptom is visible in pcap/radiotap captures, and Wireshark parsing
becomes correct after manually cutting these 8 bytes from captured frames.

This patch:
- Remove merge-stage FCS/tail manipulations in ath11k_dp_rx_mon_merg_msdus().
- add length fix in ath11k_dp_rx_mon_deliver(), trim 8 bytes right
  before radiotap update and delivery to mac80211.

This targets monitor capture length correctness only and keeps the fix scoped
to the monitor RX delivery path.

Tested-on: ipq8072 yuncore,ax880; ipq6018 yuncore,ax840; yuncore,fap650
Signed-off-by: Ruslan Isaev <legale.legale@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22244
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/mac80211/patches/ath11k/949-wifi-ath11k-fix-monitor-rx-pktlen.patch [new file with mode: 0644]