On Thu, 2025-05-15 at 11:19 +0530, Sarika Sharma wrote: > Currently, sinfo->filled is for set in sta_set_sinfo() after filling > the corresponding fields in station_info structure for station statistics. > > For non-ML stations, the fields are correctly filled from sta->deflink > and corresponding sinfo->filled bit are set, but for MLO any one of > link's data is filled and corresponding sinfo->filled bit is set. > > For MLO before embed NL message, fields of sinfo structure like > bytes, packets, signal are updated with accumulated, best, least of all > links data. But some of fields like rssi, pertid don't make much sense > at MLO level. > > Hence, to prevent misinterpretation, reset sinfo->filled for fields ^^^^^ clear? > which don't make much sense at MLO level. This will prevent filling the > unnecessary values in NL message. Not sure I'd say "unnecessary" but perhaps misleading? I'm also not sure this shouldn't be WARN_ON, we're throwing away data that was provided. In mac80211 it even allocates tidstats memory for nothing, in this case, that's super weird? johannes