RE: [PATCH rtw-next v5 08/10] wifi: rtw89: skip host-side TX hooks for injected frames
From: Ping-Ke Shih
Date: Sun Nov 15 2026 - 21:20:56 EST
Enver Ikromov <owner@xxxxxxxxxxxxxx> wrote:
> Several TX hooks assume frames that were built by the local network
> stack for an associated link:
>
> - rtw89_traffic_stats_accu() and rtw89_core_tx_btc_spec_pkt_notify()
> inspect ip_hdr()/udp_hdr(). For frames injected on a monitor
> interface the network header points into the 802.11 header, so
> traffic statistics and BT-coexistence notifications are derived
> from unrelated bytes.
> - rtw89_wow_parse_akm() records the AKM from (Re)Association Request
> frames for WoWLAN, which an injected frame must not change.
> - rtw89_core_tx_update_he_qos_htc(), rtw89_core_tx_update_ampdu_info(),
> and rtw89_core_txq_check_agg() mutate QoS/HTC headers, enable A-MPDU
> aggregation, or start/stop BA sessions based on link state, while
> injected frames are expected to be sent as supplied.
If these are harmless to inject in single one monitor interface.
I prefer not applying these changes.