]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: mld: skip unknown FW channel load values
authorJohannes Berg <johannes.berg@intel.com>
Thu, 24 Apr 2025 12:38:24 +0000 (15:38 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2025 09:26:33 +0000 (11:26 +0200)
commitc561ac93cd80b7b13ee325dbe254e22c76f22355
treebf5cfc0a37343a7b8fe44b44ed077818b012b795
parentccf36d82e8c136f539534bf243bfdda09284e689
wifi: iwlwifi: mld: skip unknown FW channel load values

The firmware statistics were previously reporting bogus/old
channel load values if the device hadn't been active on a
given channel; it'll report an unknown value now for those
statistics affected (channel_load and channel_load_not_by_us.)
Handle that by simply skipping the value, the averaging would
result in the exact same value as before.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250424153620.db5410318642.I4d2981f68b915ad335bb02c926e9289c2a60ea6c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/api/stats.h
drivers/net/wireless/intel/iwlwifi/mld/stats.c