FramingInfo¶
Namespace: simu5g
struct FramingInfo
FI field of the RLC PDU (3GPP TS 36.322) It specifies whether the PDU starts/ends with the first/last byte of an SDU
00: First and last chunk of the PDU are complete SDUs
01: First chunk is a complete SDU, last chunk is a fragment
10: First chunk is a fragment, last chunk is a complete SDU
11: First and last chunk of the PDU are fragments
Usage diagram¶
Fields¶
Name |
Type |
Description |
|---|---|---|
firstIsFragment |
bool |
1x |
lastIsFragment |
bool |
x1 |
Source code¶
// FI field of the RLC PDU (3GPP TS 36.322)
// It specifies whether the PDU starts/ends with the first/last byte of an SDU
// - 00: First and last chunk of the PDU are complete SDUs
// - 01: First chunk is a complete SDU, last chunk is a fragment
// - 10: First chunk is a fragment, last chunk is a complete SDU
// - 11: First and last chunk of the PDU are fragments
struct FramingInfo {
bool firstIsFragment = false; // 1x
bool lastIsFragment = false; // x1
};