Add IPMI Get-Chassis-Capabilities command
* Implement response to separately commented fields.
* Add to the whitelist.
Note: some hardcoded fields need future work.
Resolve openbmc/openbmc#438.
Change-Id: Ica9a55a14987ddc6b9984c7d3dcb143416ee7e37
Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
diff --git a/chassishandler.h b/chassishandler.h
index e47b4a1..b290f21 100644
--- a/chassishandler.h
+++ b/chassishandler.h
@@ -7,6 +7,7 @@
// IPMI commands for Chassis net functions.
enum ipmi_netfn_app_cmds
{
+ IPMI_CMD_GET_CHASSIS_CAP = 0x00,
// Chassis Control
IPMI_CMD_CHASSIS_CONTROL = 0x02,
// Get capability bits