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 SPDX-License-Identifier: BSD-2-Clause-Patent
18 #ifndef _IPMI_NET_FN_APP_H_
19 #define _IPMI_NET_FN_APP_H_
23 // Net function definition for App command
25 #define IPMI_NETFN_APP 0x06
28 // Below is Definitions for IPM Device "Global" Commands (Chapter 20)
32 // Definitions for Get Device ID command
34 #define IPMI_APP_GET_DEVICE_ID 0x1
37 // Constants and Structure definitions for "Get Device ID" command to follow here
41 UINT8 DeviceRevision
: 4;
46 } IPMI_GET_DEVICE_ID_DEVICE_REV
;
50 UINT8 MajorFirmwareRev
: 7;
54 } IPMI_GET_DEVICE_ID_FIRMWARE_REV_1
;
58 UINT8 SensorDeviceSupport
: 1;
59 UINT8 SdrRepositorySupport
: 1;
60 UINT8 SelDeviceSupport
: 1;
61 UINT8 FruInventorySupport
: 1;
62 UINT8 IpmbMessageReceiver
: 1;
63 UINT8 IpmbMessageGenerator
: 1;
64 UINT8 BridgeSupport
: 1;
65 UINT8 ChassisSupport
: 1;
68 } IPMI_GET_DEVICE_ID_DEVICE_SUPPORT
;
73 IPMI_GET_DEVICE_ID_DEVICE_REV DeviceRevision
;
74 IPMI_GET_DEVICE_ID_FIRMWARE_REV_1 FirmwareRev1
;
75 UINT8 MinorFirmwareRev
;
76 UINT8 SpecificationVersion
;
77 IPMI_GET_DEVICE_ID_DEVICE_SUPPORT DeviceSupport
;
78 UINT8 ManufacturerId
[3];
80 UINT32 AuxFirmwareRevInfo
;
81 } IPMI_GET_DEVICE_ID_RESPONSE
;
84 // Definitions for Cold Reset command
86 #define IPMI_APP_COLD_RESET 0x2
89 // Constants and Structure definitions for "Cold Reset" command to follow here
93 // Definitions for Warm Reset command
95 #define IPMI_APP_WARM_RESET 0x3
98 // Constants and Structure definitions for "Warm Reset" command to follow here
102 // Definitions for Get Self Results command
104 #define IPMI_APP_GET_SELFTEST_RESULTS 0x4
107 // Constants and Structure definitions for "Get Self Test Results" command to follow here
110 UINT8 CompletionCode
;
113 } IPMI_SELF_TEST_RESULT_RESPONSE
;
115 #define IPMI_APP_SELFTEST_NO_ERROR 0x55
116 #define IPMI_APP_SELFTEST_NOT_IMPLEMENTED 0x56
117 #define IPMI_APP_SELFTEST_ERROR 0x57
118 #define IPMI_APP_SELFTEST_FATAL_HW_ERROR 0x58
119 #define IPMI_APP_SELFTEST_INACCESSIBLE_SEL 0x80
120 #define IPMI_APP_SELFTEST_INACCESSIBLE_SDR 0x40
121 #define IPMI_APP_SELFTEST_INACCESSIBLE_FRU 0x20
122 #define IPMI_APP_SELFTEST_IPMB_SIGNAL_FAIL 0x10
123 #define IPMI_APP_SELFTEST_SDR_REPOSITORY_EMPTY 0x08
124 #define IPMI_APP_SELFTEST_FRU_CORRUPT 0x04
125 #define IPMI_APP_SELFTEST_FW_BOOTBLOCK_CORRUPT 0x02
126 #define IPMI_APP_SELFTEST_FW_CORRUPT 0x01
129 // Definitions for Manufacturing Test ON command
131 #define IPMI_APP_MANUFACTURING_TEST_ON 0x5
134 // Constants and Structure definitions for "Manufacturing Test ON" command to follow here
138 // Definitions for Set ACPI Power State command
140 #define IPMI_APP_SET_ACPI_POWERSTATE 0x6
143 // Constants and Structure definitions for "Set ACPI Power State" command to follow here
147 // Definitions for System Power State
150 #define IPMI_SYSTEM_POWER_STATE_S0_G0 0x0
151 #define IPMI_SYSTEM_POWER_STATE_S1 0x1
152 #define IPMI_SYSTEM_POWER_STATE_S2 0x2
153 #define IPMI_SYSTEM_POWER_STATE_S3 0x3
154 #define IPMI_SYSTEM_POWER_STATE_S4 0x4
156 #define IPMI_SYSTEM_POWER_STATE_S5_G2 0x5
157 // Sent when message source cannot differentiate between S4 and S5
158 #define IPMI_SYSTEM_POWER_STATE_S4_S5 0x6
160 #define IPMI_SYSTEM_POWER_STATE_G3 0x7
161 // Sleeping - cannot differentiate between S1-S3
162 #define IPMI_SYSTEM_POWER_STATE_SLEEPING 0x8
163 // Sleeping - cannot differentiate between S1-S4
164 #define IPMI_SYSTEM_POWER_STATE_G1_SLEEPING 0x9
165 // S5 entered by override
166 #define IPMI_SYSTEM_POWER_STATE_OVERRIDE 0xA
167 #define IPMI_SYSTEM_POWER_STATE_LEGACY_ON 0x20
168 #define IPMI_SYSTEM_POWER_STATE_LEGACY_OFF 0x21
169 #define IPMI_SYSTEM_POWER_STATE_UNKNOWN 0x2A
170 #define IPMI_SYSTEM_POWER_STATE_NO_CHANGE 0x7F
173 // Definitions for Device Power State
175 #define IPMI_DEVICE_POWER_STATE_D0 0x0
176 #define IPMI_DEVICE_POWER_STATE_D1 0x1
177 #define IPMI_DEVICE_POWER_STATE_D2 0x2
178 #define IPMI_DEVICE_POWER_STATE_D3 0x3
179 #define IPMI_DEVICE_POWER_STATE_UNKNOWN 0x2A
180 #define IPMI_DEVICE_POWER_STATE_NO_CHANGE 0x7F
184 UINT8 PowerState
: 7;
185 UINT8 StateChange
: 1;
188 } IPMI_ACPI_POWER_STATE
;
191 IPMI_ACPI_POWER_STATE SystemPowerState
;
192 IPMI_ACPI_POWER_STATE DevicePowerState
;
193 } IPMI_SET_ACPI_POWER_STATE_REQUEST
;
196 // Definitions for Get ACPI Power State command
198 #define IPMI_APP_GET_ACPI_POWERSTATE 0x7
201 // Constants and Structure definitions for "Get ACPI Power State" command to follow here
205 // Definitions for Get Device GUID command
207 #define IPMI_APP_GET_DEVICE_GUID 0x8
210 // Constants and Structure definitions for "Get Device GUID" command to follow here
213 // Message structure definition for "Get Device Guid" IPMI command
216 UINT8 CompletionCode
;
218 } IPMI_GET_DEVICE_GUID_RESPONSE
;
221 // Below is Definitions for BMC Watchdog Timer Commands (Chapter 27)
225 // Definitions for Reset WatchDog Timer command
227 #define IPMI_APP_RESET_WATCHDOG_TIMER 0x22
230 // Definitions for Set WatchDog Timer command
232 #define IPMI_APP_SET_WATCHDOG_TIMER 0x24
235 // Constants and Structure definitions for "Set WatchDog Timer" command to follow here
239 // Definitions for watchdog timer use
241 #define IPMI_WATCHDOG_TIMER_BIOS_FRB2 0x1
242 #define IPMI_WATCHDOG_TIMER_BIOS_POST 0x2
243 #define IPMI_WATCHDOG_TIMER_OS_LOADER 0x3
244 #define IPMI_WATCHDOG_TIMER_SMS 0x4
245 #define IPMI_WATCHDOG_TIMER_OEM 0x5
248 // Structure definition for timer Use
254 UINT8 TimerRunning
: 1;
255 UINT8 TimerUseExpirationFlagLog
: 1;
258 } IPMI_WATCHDOG_TIMER_USE
;
261 // Definitions for watchdog timeout action
263 #define IPMI_WATCHDOG_TIMER_ACTION_NO_ACTION 0x0
264 #define IPMI_WATCHDOG_TIMER_ACTION_HARD_RESET 0x1
265 #define IPMI_WATCHDOG_TIMER_ACTION_POWER_DONW 0x2
266 #define IPMI_WATCHDOG_TIMER_ACTION_POWER_CYCLE 0x3
269 // Definitions for watchdog pre-timeout interrupt
271 #define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_NONE 0x0
272 #define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_SMI 0x1
273 #define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_NMI 0x2
274 #define IPMI_WATCHDOG_PRE_TIMEOUT_INTERRUPT_MESSAGING 0x3
277 // Structure definitions for Timer Actions
281 UINT8 TimeoutAction
: 3;
283 UINT8 PreTimeoutInterrupt
: 3;
287 } IPMI_WATCHDOG_TIMER_ACTIONS
;
290 // Bit definitions for Timer use expiration flags
292 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_BIOS_FRB2 BIT1
293 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_BIOS_POST BIT2
294 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_OS_LOAD BIT3
295 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_SMS_OS BIT4
296 #define IPMI_WATCHDOG_TIMER_EXPIRATION_FLAG_OEM BIT5
299 IPMI_WATCHDOG_TIMER_USE TimerUse
;
300 IPMI_WATCHDOG_TIMER_ACTIONS TimerActions
;
301 UINT8 PretimeoutInterval
;
302 UINT8 TimerUseExpirationFlagsClear
;
303 UINT16 InitialCountdownValue
;
304 } IPMI_SET_WATCHDOG_TIMER_REQUEST
;
307 // Definitions for Get WatchDog Timer command
309 #define IPMI_APP_GET_WATCHDOG_TIMER 0x25
312 // Constants and Structure definitions for "Get WatchDog Timer" command to follow here
315 UINT8 CompletionCode
;
316 IPMI_WATCHDOG_TIMER_USE TimerUse
;
317 IPMI_WATCHDOG_TIMER_ACTIONS TimerActions
;
318 UINT8 PretimeoutInterval
;
319 UINT8 TimerUseExpirationFlagsClear
;
320 UINT16 InitialCountdownValue
;
321 UINT16 PresentCountdownValue
;
322 } IPMI_GET_WATCHDOG_TIMER_RESPONSE
;
325 // Below is Definitions for IPMI Messaging Support Commands (Chapter 22)
329 // Definitions for Set BMC Global Enables command
331 #define IPMI_APP_SET_BMC_GLOBAL_ENABLES 0x2E
334 // Constants and Structure definitions for "Set BMC Global Enables " command to follow here
338 UINT8 ReceiveMessageQueueInterrupt
: 1;
339 UINT8 EventMessageBufferFullInterrupt
: 1;
340 UINT8 EventMessageBuffer
: 1;
341 UINT8 SystemEventLogging
: 1;
343 UINT8 Oem0Enable
: 1;
344 UINT8 Oem1Enable
: 1;
345 UINT8 Oem2Enable
: 1;
348 } IPMI_BMC_GLOBAL_ENABLES
;
351 IPMI_BMC_GLOBAL_ENABLES SetEnables
;
352 } IPMI_SET_BMC_GLOBAL_ENABLES_REQUEST
;
355 // Definitions for Get BMC Global Enables command
357 #define IPMI_APP_GET_BMC_GLOBAL_ENABLES 0x2F
360 // Constants and Structure definitions for "Get BMC Global Enables " command to follow here
363 UINT8 CompletionCode
;
364 IPMI_BMC_GLOBAL_ENABLES GetEnables
;
365 } IPMI_GET_BMC_GLOBAL_ENABLES_RESPONSE
;
368 // Definitions for Clear Message Flags command
370 #define IPMI_APP_CLEAR_MESSAGE_FLAGS 0x30
373 // Constants and Structure definitions for "Clear Message Flags" command to follow here
377 UINT8 ReceiveMessageQueue
: 1;
378 UINT8 EventMessageBuffer
: 1;
380 UINT8 WatchdogPerTimeoutInterrupt
: 1;
387 } IPMI_MESSAGE_FLAGS
;
390 IPMI_MESSAGE_FLAGS ClearFlags
;
391 } IPMI_CLEAR_MESSAGE_FLAGS_REQUEST
;
394 // Definitions for Get Message Flags command
396 #define IPMI_APP_GET_MESSAGE_FLAGS 0x31
399 // Constants and Structure definitions for "Get Message Flags" command to follow here
402 UINT8 CompletionCode
;
403 IPMI_MESSAGE_FLAGS GetFlags
;
404 } IPMI_GET_MESSAGE_FLAGS_RESPONSE
;
407 // Definitions for Enable Message Channel Receive command
409 #define IPMI_APP_ENABLE_MESSAGE_CHANNEL_RECEIVE 0x32
412 // Constants and Structure definitions for "Enable Message Channel Receive" command to follow here
416 // Definitions for Get Message command
418 #define IPMI_APP_GET_MESSAGE 0x33
421 // Constants and Structure definitions for "Get Message" command to follow here
425 UINT8 ChannelNumber
: 4;
426 UINT8 InferredPrivilegeLevel
: 4;
429 } IPMI_GET_MESSAGE_CHANNEL_NUMBER
;
432 UINT8 CompletionCode
;
433 IPMI_GET_MESSAGE_CHANNEL_NUMBER ChannelNumber
;
434 UINT8 MessageData
[0];
435 } IPMI_GET_MESSAGE_RESPONSE
;
438 // Definitions for Send Message command
440 #define IPMI_APP_SEND_MESSAGE 0x34
443 // Constants and Structure definitions for "Send Message" command to follow here
447 UINT8 ChannelNumber
: 4;
448 UINT8 Authentication
: 1;
449 UINT8 Encryption
: 1;
453 } IPMI_SEND_MESSAGE_CHANNEL_NUMBER
;
456 UINT8 CompletionCode
;
457 IPMI_SEND_MESSAGE_CHANNEL_NUMBER ChannelNumber
;
458 UINT8 MessageData
[0];
459 } IPMI_SEND_MESSAGE_REQUEST
;
462 UINT8 CompletionCode
;
463 UINT8 ResponseData
[0];
464 } IPMI_SEND_MESSAGE_RESPONSE
;
467 // Definitions for Read Event Message Buffer command
469 #define IPMI_APP_READ_EVENT_MSG_BUFFER 0x35
472 // Constants and Structure definitions for "Read Event Message Buffer" command to follow here
476 // Definitions for Get BT Interface Capabilities command
478 #define IPMI_APP_GET_BT_INTERFACE_CAPABILITY 0x36
481 // Constants and Structure definitions for "Get BT Interface Capabilities" command to follow here
485 // Definitions for Get System GUID command
487 #define IPMI_APP_GET_SYSTEM_GUID 0x37
490 // Constants and Structure definitions for "Get System GUID" command to follow here
494 // Definitions for Get Channel Authentication Capabilities command
496 #define IPMI_APP_GET_CHANNEL_AUTHENTICATION_CAPABILITIES 0x38
499 // Constants and Structure definitions for "Get Channel Authentication Capabilities" command to follow here
503 // Definitions for Get Session Challenge command
505 #define IPMI_APP_GET_SESSION_CHALLENGE 0x39
508 // Constants and Structure definitions for "Get Session Challenge" command to follow here
512 // Definitions for Activate Session command
514 #define IPMI_APP_ACTIVATE_SESSION 0x3A
517 // Constants and Structure definitions for "Activate Session" command to follow here
521 // Definitions for Set Session Privelege Level command
523 #define IPMI_APP_SET_SESSION_PRIVELEGE_LEVEL 0x3B
526 // Constants and Structure definitions for "Set Session Privelege Level" command to follow here
530 // Definitions for Close Session command
532 #define IPMI_APP_CLOSE_SESSION 0x3C
535 // Constants and Structure definitions for "Close Session" command to follow here
539 // Definitions for Get Session Info command
541 #define IPMI_APP_GET_SESSION_INFO 0x3D
544 // Constants and Structure definitions for "Get Session Info" command to follow here
548 // Definitions for Get Auth Code command
550 #define IPMI_APP_GET_AUTHCODE 0x3F
553 // Constants and Structure definitions for "Get AuthCode" command to follow here
557 // Definitions for Set Channel Access command
559 #define IPMI_APP_SET_CHANNEL_ACCESS 0x40
562 // Constants and Structure definitions for "Set Channel Access" command to follow here
566 // Definitions for Get Channel Access command
568 #define IPMI_APP_GET_CHANNEL_ACCESS 0x41
571 // Constants and Structure definitions for "Get Channel Access" command to follow here
575 // Definitions for channel access memory type in Get Channel Access command request
577 #define IPMI_CHANNEL_ACCESS_MEMORY_TYPE_NON_VOLATILE 0x1
578 #define IPMI_CHANNEL_ACCESS_MEMORY_TYPE_PRESENT_VOLATILE_SETTING 0x2
581 // Definitions for channel access modes in Get Channel Access command response
583 #define IPMI_CHANNEL_ACCESS_MODES_DISABLED 0x0
584 #define IPMI_CHANNEL_ACCESS_MODES_PRE_BOOT_ONLY 0x1
585 #define IPMI_CHANNEL_ACCESS_MODES_ALWAYS_AVAILABLE 0x2
586 #define IPMI_CHANNEL_ACCESS_MODES_SHARED 0x3
594 } IPMI_GET_CHANNEL_ACCESS_CHANNEL_NUMBER
;
599 UINT8 MemoryType
: 2;
602 } IPMI_GET_CHANNEL_ACCESS_TYPE
;
605 IPMI_GET_CHANNEL_ACCESS_CHANNEL_NUMBER ChannelNumber
;
606 IPMI_GET_CHANNEL_ACCESS_TYPE AccessType
;
607 } IPMI_GET_CHANNEL_ACCESS_REQUEST
;
611 UINT8 AccessMode
: 3;
612 UINT8 UserLevelAuthEnabled
: 1;
613 UINT8 MessageAuthEnable
: 1;
618 } IPMI_GET_CHANNEL_ACCESS_CHANNEL_ACCESS
;
622 UINT8 ChannelPriviledgeLimit
: 4;
626 } IPMI_GET_CHANNEL_ACCESS_PRIVILEGE_LIMIT
;
629 UINT8 CompletionCode
;
630 IPMI_GET_CHANNEL_ACCESS_CHANNEL_ACCESS ChannelAccess
;
631 IPMI_GET_CHANNEL_ACCESS_PRIVILEGE_LIMIT PrivilegeLimit
;
632 } IPMI_GET_CHANNEL_ACCESS_RESPONSE
;
635 // Definitions for Get Channel Info command
637 #define IPMI_APP_GET_CHANNEL_INFO 0x42
640 // Constants and Structure definitions for "Get Channel Info" command to follow here
644 // Definitions for channel media type
647 #define IPMI_CHANNEL_MEDIA_TYPE_IPMB 0x1
649 #define IPMI_CHANNEL_MEDIA_TYPE_ICMB_1_0 0x2
651 #define IPMI_CHANNEL_MEDIA_TYPE_ICMB_0_9 0x3
653 #define IPMI_CHANNEL_MEDIA_TYPE_802_3_LAN 0x4
654 // Asynch. Serial/Modem (RS-232)
655 #define IPMI_CHANNEL_MEDIA_TYPE_RS_232 0x5
657 #define IPMI_CHANNEL_MEDIA_TYPE_OTHER_LAN 0x6
659 #define IPMI_CHANNEL_MEDIA_TYPE_PCI_SM_BUS 0x7
661 #define IPMI_CHANNEL_MEDIA_TYPE_SM_BUS_V1 0x8
663 #define IPMI_CHANNEL_MEDIA_TYPE_SM_BUS_V2 0x9
665 #define IPMI_CHANNEL_MEDIA_TYPE_USB1 0xA
667 #define IPMI_CHANNEL_MEDIA_TYPE_USB2 0xB
668 // System Interface (KCS, SMIC, or BT)
669 #define IPMI_CHANNEL_MEDIA_TYPE_SYSTEM_INTERFACE 0xC
671 #define IPMI_CHANNEL_MEDIA_TYPE_OEM_START 0x60
672 #define IPMI_CHANNEL_MEDIA_TYPE_OEM_END 0x7F
680 } IPMI_CHANNEL_INFO_CHANNEL_NUMBER
;
684 UINT8 ChannelMediumType
: 7;
688 } IPMI_CHANNEL_INFO_MEDIUM_TYPE
;
692 UINT8 ChannelProtocolType
: 5;
696 } IPMI_CHANNEL_INFO_PROTOCOL_TYPE
;
700 UINT8 ActiveSessionCount
: 6;
701 UINT8 SessionSupport
: 2;
704 } IPMI_CHANNEL_INFO_SESSION_SUPPORT
;
707 UINT8 CompletionCode
;
708 IPMI_CHANNEL_INFO_CHANNEL_NUMBER ChannelNumber
;
709 IPMI_CHANNEL_INFO_MEDIUM_TYPE MediumType
;
710 IPMI_CHANNEL_INFO_PROTOCOL_TYPE ProtocolType
;
711 IPMI_CHANNEL_INFO_SESSION_SUPPORT SessionSupport
;
713 UINT16 AuxChannelInfo
;
714 } IPMI_GET_CHANNEL_INFO_RESPONSE
;
717 // Definitions for Get Channel Info command
719 #define IPMI_APP_GET_CHANNEL_INFO 0x42
722 // Constants and Structure definitions for "Get Channel Info" command to follow here
726 // Definitions for Set User Access command
728 #define IPMI_APP_SET_USER_ACCESS 0x43
731 // Constants and Structure definitions for "Set User Access" command to follow here
735 // Definitions for Get User Access command
737 #define IPMI_APP_GET_USER_ACCESS 0x44
740 // Constants and Structure definitions for "Get User Access" command to follow here
748 } IPMI_GET_USER_ACCESS_CHANNEL_NUMBER
;
759 IPMI_GET_USER_ACCESS_CHANNEL_NUMBER ChannelNumber
;
761 } IPMI_GET_USER_ACCESS_REQUEST
;
769 } IPMI_GET_USER_ACCESS_MAX_USER_ID
;
773 UINT8 CurrentUserId
: 6;
774 UINT8 UserIdEnableStatus
: 2;
777 } IPMI_GET_USER_ACCESS_CURRENT_USER
;
781 UINT8 FixedUserId
: 6;
785 } IPMI_GET_USER_ACCESS_FIXED_NAME_USER
;
789 UINT8 UserPrivilegeLimit
: 4;
790 UINT8 EnableIpmiMessaging
: 1;
791 UINT8 EnableUserLinkAuthetication
: 1;
792 UINT8 UserAccessAvailable
: 1;
796 } IPMI_GET_USER_ACCESS_CHANNEL_ACCESS
;
799 UINT8 CompletionCode
;
800 IPMI_GET_USER_ACCESS_MAX_USER_ID MaxUserId
;
801 IPMI_GET_USER_ACCESS_CURRENT_USER CurrentUser
;
802 IPMI_GET_USER_ACCESS_FIXED_NAME_USER FixedNameUser
;
803 IPMI_GET_USER_ACCESS_CHANNEL_ACCESS ChannelAccess
;
804 } IPMI_GET_USER_ACCESS_RESPONSE
;
807 // Definitions for Set User Name command
809 #define IPMI_APP_SET_USER_NAME 0x45
812 // Constants and Structure definitions for "Set User Name" command to follow here
817 } IPMI_SET_USER_NAME_REQUEST
;
820 // Definitions for Get User Name command
822 #define IPMI_APP_GET_USER_NAME 0x46
825 // Constants and Structure definitions for "Get User Name" command to follow here
829 } IPMI_GET_USER_NAME_REQUEST
;
832 UINT8 CompletionCode
;
834 } IPMI_GET_USER_NAME_RESPONSE
;
837 // Definitions for Set User Password command
839 #define IPMI_APP_SET_USER_PASSWORD 0x47
842 // Constants and Structure definitions for "Set User Password" command to follow here
846 // Definitions for Set User password command operation type
848 #define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_DISABLE_USER 0x0
849 #define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_ENABLE_USER 0x1
850 #define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_SET_PASSWORD 0x2
851 #define IPMI_SET_USER_PASSWORD_OPERATION_TYPE_TEST_PASSWORD 0x3
854 // Definitions for Set user password command password size
856 #define IPMI_SET_USER_PASSWORD_PASSWORD_SIZE_16 0x0
857 #define IPMI_SET_USER_PASSWORD_PASSWORD_SIZE_20 0x1
863 UINT8 PasswordSize
: 1;
866 } IPMI_SET_USER_PASSWORD_USER_ID
;
874 } IPMI_SET_USER_PASSWORD_OPERATION
;
877 IPMI_SET_USER_PASSWORD_USER_ID UserId
;
878 IPMI_SET_USER_PASSWORD_OPERATION Operation
;
879 UINT8 PasswordData
[0]; // 16 or 20 bytes, depending on the 'PasswordSize' field
880 } IPMI_SET_USER_PASSWORD_REQUEST
;
883 // Below is Definitions for RMCP+ Support and Payload Commands (Chapter 24)
887 // Definitions for Activate Payload command
889 #define IPMI_APP_ACTIVATE_PAYLOAD 0x48
892 // Constants and Structure definitions for "Activate Payload" command to follow here
896 // Definitions for De-Activate Payload command
898 #define IPMI_APP_DEACTIVATE_PAYLOAD 0x49
901 // Constants and Structure definitions for "DeActivate Payload" command to follow here
905 // Definitions for Get Payload activation Status command
907 #define IPMI_APP_GET_PAYLOAD_ACTIVATION_STATUS 0x4a
910 // Constants and Structure definitions for "Get Payload activation Status" command to follow here
914 // Definitions for Get Payload Instance Info command
916 #define IPMI_APP_GET_PAYLOAD_INSTANCE_INFO 0x4b
919 // Constants and Structure definitions for "Get Payload Instance Info" command to follow here
923 // Definitions for Set User Payload Access command
925 #define IPMI_APP_SET_USER_PAYLOAD_ACCESS 0x4C
928 // Constants and Structure definitions for "Set User Payload Access" command to follow here
932 // Definitions for Get User Payload Access command
934 #define IPMI_APP_GET_USER_PAYLOAD_ACCESS 0x4D
937 // Constants and Structure definitions for "Get User Payload Access" command to follow here
941 // Definitions for Get Channel Payload Support command
943 #define IPMI_APP_GET_CHANNEL_PAYLOAD_SUPPORT 0x4E
946 // Constants and Structure definitions for "Get Channel Payload Support" command to follow here
950 // Definitions for Get Channel Payload Version command
952 #define IPMI_APP_GET_CHANNEL_PAYLOAD_VERSION 0x4F
955 // Constants and Structure definitions for "Get Channel Payload Version" command to follow here
959 // Definitions for Get Channel OEM Payload Info command
961 #define IPMI_APP_GET_CHANNEL_OEM_PAYLOAD_INFO 0x50
964 // Constants and Structure definitions for "Get Channel OEM Payload Info" command to follow here
968 // Definitions for Master Write-Read command
970 #define IPMI_APP_MASTER_WRITE_READ 0x52
973 // Constants and Structure definitions for "Master Write Read" command to follow here
977 // Definitions for Get Channel Cipher Suites command
979 #define IPMI_APP_GET_CHANNEL_CIPHER_SUITES 0x54
982 // Constants and Structure definitions for "Get Channel Cipher Suites" command to follow here
986 // Below is Definitions for RMCP+ Support and Payload Commands (Chapter 24, Section 3)
990 // Definitions for Suspend-Resume Payload Encryption command
992 #define IPMI_APP_SUSPEND_RESUME_PAYLOAD_ENCRYPTION 0x55
995 // Constants and Structure definitions for "Suspend-Resume Payload Encryption" command to follow here
999 // Below is Definitions for IPMI Messaging Support Commands (Chapter 22, Section 25 and 9)
1003 // Definitions for Set Channel Security Keys command
1005 #define IPMI_APP_SET_CHANNEL_SECURITY_KEYS 0x56
1008 // Constants and Structure definitions for "Set Channel Security Keys" command to follow here
1012 // Definitions for Get System Interface Capabilities command
1014 #define IPMI_APP_GET_SYSTEM_INTERFACE_CAPABILITIES 0x57
1017 // Constants and Structure definitions for "Get System Interface Capabilities" command to follow here
1021 // Definitions for Get System Interface Capabilities command SSIF transaction support
1023 #define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_SINGLE_PARTITION_RW 0x0
1024 #define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_MULTI_PARTITION_RW 0x1
1025 #define IPMI_GET_SYSTEM_INTERFACE_CAPABILITIES_SSIF_TRANSACTION_SUPPORT_MULTI_PARTITION_RW_WITH_MIDDLE 0x2