2 IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.
4 This file contains all NetFn App commands, including:
5 IPM Device "Global" Commands (Chapter 20)
6 Firmware Firewall & Command Discovery Commands (Chapter 21)
7 BMC Watchdog Timer Commands (Chapter 27)
8 IPMI Messaging Support Commands (Chapter 22)
9 RMCP+ Support and Payload Commands (Chapter 24)
11 See IPMI specification, Appendix G, Command Assignments
12 and Appendix H, Sub-function Assignments.
14 Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>
15 This program and the accompanying materials
16 are licensed and made available under the terms and conditions of the BSD License
17 which accompanies this distribution. The full text of the license may be found at
18 http://opensource.org/licenses/bsd-license.php
20 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
21 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
24 #ifndef _IPMI_NET_FN_APP_H_
25 #define _IPMI_NET_FN_APP_H_
29 // Net function definition for App command
31 #define IPMI_NETFN_APP 0x06
34 // Below is Definitions for IPM Device "Global" Commands (Chapter 20)
38 // Definitions for Get Device ID command
40 #define IPMI_APP_GET_DEVICE_ID 0x1
43 // Constants and Structure definitions for "Get Device ID" command to follow here
47 UINT8 DeviceRevision
: 4;
52 } IPMI_GET_DEVICE_ID_DEVICE_REV
;
56 UINT8 MajorFirmwareRev
: 7;
60 } IPMI_GET_DEVICE_ID_FIRMWARE_REV_1
;
64 UINT8 SensorDeviceSupport
: 1;
65 UINT8 SdrRepositorySupport
: 1;
66 UINT8 SelDeviceSupport
: 1;
67 UINT8 FruInventorySupport
: 1;
68 UINT8 IpmbMessageReceiver
: 1;
69 UINT8 IpmbMessageGenerator
: 1;
70 UINT8 BridgeSupport
: 1;
71 UINT8 ChassisSupport
: 1;
74 } IPMI_GET_DEVICE_ID_DEVICE_SUPPORT
;
79 IPMI_GET_DEVICE_ID_DEVICE_REV DeviceRevision
;
80 IPMI_GET_DEVICE_ID_FIRMWARE_REV_1 FirmwareRev1
;
81 UINT8 MinorFirmwareRev
;
82 UINT8 SpecificationVersion
;
83 IPMI_GET_DEVICE_ID_DEVICE_SUPPORT DeviceSupport
;
84 UINT8 ManufacturerId
[3];
86 UINT32 AuxFirmwareRevInfo
;
87 } IPMI_GET_DEVICE_ID_RESPONSE
;
91 // Definitions for Cold Reset command
93 #define IPMI_APP_COLD_RESET 0x2
96 // Constants and Structure definitions for "Cold Reset" command to follow here
100 // Definitions for Warm Reset command
102 #define IPMI_APP_WARM_RESET 0x3
105 // Constants and Structure definitions for "Warm Reset" command to follow here
109 // Definitions for Get Self Results command
111 #define IPMI_APP_GET_SELFTEST_RESULTS 0x4
114 // Constants and Structure definitions for "Get Self Test Results" command to follow here
117 UINT8 CompletionCode
;
120 } IPMI_SELF_TEST_RESULT_RESPONSE
;
122 #define IPMI_APP_SELFTEST_NO_ERROR 0x55
123 #define IPMI_APP_SELFTEST_NOT_IMPLEMENTED 0x56
124 #define IPMI_APP_SELFTEST_ERROR 0x57
125 #define IPMI_APP_SELFTEST_FATAL_HW_ERROR 0x58
126 #define IPMI_APP_SELFTEST_INACCESSIBLE_SEL 0x80
127 #define IPMI_APP_SELFTEST_INACCESSIBLE_SDR 0x40
128 #define IPMI_APP_SELFTEST_INACCESSIBLE_FRU 0x20
129 #define IPMI_APP_SELFTEST_IPMB_SIGNAL_FAIL 0x10
130 #define IPMI_APP_SELFTEST_SDR_REPOSITORY_EMPTY 0x08
131 #define IPMI_APP_SELFTEST_FRU_CORRUPT 0x04
132 #define IPMI_APP_SELFTEST_FW_BOOTBLOCK_CORRUPT 0x02
133 #define IPMI_APP_SELFTEST_FW_CORRUPT 0x01
136 // Definitions for Manufacturing Test ON command
138 #define IPMI_APP_MANUFACTURING_TEST_ON 0x5
141 // Constants and Structure definitions for "Manufacturing Test ON" command to follow here
145 // Definitions for Set ACPI Power State command
147 #define IPMI_APP_SET_ACPI_POWERSTATE 0x6
150 // Constants and Structure definitions for "Set ACPI Power State" command to follow here
154 // Definitions for System Power State
157 #define IPMI_SYSTEM_POWER_STATE_S0_G0 0x0
158 #define IPMI_SYSTEM_POWER_STATE_S1 0x1
159 #define IPMI_SYSTEM_POWER_STATE_S2 0x2
160 #define IPMI_SYSTEM_POWER_STATE_S3 0x3
161 #define IPMI_SYSTEM_POWER_STATE_S4 0x4
163 #define IPMI_SYSTEM_POWER_STATE_S5_G2 0x5
164 // Sent when message source cannot differentiate between S4 and S5
165 #define IPMI_SYSTEM_POWER_STATE_S4_S5 0x6
167 #define IPMI_SYSTEM_POWER_STATE_G3 0x7
168 // Sleeping - cannot differentiate between S1-S3
169 #define IPMI_SYSTEM_POWER_STATE_SLEEPING 0x8
170 // Sleeping - cannot differentiate between S1-S4
171 #define IPMI_SYSTEM_POWER_STATE_G1_SLEEPING 0x9
172 // S5 entered by override
173 #define IPMI_SYSTEM_POWER_STATE_OVERRIDE 0xA
174 #define IPMI_SYSTEM_POWER_STATE_LEGACY_ON 0x20
175 #define IPMI_SYSTEM_POWER_STATE_LEGACY_OFF 0x21
176 #define IPMI_SYSTEM_POWER_STATE_UNKNOWN 0x2A
177 #define IPMI_SYSTEM_POWER_STATE_NO_CHANGE 0x7F
180 // Definitions for Device Power State
182 #define IPMI_DEVICE_POWER_STATE_D0 0x0
183 #define IPMI_DEVICE_POWER_STATE_D1 0x1
184 #define IPMI_DEVICE_POWER_STATE_D2 0x2
185 #define IPMI_DEVICE_POWER_STATE_D3 0x3
186 #define IPMI_DEVICE_POWER_STATE_UNKNOWN 0x2A
187 #define IPMI_DEVICE_POWER_STATE_NO_CHANGE 0x7F
191 UINT8 PowerState
: 7;
192 UINT8 StateChange
: 1;
195 } IPMI_ACPI_POWER_STATE
;
198 IPMI_ACPI_POWER_STATE SystemPowerState
;
199 IPMI_ACPI_POWER_STATE DevicePowerState
;
200 } IPMI_SET_ACPI_POWER_STATE_REQUEST
;
203 // Definitions for Get ACPI Power State command
205 #define IPMI_APP_GET_ACPI_POWERSTATE 0x7
208 // Constants and Structure definitions for "Get ACPI Power State" command to follow here
212 // Definitions for Get Device GUID command
214 #define IPMI_APP_GET_DEVICE_GUID 0x8
217 // Constants and Structure definitions for "Get Device GUID" command to follow here
220 // Message structure definition for "Get Device Guid" IPMI command
223 UINT8 CompletionCode
;
225 } IPMI_GET_DEVICE_GUID_RESPONSE
;
228 // Below is Definitions for BMC Watchdog Timer Commands (Chapter 27)
232 // Definitions for Reset WatchDog Timer command
234 #define IPMI_APP_RESET_WATCHDOG_TIMER 0x22
237 // Definitions for Set WatchDog Timer command
239 #define IPMI_APP_SET_WATCHDOG_TIMER 0x24
242 // Constants and Structure definitions for "Set WatchDog Timer" command to follow here
246 // Definitions for watchdog timer use
248 #define IPMI_WATCHDOG_TIMER_BIOS_FRB2 0x1
249 #define IPMI_WATCHDOG_TIMER_BIOS_POST 0x2
250 #define IPMI_WATCHDOG_TIMER_OS_LOADER 0x3
251 #define IPMI_WATCHDOG_TIMER_SMS 0x4
252 #define IPMI_WATCHDOG_TIMER_OEM 0x5
255 // Structure definition for timer Use
261 UINT8 TimerRunning
: 1;
262 UINT8 TimerUseExpirationFlagLog
: 1;
265 } IPMI_WATCHDOG_TIMER_USE
;
268 // Definitions for watchdog timeout action
270 #define IPMI_WATCHDOG_TIMER_ACTION_NO_ACTION 0x0
271 #define IPMI_WATCHDOG_TIMER_ACTION_HARD_RESET 0x1
272 #define IPMI_WATCHDOG_TIMER_ACTION_POWER_DONW 0x2
273 #define IPMI_WATCHDOG_TIMER_ACTION_POWER_CYCLE 0x3
276 // Definitions for watchdog pre-timeout interrupt
278 #define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_NONE 0x0
279 #define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_SMI 0x1
280 #define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_NMI 0x2
281 #define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_MESSAGING 0x3
284 // Structure definitions for Timer Actions
288 UINT8 TimeoutAction
: 3;
290 UINT8 PreTimeoutInterrupt
: 3;
294 } IPMI_WATCHDOG_TIMER_ACTIONS
;
297 // Bit definitions for Timer use expiration flags
299 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_BIOS_FRB2 BIT1
300 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_BIOS_POST BIT2
301 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_OS_LOAD BIT3
302 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_SMS_OS BIT4
303 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_OEM BIT5
306 IPMI_WATCHDOG_TIMER_USE TimerUse
;
307 IPMI_WATCHDOG_TIMER_ACTIONS TimerActions
;
308 UINT8 PretimeoutInterval
;
309 UINT8 TimerUseExpirationFlagsClear
;
310 UINT16 InitialCountdownValue
;
311 } IPMI_SET_WATCHDOG_TIMER_REQUEST
;
314 // Definitions for Get WatchDog Timer command
316 #define IPMI_APP_GET_WATCHDOG_TIMER 0x25
319 // Constants and Structure definitions for "Get WatchDog Timer" command to follow here
322 UINT8 CompletionCode
;
323 IPMI_WATCHDOG_TIMER_USE TimerUse
;
324 IPMI_WATCHDOG_TIMER_ACTIONS TimerActions
;
325 UINT8 PretimeoutInterval
;
326 UINT8 TimerUseExpirationFlagsClear
;
327 UINT16 InitialCountdownValue
;
328 UINT16 PresentCountdownValue
;
329 } IPMI_GET_WATCHDOG_TIMER_RESPONSE
;
332 // Below is Definitions for IPMI Messaging Support Commands (Chapter 22)
336 // Definitions for Set BMC Global Enables command
338 #define IPMI_APP_SET_BMC_GLOBAL_ENABLES 0x2E
341 // Constants and Structure definitions for "Set BMC Global Enables " command to follow here
345 UINT8 ReceiveMessageQueueInterrupt
: 1;
346 UINT8 EventMessageBufferFullInterrupt
: 1;
347 UINT8 EventMessageBuffer
: 1;
348 UINT8 SystemEventLogging
: 1;
350 UINT8 Oem0Enable
: 1;
351 UINT8 Oem1Enable
: 1;
352 UINT8 Oem2Enable
: 1;
355 } IPMI_BMC_GLOBAL_ENABLES
;
358 IPMI_BMC_GLOBAL_ENABLES SetEnables
;
359 } IPMI_SET_BMC_GLOBAL_ENABLES_REQUEST
;
362 // Definitions for Get BMC Global Enables command
364 #define IPMI_APP_GET_BMC_GLOBAL_ENABLES 0x2F
367 // Constants and Structure definitions for "Get BMC Global Enables " command to follow here
370 UINT8 CompletionCode
;
371 IPMI_BMC_GLOBAL_ENABLES GetEnables
;
372 } IPMI_GET_BMC_GLOBAL_ENABLES_RESPONSE
;
375 // Definitions for Clear Message Flags command
377 #define IPMI_APP_CLEAR_MESSAGE_FLAGS 0x30
380 // Constants and Structure definitions for "Clear Message Flags" command to follow here
384 UINT8 ReceiveMessageQueue
: 1;
385 UINT8 EventMessageBuffer
: 1;
387 UINT8 WatchdogPerTimeoutInterrupt
: 1;
394 } IPMI_MESSAGE_FLAGS
;
397 IPMI_MESSAGE_FLAGS ClearFlags
;
398 } IPMI_CLEAR_MESSAGE_FLAGS_REQUEST
;
401 // Definitions for Get Message Flags command
403 #define IPMI_APP_GET_MESSAGE_FLAGS 0x31
406 // Constants and Structure definitions for "Get Message Flags" command to follow here
409 UINT8 CompletionCode
;
410 IPMI_MESSAGE_FLAGS GetFlags
;
411 } IPMI_GET_MESSAGE_FLAGS_RESPONSE
;
414 // Definitions for Enable Message Channel Receive command
416 #define IPMI_APP_ENABLE_MESSAGE_CHANNEL_RECEIVE 0x32
419 // Constants and Structure definitions for "Enable Message Channel Receive" command to follow here
423 // Definitions for Get Message command
425 #define IPMI_APP_GET_MESSAGE 0x33
428 // Constants and Structure definitions for "Get Message" command to follow here
432 UINT8 ChannelNumber
: 4;
433 UINT8 InferredPrivilegeLevel
: 4;
436 } IPMI_GET_MESSAGE_CHANNEL_NUMBER
;
439 UINT8 CompletionCode
;
440 IPMI_GET_MESSAGE_CHANNEL_NUMBER ChannelNumber
;
441 UINT8 MessageData
[0];
442 } IPMI_GET_MESSAGE_RESPONSE
;
445 // Definitions for Send Message command
447 #define IPMI_APP_SEND_MESSAGE 0x34
450 // Constants and Structure definitions for "Send Message" command to follow here
454 UINT8 ChannelNumber
: 4;
455 UINT8 Authentication
: 1;
456 UINT8 Encryption
: 1;
460 } IPMI_SEND_MESSAGE_CHANNEL_NUMBER
;
463 UINT8 CompletionCode
;
464 IPMI_SEND_MESSAGE_CHANNEL_NUMBER ChannelNumber
;
465 UINT8 MessageData
[0];
466 } IPMI_SEND_MESSAGE_REQUEST
;
469 UINT8 CompletionCode
;
470 UINT8 ResponseData
[0];
471 } IPMI_SEND_MESSAGE_RESPONSE
;
474 // Definitions for Read Event Message Buffer command
476 #define IPMI_APP_READ_EVENT_MSG_BUFFER 0x35
479 // Constants and Structure definitions for "Read Event Message Buffer" command to follow here
483 // Definitions for Get BT Interface Capabilities command
485 #define IPMI_APP_GET_BT_INTERFACE_CAPABILITY 0x36
488 // Constants and Structure definitions for "Get BT Interface Capabilities" command to follow here
492 // Definitions for Get System GUID command
494 #define IPMI_APP_GET_SYSTEM_GUID 0x37
497 // Constants and Structure definitions for "Get System GUID" command to follow here
501 // Definitions for Get Channel Authentication Capabilities command
503 #define IPMI_APP_GET_CHANNEL_AUTHENTICATION_CAPABILITIES 0x38
506 // Constants and Structure definitions for "Get Channel Authentication Capabilities" command to follow here
510 // Definitions for Get Session Challenge command
512 #define IPMI_APP_GET_SESSION_CHALLENGE 0x39
515 // Constants and Structure definitions for "Get Session Challenge" command to follow here
519 // Definitions for Activate Session command
521 #define IPMI_APP_ACTIVATE_SESSION 0x3A
524 // Constants and Structure definitions for "Activate Session" command to follow here
528 // Definitions for Set Session Privelege Level command
530 #define IPMI_APP_SET_SESSION_PRIVELEGE_LEVEL 0x3B
533 // Constants and Structure definitions for "Set Session Privelege Level" command to follow here
537 // Definitions for Close Session command
539 #define IPMI_APP_CLOSE_SESSION 0x3C
542 // Constants and Structure definitions for "Close Session" command to follow here
546 // Definitions for Get Session Info command
548 #define IPMI_APP_GET_SESSION_INFO 0x3D
551 // Constants and Structure definitions for "Get Session Info" command to follow here
555 // Definitions for Get Auth Code command
557 #define IPMI_APP_GET_AUTHCODE 0x3F
560 // Constants and Structure definitions for "Get AuthCode" command to follow here
564 // Definitions for Set Channel Access command
566 #define IPMI_APP_SET_CHANNEL_ACCESS 0x40
569 // Constants and Structure definitions for "Set Channel Access" command to follow here
573 // Definitions for Get Channel Access command
575 #define IPMI_APP_GET_CHANNEL_ACCESS 0x41
578 // Constants and Structure definitions for "Get Channel Access" command to follow here
582 // Definitions for channel access memory type in Get Channel Access command request
584 #define IPMI_CHANNEL_ACCESS_MEMORY_TYPE_NON_VOLATILE 0x1
585 #define IPMI_CHANNEL_ACCESS_MEMORY_TYPE_PRESENT_VOLATILE_SETTING 0x2
588 // Definitions for channel access modes in Get Channel Access command response
590 #define IPMI_CHANNEL_ACCESS_MODES_DISABLED 0x0
591 #define IPMI_CHANNEL_ACCESS_MODES_PRE_BOOT_ONLY 0x1
592 #define IPMI_CHANNEL_ACCESS_MODES_ALWAYS_AVAILABLE 0x2
593 #define IPMI_CHANNEL_ACCESS_MODES_SHARED 0x3
601 } IPMI_GET_CHANNEL_ACCESS_CHANNEL_NUMBER
;
606 UINT8 MemoryType
: 2;
609 } IPMI_GET_CHANNEL_ACCESS_TYPE
;
612 IPMI_GET_CHANNEL_ACCESS_CHANNEL_NUMBER ChannelNumber
;
613 IPMI_GET_CHANNEL_ACCESS_TYPE AccessType
;
614 } IPMI_GET_CHANNEL_ACCESS_REQUEST
;
618 UINT8 AccessMode
: 3;
619 UINT8 UserLevelAuthEnabled
: 1;
620 UINT8 MessageAuthEnable
: 1;
625 } IPMI_GET_CHANNEL_ACCESS_CHANNEL_ACCESS
;
629 UINT8 ChannelPriviledgeLimit
: 4;
633 } IPMI_GET_CHANNEL_ACCESS_PRIVILEGE_LIMIT
;
636 UINT8 CompletionCode
;
637 IPMI_GET_CHANNEL_ACCESS_CHANNEL_ACCESS ChannelAccess
;
638 IPMI_GET_CHANNEL_ACCESS_PRIVILEGE_LIMIT PrivilegeLimit
;
639 } IPMI_GET_CHANNEL_ACCESS_RESPONSE
;
642 // Definitions for Get Channel Info command
644 #define IPMI_APP_GET_CHANNEL_INFO 0x42
647 // Constants and Structure definitions for "Get Channel Info" command to follow here
651 // Definitions for channel media type
654 #define IPMI_CHANNEL_MEDIA_TYPE_IPMB 0x1
656 #define IPMI_CHANNEL_MEDIA_TYPE_ICMB_1_0 0x2
658 #define IPMI_CHANNEL_MEDIA_TYPE_ICMB_0_9 0x3
660 #define IPMI_CHANNEL_MEDIA_TYPE_802_3_LAN 0x4
661 // Asynch. Serial/Modem (RS-232)
662 #define IPMI_CHANNEL_MEDIA_TYPE_RS_232 0x5
664 #define IPMI_CHANNEL_MEDIA_TYPE_OTHER_LAN 0x6
666 #define IPMI_CHANNEL_MEDIA_TYPE_PCI_SM_BUS 0x7
668 #define IPMI_CHANNEL_MEDIA_TYPE_SM_BUS_V1 0x8
670 #define IPMI_CHANNEL_MEDIA_TYPE_SM_BUS_V2 0x9
672 #define IPMI_CHANNEL_MEDIA_TYPE_USB1 0xA
674 #define IPMI_CHANNEL_MEDIA_TYPE_USB2 0xB
675 // System Interface (KCS, SMIC, or BT)
676 #define IPMI_CHANNEL_MEDIA_TYPE_SYSTEM_INTERFACE 0xC
678 #define IPMI_CHANNEL_MEDIA_TYPE_OEM_START 0x60
679 #define IPMI_CHANNEL_MEDIA_TYPE_OEM_END 0x7F
687 } IPMI_CHANNEL_INFO_CHANNEL_NUMBER
;
691 UINT8 ChannelMediumType
: 7;
695 } IPMI_CHANNEL_INFO_MEDIUM_TYPE
;
699 UINT8 ChannelProtocolType
: 5;
703 } IPMI_CHANNEL_INFO_PROTOCOL_TYPE
;
707 UINT8 ActiveSessionCount
: 6;
708 UINT8 SessionSupport
: 2;
711 } IPMI_CHANNEL_INFO_SESSION_SUPPORT
;
714 UINT8 CompletionCode
;
715 IPMI_CHANNEL_INFO_CHANNEL_NUMBER ChannelNumber
;
716 IPMI_CHANNEL_INFO_MEDIUM_TYPE MediumType
;
717 IPMI_CHANNEL_INFO_PROTOCOL_TYPE ProtocolType
;
718 IPMI_CHANNEL_INFO_SESSION_SUPPORT SessionSupport
;
720 UINT16 AuxChannelInfo
;
721 } IPMI_GET_CHANNEL_INFO_RESPONSE
;
724 // Definitions for Get Channel Info command
726 #define IPMI_APP_GET_CHANNEL_INFO 0x42
729 // Constants and Structure definitions for "Get Channel Info" command to follow here
733 // Definitions for Set User Access command
735 #define IPMI_APP_SET_USER_ACCESS 0x43
738 // Constants and Structure definitions for "Set User Access" command to follow here
742 // Definitions for Get User Access command
744 #define IPMI_APP_GET_USER_ACCESS 0x44
747 // Constants and Structure definitions for "Get User Access" command to follow here
755 } IPMI_GET_USER_ACCESS_CHANNEL_NUMBER
;
766 IPMI_GET_USER_ACCESS_CHANNEL_NUMBER ChannelNumber
;
768 } IPMI_GET_USER_ACCESS_REQUEST
;
776 } IPMI_GET_USER_ACCESS_MAX_USER_ID
;
780 UINT8 CurrentUserId
: 6;
781 UINT8 UserIdEnableStatus
: 2;
784 } IPMI_GET_USER_ACCESS_CURRENT_USER
;
788 UINT8 FixedUserId
: 6;
792 } IPMI_GET_USER_ACCESS_FIXED_NAME_USER
;
796 UINT8 UserPrivilegeLimit
: 4;
797 UINT8 EnableIpmiMessaging
: 1;
798 UINT8 EnableUserLinkAuthetication
: 1;
799 UINT8 UserAccessAvailable
: 1;
803 } IPMI_GET_USER_ACCESS_CHANNEL_ACCESS
;
806 UINT8 CompletionCode
;
807 IPMI_GET_USER_ACCESS_MAX_USER_ID MaxUserId
;
808 IPMI_GET_USER_ACCESS_CURRENT_USER CurrentUser
;
809 IPMI_GET_USER_ACCESS_FIXED_NAME_USER FixedNameUser
;
810 IPMI_GET_USER_ACCESS_CHANNEL_ACCESS ChannelAccess
;
811 } IPMI_GET_USER_ACCESS_RESPONSE
;
814 // Definitions for Set User Name command
816 #define IPMI_APP_SET_USER_NAME 0x45
819 // Constants and Structure definitions for "Set User Name" command to follow here
824 } IPMI_SET_USER_NAME_REQUEST
;
827 // Definitions for Get User Name command
829 #define IPMI_APP_GET_USER_NAME 0x46
832 // Constants and Structure definitions for "Get User Name" command to follow here
836 } IPMI_GET_USER_NAME_REQUEST
;
839 UINT8 CompletionCode
;
841 } IPMI_GET_USER_NAME_RESPONSE
;
844 // Definitions for Set User Password command
846 #define IPMI_APP_SET_USER_PASSWORD 0x47
849 // Constants and Structure definitions for "Set User Password" command to follow here
853 // Definitions for Set User password command operation type
855 #define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_DISABLE_USER 0x0
856 #define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_ENABLE_USER 0x1
857 #define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_SET_PASSWORD 0x2
858 #define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_TEST_PASSWORD 0x3
861 // Definitions for Set user password command password size
863 #define IPMI_SET_USER_PASSWORD_PASSWORD_SIZE_16 0x0
864 #define IPMI_SET_USER_PASSWORD_PASSWORD_SIZE_20 0x1
870 UINT8 PasswordSize
: 1;
873 } IPMI_SET_USER_PASSWORD_USER_ID
;
881 } IPMI_SET_USER_PASSWORD_OPERATION
;
884 IPMI_SET_USER_PASSWORD_USER_ID UserId
;
885 IPMI_SET_USER_PASSWORD_OPERATION Operation
;
886 UINT8 PasswordData
[0]; // 16 or 20 bytes, depending on the 'PasswordSize' field
887 } IPMI_SET_USER_PASSWORD_REQUEST
;
890 // Below is Definitions for RMCP+ Support and Payload Commands (Chapter 24)
894 // Definitions for Activate Payload command
896 #define IPMI_APP_ACTIVATE_PAYLOAD 0x48
899 // Constants and Structure definitions for "Activate Payload" command to follow here
903 // Definitions for De-Activate Payload command
905 #define IPMI_APP_DEACTIVATE_PAYLOAD 0x49
908 // Constants and Structure definitions for "DeActivate Payload" command to follow here
912 // Definitions for Get Payload activation Status command
914 #define IPMI_APP_GET_PAYLOAD_ACTIVATION_STATUS 0x4a
917 // Constants and Structure definitions for "Get Payload activation Status" command to follow here
921 // Definitions for Get Payload Instance Info command
923 #define IPMI_APP_GET_PAYLOAD_INSTANCE_INFO 0x4b
926 // Constants and Structure definitions for "Get Payload Instance Info" command to follow here
930 // Definitions for Set User Payload Access command
932 #define IPMI_APP_SET_USER_PAYLOAD_ACCESS 0x4C
935 // Constants and Structure definitions for "Set User Payload Access" command to follow here
939 // Definitions for Get User Payload Access command
941 #define IPMI_APP_GET_USER_PAYLOAD_ACCESS 0x4D
944 // Constants and Structure definitions for "Get User Payload Access" command to follow here
948 // Definitions for Get Channel Payload Support command
950 #define IPMI_APP_GET_CHANNEL_PAYLOAD_SUPPORT 0x4E
953 // Constants and Structure definitions for "Get Channel Payload Support" command to follow here
957 // Definitions for Get Channel Payload Version command
959 #define IPMI_APP_GET_CHANNEL_PAYLOAD_VERSION 0x4F
962 // Constants and Structure definitions for "Get Channel Payload Version" command to follow here
966 // Definitions for Get Channel OEM Payload Info command
968 #define IPMI_APP_GET_CHANNEL_OEM_PAYLOAD_INFO 0x50
971 // Constants and Structure definitions for "Get Channel OEM Payload Info" command to follow here
975 // Definitions for Master Write-Read command
977 #define IPMI_APP_MASTER_WRITE_READ 0x52
980 // Constants and Structure definitions for "Master Write Read" command to follow here
984 // Definitions for Get Channel Cipher Suites command
986 #define IPMI_APP_GET_CHANNEL_CIPHER_SUITES 0x54
989 // Constants and Structure definitions for "Get Channel Cipher Suites" command to follow here
993 // Below is Definitions for RMCP+ Support and Payload Commands (Chapter 24, Section 3)
997 // Definitions for Suspend-Resume Payload Encryption command
999 #define IPMI_APP_SUSPEND_RESUME_PAYLOAD_ENCRYPTION 0x55
1002 // Constants and Structure definitions for "Suspend-Resume Payload Encryption" command to follow here
1006 // Below is Definitions for IPMI Messaging Support Commands (Chapter 22, Section 25 and 9)
1010 // Definitions for Set Channel Security Keys command
1012 #define IPMI_APP_SET_CHANNEL_SECURITY_KEYS 0x56
1015 // Constants and Structure definitions for "Set Channel Security Keys" command to follow here
1019 // Definitions for Get System Interface Capabilities command
1021 #define IPMI_APP_GET_SYSTEM_INTERFACE_CAPABILITIES 0x57
1024 // Constants and Structure definitions for "Get System Interface Capabilities" command to follow here
1028 // Definitions for Get System Interface Capabilities command SSIF transaction support
1030 #define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_SINGLE_PARTITION_RW 0x0
1031 #define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_MULTI_PARTITION_RW 0x1
1032 #define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_MULTI_PARTITION_RW_WITH_MIDDLE 0x2