com_IPMI_AppDevice+.h 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. /****************************************************************
  2. ****************************************************************
  3. ** **
  4. ** (C)Copyright 2005-2006, American Megatrends Inc. **
  5. ** **
  6. ** All Rights Reserved. **
  7. ** **
  8. ** 6145-F, Northbelt Parkway, Norcross, **
  9. ** **
  10. ** Georgia - 30071, USA. Phone-(770)-246-8600. **
  11. ** **
  12. ****************************************************************
  13. ****************************************************************
  14. ****************************************************************
  15. *
  16. * IPMI_App.h
  17. * AppDevice Commands Handler
  18. *
  19. * Author: Govind Kothandapani <govindk@ami.com>
  20. * : Rama Bisa <ramab@ami.com>
  21. * : Basavaraj Astekar <basavaraja@ami.com>
  22. * : Bakka Ravinder Reddy <bakkar@ami.com>
  23. *
  24. *****************************************************************/
  25. #ifndef IPMI_APPDEV_PLUS_H
  26. #define IPMI_APPDEV_PLUS_H
  27. #include "stdint.h"
  28. #pragma pack( 1 )
  29. /*** Macro Definitions ***/
  30. #define MAX_PLD_ENABLES 4
  31. /* ActivatePayloadReq_T */
  32. typedef struct
  33. {
  34. uint8_t PayldType;
  35. uint8_t PayldInst;
  36. uint8_t AuxData [4];
  37. } ActivatePayloadReq_T;
  38. /* ActivatePayloadRes_T */
  39. typedef struct
  40. {
  41. uint8_t CompletionCode;
  42. uint8_t AuxData [4];
  43. uint16_t InboundPayldSize;
  44. uint16_t OutboundPayldSize;
  45. uint16_t UDPPort;
  46. uint16_t VLANNo;
  47. } ActivatePayloadRes_T;
  48. /* DeactivatePayloadReq_T */
  49. typedef struct
  50. {
  51. uint8_t PayldType;
  52. uint8_t PayldInst;
  53. uint8_t AuxData [4];
  54. } DeactivatePayloadReq_T;
  55. /* GetPayldActStatRes_T */
  56. typedef struct
  57. {
  58. uint8_t CompletionCode;
  59. uint8_t InstCap;
  60. uint16_t ActivatedInst;
  61. } GetPayldActStatRes_T;
  62. /* GetPayldInstInfoReq_T */
  63. typedef struct
  64. {
  65. uint8_t PayldType;
  66. uint8_t PayldInst;
  67. } GetPayldInstInfoReq_T;
  68. /* GetPayldInstInfoRes_T */
  69. typedef struct
  70. {
  71. uint8_t CompletionCode;
  72. uint32_t SessionID;
  73. uint8_t SpecificInfo [8];
  74. } GetPayldInstInfoRes_T;
  75. /* SetUsrPayldAccReq_T */
  76. typedef struct
  77. {
  78. uint8_t ChannelNum;
  79. uint8_t UserId;
  80. uint8_t PayloadEnables [MAX_PLD_ENABLES];
  81. } SetUsrPayldAccReq_T;
  82. /* SetUsrPayldAccRes_T */
  83. typedef struct
  84. {
  85. uint8_t CompletionCode;
  86. } SetUsrPayldAccRes_T;
  87. /* GetUsrPayldAccReq_T */
  88. typedef struct
  89. {
  90. uint8_t ChannelNum;
  91. uint8_t UserId;
  92. } GetUsrPayldAccReq_T;
  93. /* GetUsrPayldAccRes_T */
  94. typedef struct
  95. {
  96. uint8_t CompletionCode;
  97. uint8_t PayloadEnables [MAX_PLD_ENABLES];
  98. } GetUsrPayldAccRes_T;
  99. /* GetChPayldSupRes_T */
  100. typedef struct
  101. {
  102. uint8_t CompletionCode;
  103. uint8_t StdPldtype1;
  104. uint8_t StdPldtype2;
  105. uint8_t SessStpPldtype1;
  106. uint8_t SessStpPldtype2;
  107. uint8_t OemPldtype1;
  108. uint8_t OemPldtype2;
  109. uint16_t Rsvd;
  110. } GetChPayldSupRes_T;
  111. /* GetChPayldVerReq_T */
  112. typedef struct
  113. {
  114. uint8_t ChannelNum;
  115. uint8_t PayloadNum;
  116. } GetChPayldVerReq_T;
  117. /* GetChPayldVerRes_T */
  118. typedef struct
  119. {
  120. uint8_t CompletionCode;
  121. uint8_t FormatVer;
  122. } GetChPayldVerRes_T;
  123. /* GetChOemPayldInfoReq_T */
  124. typedef struct
  125. {
  126. uint8_t ChannelNum;
  127. uint8_t PayloadNum;
  128. uint8_t OemIANA [3];
  129. uint8_t OemPyldId [2];
  130. } GetChOemPayldInfoReq_T;
  131. /* GetChOemPayldInfoRes_T */
  132. typedef struct
  133. {
  134. uint8_t CompletionCode;
  135. uint8_t PayloadNum;
  136. uint8_t OemIANA [3];
  137. uint8_t OemPyldId [2];
  138. uint8_t FormatVer;
  139. } GetChOemPayldInfoRes_T;
  140. /* SusResPayldEncryptReq_T */
  141. typedef struct
  142. {
  143. uint8_t PayldType;
  144. uint8_t PayldInst;
  145. uint8_t Operation;
  146. } SusResPayldEncryptReq_T;
  147. /* SetChSecurityKeysReq_T */
  148. typedef struct
  149. {
  150. uint8_t ChannelNum;
  151. uint8_t Operation;
  152. uint8_t KeyID;
  153. } SetChSecurityKeysReq_T;
  154. /* SetChSecurityKeysRes_T */
  155. typedef struct
  156. {
  157. uint8_t CompletionCode;
  158. uint8_t LockStatus;
  159. } SetChSecurityKeysRes_T;
  160. /* GetSysIfcCapsRes_T */
  161. typedef struct
  162. {
  163. uint8_t CompletionCode;
  164. uint8_t Rsrvd;
  165. } GetSysIfcCapsRes_T;
  166. /* GetChCipherSuitesReq_T */
  167. typedef struct
  168. {
  169. uint8_t ChannelNum;
  170. uint8_t PayloadType;
  171. uint8_t ListIndex;
  172. } GetChCipherSuitesReq_T;
  173. /* GetChCipherSuitesRes_T */
  174. typedef struct
  175. {
  176. uint8_t CompletionCode;
  177. uint8_t ChannelNum;
  178. } GetChCipherSuitesRes_T;
  179. #pragma pack( )
  180. #endif /* IPMI_APPDEV_PLUS_H */