wifi: iwlwifi: add channel_load_not_by_us in iwl_mvm_phy_ctxt

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>
This commit is contained in:
Somashekhar(Som)
2024-12-28 22:34:12 +02:00
committed by Johannes Berg
parent 049412e732
commit a2ba52b3a9
2 changed files with 3 additions and 0 deletions

View 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 {

View 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);
}
}