On 1/10/2025 2:52 PM, Johannes Berg wrote:
On Fri, 2025-01-10 at 09:54 +0530, Sarika Sharma wrote:
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.
What if a link is removed and then re-added? Should it go back to that
link? That would require keeping statistics per link rather than
accumulating removed.
johannes
When a link is removed, its corresponding data will be set to NULL. If
it reconnects, its statistics will start from zero. The link might not
reconnect to the same link again. Therefore, retaining data for a
removed link per link may not be useful, as the link is being removed
and connected. It's better to start with zero rather than using previous
data.
Also, if really link level storing of stats is required will add it, but
currently I am not seeing it much useful here.