]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: correct RX stats packet increment for multi-link
authorSarika Sharma <quic_sarishar@quicinc.com>
Wed, 28 May 2025 05:44:19 +0000 (11:14 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 24 Jun 2025 13:19:27 +0000 (15:19 +0200)
commit5e9129f574d98ca1b8ed51d5d5d433344b180bd8
treeae50c9e22d2c2fd97816e3aa89c95c6a60931f22
parent505991fba9ec112770c79a0fea56b4c49a5ad2fa
wifi: mac80211: correct RX stats packet increment for multi-link

Currently, RX stats packets are incremented for deflink member for
non-ML and multi-link(ML) station case. However, for ML station,
packets should be incremented based on the specific link.

Therefore, if a valid link_id is present, fetch the corresponding
link station information and increment the RX packets for that link.
For non-MLO stations, the deflink will still be used.

Signed-off-by: Sarika Sharma <quic_sarishar@quicinc.com>
Link: https://patch.msgid.link/20250528054420.3050133-10-quic_sarishar@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c