nvme_manager: Read WCTEMP to set threshold dynamically
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ib240ed69fbf7d4b135dea91839153b333183347d
diff --git a/nvme_manager.hpp b/nvme_manager.hpp
index 7017475..97ef204 100644
--- a/nvme_manager.hpp
+++ b/nvme_manager.hpp
@@ -80,6 +80,10 @@
int8_t sensorValue; /* Sensor value, if sensor value didn't be
update, means sensor failure, default set to
129(0x81) accroding to NVMe-MI SPEC*/
+ int8_t wcTemp; /* Indicates over temperature warning threshold.
+ This is intended to initially match the temperature
+ reported in the WCTEMP field in the NVMe Identify
+ Controller data structure */
};
/** @brief Setup polling timer in a sd event loop and attach to D-Bus