wifi: iwlwifi: Add new TAS disable reason for invalid table source
The new reason is added to the iwl_tas_statically_disabled_reason enum and the corresponding message is updated in the iwl_dbgfs_tas_get_status_read(). Signed-off-by: Pagadala Yesu Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250308231427.5e1272ef3508.I24f668ae716bee20cba15fdc73c3363693bbaf73@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
committed by
Johannes Berg
parent
abecf9ba94
commit
8e3c9e6a52
@@ -518,12 +518,15 @@ enum iwl_tas_dyna_status {
|
||||
* @TAS_DISABLED_DUE_TO_BIOS: TAS is disabled because TAS is disabled in BIOS
|
||||
* @TAS_DISABLED_DUE_TO_SAR_6DBM: TAS is disabled because SAR limit is less than 6 Dbm
|
||||
* @TAS_DISABLED_REASON_INVALID: TAS disable reason is invalid
|
||||
* @TAS_DISABLED_DUE_TO_TABLE_SOURCE_INVALID: TAS is disabled due to
|
||||
* table source invalid
|
||||
* @TAS_DISABLED_REASON_MAX: TAS disable reason max value
|
||||
*/
|
||||
enum iwl_tas_statically_disabled_reason {
|
||||
TAS_DISABLED_DUE_TO_BIOS,
|
||||
TAS_DISABLED_DUE_TO_SAR_6DBM,
|
||||
TAS_DISABLED_REASON_INVALID,
|
||||
TAS_DISABLED_DUE_TO_TABLE_SOURCE_INVALID,
|
||||
|
||||
TAS_DISABLED_REASON_MAX,
|
||||
}; /*_TAS_STATICALLY_DISABLED_REASON_E*/
|
||||
|
||||
@@ -552,6 +552,8 @@ static ssize_t iwl_dbgfs_tas_get_status_read(struct file *file,
|
||||
"Due To SAR Limit Less Than 6 dBm",
|
||||
[TAS_DISABLED_REASON_INVALID] =
|
||||
"N/A",
|
||||
[TAS_DISABLED_DUE_TO_TABLE_SOURCE_INVALID] =
|
||||
"Due to table source invalid",
|
||||
};
|
||||
const char * const tas_current_status[TAS_DYNA_STATUS_MAX] = {
|
||||
[TAS_DYNA_INACTIVE] = "INACTIVE",
|
||||
|
||||
Reference in New Issue
Block a user