1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584
|
# Copyright (c) 2021 Kontron Europe GmbH
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
from . import constants
from . import register_message_class
from . import Message
from . import UnsignedInt
from . import Bitfield
from . import CompletionCode
from . import Optional
from . import GroupExtensionIdentifier
GROUP_EXTENSION_VSO = 0x03
VITA_FRU_CONTROL_COLD_RESET = 0x00
VITA_FRU_CONTROL_WARM_RESET = 0x01
VITA_FRU_CONTROL_GRACEFUL_REBOOT = 0x02
VITA_FRU_CONTROL_DIAGNOSTIC_INTERRUPT = 0x03
class VitaMessage(Message):
__group_extension__ = GROUP_EXTENSION_VSO
@register_message_class
class VitaGetVsoCapabilitiesReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_VSO_CAPABILITIES
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaGetVsoCapabilitiesRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_VSO_CAPABILITIES
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
Bitfield('ipmc_identifier', 1,
Bitfield.Bit('tier_functionality', 2, default=0),
Bitfield.ReservedBit(2, 0),
Bitfield.Bit('layer_functionality', 2, default=0),
Bitfield.ReservedBit(2, 0)),
Bitfield('ipmb_capabilities', 1,
Bitfield.Bit('number_ipmbs', 2, default=0),
Bitfield.ReservedBit(2, 0),
Bitfield.Bit('max_frequency', 2, default=0),
Bitfield.ReservedBit(2, 0)),
Bitfield('vso_standard', 1,
Bitfield.Bit('standard', 2, default=0),
Bitfield.ReservedBit(6, 0)),
UnsignedInt('specification_revision', 1),
UnsignedInt('max_fru_id', 1),
UnsignedInt('ipmc_fru_device_id', 1)
)
@register_message_class
class VitaGetChassisAddressTableInfoReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_CHASSIS_ADDRESS_TABLE_INFO
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaGetChassisAddressTableInfoRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_CHASSIS_ADDRESS_TABLE_INFO
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaGetFruAddressInfoReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_ADDRESS_INFO
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
)
@register_message_class
class VitaGetFruAddressInfoRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_ADDRESS_INFO
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('hardware_address', 1),
UnsignedInt('ipmb_0_address', 1),
UnsignedInt('reserved_5', 1),
UnsignedInt('fru_id', 1),
UnsignedInt('site_id', 1),
UnsignedInt('site_type', 1),
Optional(
UnsignedInt('reserved_9', 1),
),
Optional(
UnsignedInt('address_on_channel_7', 1),
),
)
@register_message_class
class VitaGetChassisIdentifierReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_CHASSIS_IDENTIFIER
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaGetChassisIdentifierRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_CHASSIS_IDENTIFIER
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaSetChassisIdentifierReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_CHASSIS_IDENTIFIER
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaSetChassisIdentifierRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_CHASSIS_IDENTIFIER
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaFruControlReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_FRU_CONTROL
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
UnsignedInt('option', 1),
)
@register_message_class
class VitaFruControlRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_FRU_CONTROL
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaGetFruLedPropertiesReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_LED_PROPERTIES
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
)
@register_message_class
class VitaGetFruLedPropertiesRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_LED_PROPERTIES
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('reserved', 1),
UnsignedInt('led_count', 1),
)
@register_message_class
class VitaGetFruLedCapabilitiesReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_LED_COLOR_CAPABILITIES
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
UnsignedInt('led_id', 1),
)
@register_message_class
class VitaGetFruLedCapabilitiesRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_LED_COLOR_CAPABILITIES
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('reserved', 1),
Bitfield('color_capabilities', 1,
Bitfield.ReservedBit(1, 0),
Bitfield.Bit('blue', 1, default=0),
Bitfield.Bit('red', 1, default=0),
Bitfield.Bit('green', 1, default=0),
Bitfield.Bit('amber', 1, default=0),
Bitfield.Bit('orange', 1, default=0),
Bitfield.Bit('white', 1, default=0),
Bitfield.ReservedBit(1, 0)),
Bitfield('default_color_local_control', 1,
Bitfield.Bit('value', 4, default=0),
Bitfield.ReservedBit(4, 0)),
Bitfield('default_color_override_control', 1,
Bitfield.Bit('value', 4, default=0),
Bitfield.ReservedBit(4, 0)),
Optional(
UnsignedInt('flags', 1),
),
)
@register_message_class
class VitaSetFruLedStateReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_FRU_LED_STATE
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
UnsignedInt('led_id', 1),
UnsignedInt('function', 1),
UnsignedInt('on_duration', 1),
UnsignedInt('color', 1),
)
@register_message_class
class VitaSetFruLedStateRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_FRU_LED_STATE
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaGetFruLedStateReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_LED_STATE
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
UnsignedInt('led_id', 1),
)
@register_message_class
class VitaGetFruLedStateRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_LED_STATE
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
Bitfield('state', 1,
Bitfield.Bit('ipmc_control', 1, default=0),
Bitfield.Bit('override', 1, default=0),
Bitfield.Bit('lamp_test', 1, default=0),
Bitfield.Bit('hardware_restrict', 1, default=0),
Bitfield.ReservedBit(4, 0)),
UnsignedInt('local_control_function', 1),
UnsignedInt('local_control_on_duration', 1),
UnsignedInt('local_control_color', 1),
Optional(
UnsignedInt('override_state', 1),
),
Optional(
UnsignedInt('override_on_duration', 1),
),
Optional(
UnsignedInt('override_color', 1),
),
Optional(
UnsignedInt('lamp_test_duration', 1),
),
)
@register_message_class
class VitaSetIpmbStateReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_IPMB_STATE
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
Bitfield('ipmb_a', 1,
Bitfield.Bit('state', 1, default=0),
Bitfield.Bit('identification', 7, default=0)),
Bitfield('ipmb_b', 1,
Bitfield.Bit('state', 1, default=0),
Bitfield.Bit('identification', 7, default=0)),
Bitfield('speed', 1,
Bitfield.Bit('ipmb_a', 2, default=0),
Bitfield.Bit('ipmb_b', 2, default=0),
Bitfield.ReservedBit(4, 0)),
)
@register_message_class
class VitaSetIpmbStateRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_IPMB_STATE
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaSetFruStatePolicyReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_FRU_STATE_POLICY_BITS
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
Bitfield('activation_policy_mask', 1,
Bitfield.Bit('activation_lock', 1, default=0),
Bitfield.Bit('deactivation_lock', 1, default=0),
Bitfield.Bit('commanded_deactivation_ignored', 1, default=0),
Bitfield.Bit('default_activation_locked', 1, default=0),
Bitfield.ReservedBit(4, 0),),
Bitfield('activation_policy_set', 1,
Bitfield.Bit('activation_lock', 1, default=0),
Bitfield.Bit('deactivation_lock', 1, default=0),
Bitfield.Bit('commanded_deactivation_ignored', 1, default=0),
Bitfield.Bit('default_activation_locked', 1, default=0),
Bitfield.ReservedBit(4, 0),)
)
@register_message_class
class VitaSetFruStatePolicyRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_FRU_STATE_POLICY_BITS
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaGetFruStatePolicyReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_STATE_POLICY_BITS
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
)
@register_message_class
class VitaGetFruStatePolicyRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_STATE_POLICY_BITS
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
Bitfield('activation_policies', 1,
Bitfield.Bit('activation_lock', 1, default=0),
Bitfield.Bit('deactivation_lock', 1, default=0),
Bitfield.Bit('commanded_deactivation_ignored', 1, default=0),
Bitfield.Bit('default_activation_locked', 1, default=0),
Bitfield.ReservedBit(4, 0),)
)
@register_message_class
class VitaSetFruActivationReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_FRU_ACTIVATION
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
UnsignedInt('control', 1),
)
@register_message_class
class VitaSetFruActivationRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_FRU_ACTIVATION
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
)
@register_message_class
class VitaGetDeviceLocatorRecordReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_DEVICE_LOCATOR_RECORD_ID
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
)
@register_message_class
class VitaGetDeviceLocatorRecordRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_DEVICE_LOCATOR_RECORD_ID
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('record_id', 2),
)
@register_message_class
class VitaFruControlCapabilitiesReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_FRU_CONTROL_CAPABILITIES
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
)
@register_message_class
class VitaFruControlCapabilitiesRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_FRU_CONTROL_CAPABILITIES
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
Bitfield('capabilities', 1,
Bitfield.Bit('cold_reset', 1, default=0),
Bitfield.Bit('warm_reset', 1, default=0),
Bitfield.Bit('graceful_reboot', 1, default=0),
Bitfield.Bit('diagnostic_interrupt', 1, default=0),
Bitfield.Bit('controlling_payload_power', 1, default=0),
Bitfield.ReservedBit(3, 0),)
)
@register_message_class
class VitaGetMandatorySensorNumbersReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_MANDATORY_SENSOR_NUMBERS
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
)
@register_message_class
class VitaGetMandatorySensorNumbersRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_MANDATORY_SENSOR_NUMBERS
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_state_sensor', 1),
UnsignedInt('fru_health_sensor', 1),
UnsignedInt('fru_voltage_sensor', 1),
UnsignedInt('fru_temperature_sensor', 1),
UnsignedInt('test_result_sensor', 1),
UnsignedInt('test_status_sensor', 1),
UnsignedInt('reserved_9', 1),
UnsignedInt('payload_mode_sensor', 1),
)
@register_message_class
class VitaGetFruHashReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_HASH
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
)
@register_message_class
class VitaGetFruHashRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_FRU_HASH
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_hash', 4),
)
@register_message_class
class VitaGetPayloadModeCapabilitiesReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_PAYLOAD_MODE_CAPABILITIES
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
)
@register_message_class
class VitaGetPayloadModeCapabilitiesRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_GET_PAYLOAD_MODE_CAPABILITIES
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('supported_modes_lsb', 1),
Optional(
UnsignedInt('supported_modes_msb', 1),
),
)
@register_message_class
class VitaSetPayloadModeReq(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_PAYLOAD_MODE
__netfn__ = constants.NETFN_GROUP_EXTENSION
__fields__ = (
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
UnsignedInt('fru_id', 1),
UnsignedInt('mode', 1),
)
@register_message_class
class VitaSetPayloadModeRsp(VitaMessage):
__cmdid__ = constants.CMDID_VITA_SET_PAYLOAD_MODE
__netfn__ = constants.NETFN_GROUP_EXTENSION | 1
__fields__ = (
CompletionCode(),
GroupExtensionIdentifier('vita_identifier', GROUP_EXTENSION_VSO),
Optional(
UnsignedInt('oem_response_3', 1),
),
Optional(
UnsignedInt('oem_response_4', 1),
),
Optional(
UnsignedInt('oem_response_5', 1),
),
Optional(
UnsignedInt('oem_response_6', 1),
),
Optional(
UnsignedInt('oem_response_7', 1),
),
Optional(
UnsignedInt('oem_response_8', 1),
),
Optional(
UnsignedInt('oem_response_9', 1),
),
Optional(
UnsignedInt('oem_response_10', 1),
),
)
|