Adding Def user creation using Intel OEM command

New Def user  is created based on given username and pwd

Tested: New user is created successfully using this cmd.
ipmitool -I LAN raw OEMNefn Cmd <16 bytes username><20 bytes Pwd>
new username and password is set in user id 2 on top of def user

Added more restriction like works only in LAN,system interface
should not available,LAN should be configured in static and
user 2 should not enabled or configured previously.

Command work only with user created with callback priv by default

Change-Id: I77809e18fbef8e82ae2ba27527698e7fa5c5fd85
Signed-off-by: Suryakanth Sekar <suryakanth.sekar@linux.intel.com>
diff --git a/include/oemcommands.hpp b/include/oemcommands.hpp
index 3255da1..06a3caa 100644
--- a/include/oemcommands.hpp
+++ b/include/oemcommands.hpp
@@ -16,6 +16,7 @@
 
 #pragma once
 
+#include <user_channel/user_layer.hpp>
 enum class IPMINetfnIntelOEMGeneralCmd
 {
     cmdSetBIOSID = 0x26,
@@ -25,6 +26,7 @@
     cmdSendEmbeddedFWUpdStatus = 0x44,
     cmdSetPowerRestoreDelay = 0x54,
     cmdGetPowerRestoreDelay = 0x55,
+    cmdSetOEMUser2Activation = 0x5A,
     cmdSetShutdownPolicy = 0x60,
     cmdGetShutdownPolicy = 0x62,
     cmdSetFanConfig = 0x89,
@@ -143,6 +145,7 @@
 // 2: host serial port 1 normal spend, port 2 high speed
 // 3: host serial port 1 and 2 high speed
 static constexpr const uint8_t HostSerialCfgParamMax = 3;
+static constexpr uint8_t ipmiDefaultUserId = 2;
 
 static constexpr const uint8_t selEvtTargetMask = 0xF0;
 static constexpr const uint8_t selEvtTargetShift = 4;