Skip to content

Commit

Permalink
Add effecter aux name PDR struct
Browse files Browse the repository at this point in the history
Add the definition for effecter aux name PDR struct base on "28.15
Effecter Auxiliary Names PDR" section of DSP0248 1.2.1 specification.

Signed-off-by: Thu Nguyen <[email protected]>
Change-Id: I3ff170f81097eef36932cd18741fef282f790959
  • Loading branch information
ThuBaNguyen authored and amboar committed Dec 9, 2022
1 parent aa30d3e commit 0585de9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions include/libpldm/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,18 @@ struct state_effecter_possible_states {
bitfield8_t states[1];
} __attribute__((packed));

/** @struct pldm_effecter_aux_name_pdr
*
* Structure representing PLDM aux name numeric effecter value PDR
*/
struct pldm_effecter_aux_name_pdr {
struct pldm_pdr_hdr hdr;
uint16_t terminus_handle;
uint16_t effecter_id;
uint8_t effecter_count;
uint8_t effecter_names[1];
} __attribute__((packed));

/** @brief Encode PLDM state effecter PDR
*
* @param[in/out] effecter Structure to encode. All members of
Expand Down

0 comments on commit 0585de9

Please sign in to comment.