]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: fix missing RX bitrate update for mesh forwarding path
authorSarika Sharma <sarika.sharma@oss.qualcomm.com>
Fri, 24 Oct 2025 04:36:27 +0000 (10:06 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Oct 2025 08:18:19 +0000 (09:18 +0100)
commitcc18fffa3a51792637169872886df3407bd5bb84
tree94711c11f92a29a407d7b69628b463bd55662cef
parentbca76b875d0530658f3ba1bc946dbae1974f14c3
wifi: mac80211: fix missing RX bitrate update for mesh forwarding path

Currently, RX bitrate statistics are not updated for packets received
on the mesh forwarding path during fast RX processing. This results in
incomplete RX rate tracking in station dump outputs for mesh scenarios.

Update ieee80211_invoke_fast_rx() to record the RX rate using
sta_stats_encode_rate() and store it in the last_rate field of
ieee80211_sta_rx_stats when RX_QUEUED is returned from
ieee80211_rx_mesh_data(). This ensures that RX bitrate is properly
accounted for in both RSS and non-RSS paths.

Signed-off-by: Sarika Sharma <sarika.sharma@oss.qualcomm.com>
Link: https://patch.msgid.link/20251024043627.1640447-1-sarika.sharma@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c