Add support for IPMI GetChassisStatus command
* Factor response to explicitly commented fields
* Add GetChassisStatus command to whilelist
Note: some fields need furture work.
Resolves openbmc/openbmc#439
Change-Id: I7a8d6bfe384f2621c157db379680921db4756fcc
Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
diff --git a/chassishandler.h b/chassishandler.h
index b290f21..36958c5 100644
--- a/chassishandler.h
+++ b/chassishandler.h
@@ -8,6 +8,8 @@
enum ipmi_netfn_app_cmds
{
IPMI_CMD_GET_CHASSIS_CAP = 0x00,
+ // Chassis Status
+ IPMI_CMD_CHASSIS_STATUS = 0x01,
// Chassis Control
IPMI_CMD_CHASSIS_CONTROL = 0x02,
// Get capability bits