Path: blob/main/sys/contrib/dev/iwlwifi/fw/api/system.h
48427 views
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */1/*2* Copyright (C) 2012-2014, 2019-2021 Intel Corporation3* Copyright (C) 2013-2015 Intel Mobile Communications GmbH4* Copyright (C) 2016-2017 Intel Deutschland GmbH5*/6#ifndef __iwl_fw_api_system_h__7#define __iwl_fw_api_system_h__89#define SOC_CONFIG_CMD_FLAGS_DISCRETE BIT(0)10#define SOC_CONFIG_CMD_FLAGS_LOW_LATENCY BIT(1)1112#define SOC_FLAGS_LTR_APPLY_DELAY_MASK 0xc13#define SOC_FLAGS_LTR_APPLY_DELAY_NONE 014#define SOC_FLAGS_LTR_APPLY_DELAY_200 115#define SOC_FLAGS_LTR_APPLY_DELAY_2500 216#define SOC_FLAGS_LTR_APPLY_DELAY_1820 31718/**19* struct iwl_soc_configuration_cmd - Set device stabilization latency20*21* @flags: soc settings flags. In VER_1, we can only set the DISCRETE22* flag, because the FW treats the whole value as an integer. In23* VER_2, we can set the bits independently.24* @latency: time for SOC to ensure stable power & XTAL25*/26struct iwl_soc_configuration_cmd {27__le32 flags;28__le32 latency;29} __packed; /*30* SOC_CONFIGURATION_CMD_S_VER_1 (see description above)31* SOC_CONFIGURATION_CMD_S_VER_232*/3334/**35* struct iwl_system_features_control_cmd - system features control command36* @features: bitmap of features to disable37*/38struct iwl_system_features_control_cmd {39__le32 features[4];40} __packed; /* SYSTEM_FEATURES_CONTROL_CMD_API_S_VER_1 */4142#endif /* __iwl_fw_api_system_h__ */434445