diff options
author | Sarika Sharma <quic_sarishar@quicinc.com> | 2025-05-28 11:14:16 +0530 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-06-24 15:19:26 +0200 |
commit | 80b2fa46791742cf8723813bcc93cf39f107c034 (patch) | |
tree | 1f4ac6dfbee993a7a725e84b79137da241824e86 /net/lapb/lapb_timer.c | |
parent | 49e47223ecc4af0bd15b5267184d46b3654d520b (diff) |
wifi: mac80211: add support to accumulate removed link statistics
Currently, if a link gets removed in between for a station then
directly accumulated data will fall down to sum of other active links.
This will bring inconsistency in station dump statistics.
For instance, let's take Tx packets
- at t=0-> link-0:2 link-1:3 Tx packets => accumulated = 5
- at t=1-> link-0:4 link-1:6 Tx packets => accumulated = 10
let say at t=2, link-0 went down => link-0:0 link-1:7 => accumulated = 7
Here, suddenly accumulated Tx packets will come down to 7 from 10.
This is showing inconsistency.
Therefore, store link-0 data when it went down and add to accumulated
Tx packet = 11.
Hence, store the removed link statistics data in sta structure and
add it in accumulated statistics for consistency.
Signed-off-by: Sarika Sharma <quic_sarishar@quicinc.com>
Link: https://patch.msgid.link/20250528054420.3050133-7-quic_sarishar@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions