dp: mst: Updated the sideband message body structure for larger messages.

Larger messages will need to be split into multiple fragments.
- The MsgData member carries all information.
- The FragmentNum member indicates the last fragment processed.
- The header reflects the latest fragment.

Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
Andrei-Liviu Simion 2015-02-27 15:56:56 -07:00 committed by Nava kishore Manne
parent c2b18c9244
commit 05ab36ac68

View file

@ -107,7 +107,7 @@ typedef struct
*/
typedef struct
{
u8 MsgData[62]; /**< The raw body data of the sideband
u8 MsgData[256]; /**< The raw body data of the sideband
message. */
u8 MsgDataLength; /**< The number of data bytes stored as
part of the sideband message
@ -125,6 +125,12 @@ typedef struct
message. */
XDp_SidebandMsgBody Body; /**< The body segment of the sideband
message. */
u8 FragmentNum; /**< Larger sideband messages need to be
broken up into multiple
fragments. For RX, this number
indicates the fragment with
which the current header
corresponds to. */
} XDp_SidebandMsg;
/**