]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: iwlwifi: add channel_load_not_by_us in iwl_mvm_phy_ctxt
authorSomashekhar(Som) <somashekhar.puttagangaiah@intel.com>
Sat, 28 Dec 2024 20:34:12 +0000 (22:34 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:40 +0000 (15:26 +0100)
Adding channel_load_not_by_us in the mvm phy context.

Signed-off-by: Somashekhar(Som) <somashekhar.puttagangaiah@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241228223206.7c7f3ebebadf.Ifac005cf1e3b02cba0861eb19bfd8099957faad9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h
drivers/net/wireless/intel/iwlwifi/mvm/rx.c

index 43e304f224755b8349fddf7f791c3c5b2b2e0957..fbf7306b9b6f9185159148915a97402b9f78f6fe 100644 (file)
@@ -103,6 +103,7 @@ struct iwl_mvm_phy_ctxt {
        u32 center_freq1;
        bool rlc_disabled;
        u32 channel_load_by_us;
+       u32 channel_load_not_by_us;
 };
 
 struct iwl_mvm_time_event_data {
index 00aac76e85092397e4116c2a5751badc9588c300..2dbef7b463551cd82d77e3c6d78387a0d978b501 100644 (file)
@@ -789,6 +789,8 @@ static void iwl_mvm_handle_per_phy_stats(struct iwl_mvm *mvm,
                        continue;
                mvm->phy_ctxts[i].channel_load_by_us =
                        le32_to_cpu(per_phy[i].channel_load_by_us);
+               mvm->phy_ctxts[i].channel_load_not_by_us =
+                       le32_to_cpu(per_phy[i].channel_load_not_by_us);
        }
 }