summaryrefslogtreecommitdiffstats
path: root/user_channel/usercommands.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'user_channel/usercommands.hpp')
-rw-r--r--user_channel/usercommands.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/user_channel/usercommands.hpp b/user_channel/usercommands.hpp
index ee33b5a..afbe67a 100644
--- a/user_channel/usercommands.hpp
+++ b/user_channel/usercommands.hpp
@@ -29,6 +29,12 @@ enum ipmi_netfn_user_cmds
IPMI_CMD_SET_USER_PASSWORD = 0x47,
};
+enum class IPMISetPasswordReturnCodes
+{
+ ipmiCCPasswdFailMismatch = 0x80,
+ ipmiCCPasswdFailWrongSize = 0x81,
+};
+
static constexpr uint8_t userIdEnabledViaSetPassword = 0x1;
static constexpr uint8_t userIdDisabledViaSetPassword = 0x2;
OpenPOWER on IntegriCloud