Main Content

nrRLCBearerConfig

RLC bearer configuration parameters

Since R2023a

    Description

    The nrRLCBearerConfig object sets the radio link control (RLC) bearer configuration parameters for establishing an RLC bearer between a next-generation Node B (gNB) and a user equipment (UE). This object implements the information element (IE) RLC-BearerConfig, as defined in TS 38.331 Section 6.3.2 [1].

    Creation

    Description

    example

    config = nrRLCBearerConfig creates a default RLC bearer configuration object.

    example

    config = nrRLCBearerConfig(Name=Value) sets properties using one or more optional name-value arguments. For example, nrRLCBearerConfig(LogicalChannelID=5) sets the logical channel identifier to 5.

    Properties

    expand all

    Logical channel identifier, specified as an integer in the range [4, 32].

    Data Types: double

    Type of the RLC entity, specified as one of these values.

    • "UM" — Bidirectional RLC bearer in the unacknowledged mode (UM)

    • "UMUL" — Unidirectional RLC UM bearer in the uplink (UL) direction

    • "UMDL" — Unidirectional RLC UM bearer in the downlink (DL) direction

    Data Types: char | string

    Number of bits in the sequence number field of the RLC entity, specified as 6 or 12.

    Data Types: double

    RLC transmitter buffer size, specified as a positive integer. This property expresses the buffer size in terms of number of packets.

    Data Types: double

    Timer for detecting the reassembly failure of the service data units (SDUs) in the reception buffer, specified as one of these options. Units are in milliseconds.

    • 0

    • 5

    • 10

    • 15

    • 20

    • 25

    • 30

    • 35

    • 40

    • 45

    • 50

    • 55

    • 60

    • 65

    • 70

    • 75

    • 80

    • 85

    • 90

    • 95

    • 100

    • 110

    • 120

    • 130

    • 140

    • 150

    • 160

    • 170

    • 180

    • 190

    • 200

    Data Types: double

    Logical channel group identifier, specified as an integer in the range [1, 7].

    Data Types: double

    Priority of the logical channel, specified as an integer in the range [1, 16] .

    Data Types: double

    Prioritized bit rate of the logical channel, specified as one of these options. Units are in kilobits per second.

    • 0

    • 8

    • 16

    • 32

    • 64

    • 128

    • 256

    • 512

    • 1024

    • 2048

    • 4096

    • 8192

    • 16384

    • 32768

    • 65536

    • inf

    Data Types: double

    Bucket size duration of the logical channel, specified as one of these options. Units are in milliseconds.

    • 5

    • 10

    • 20

    • 50

    • 100

    • 150

    • 300

    • 500

    • 1000

    • inf

    Data Types: double

    Examples

    collapse all

    Check if the Communications Toolbox™ Wireless Network Simulation Library support package is installed. If the support package is not installed, MATLAB® returns an error with a link to download and install the support package.

    wirelessnetworkSupportPackageCheck;

    Create a default gNB node.

    gNBNode = nrGNB;

    Create a default UE node.

    ueNode = nrUE;

    Create a default RLC bearer configuration object.

    rlcBearerConfig = nrRLCBearerConfig;

    Establish an RLC bearer between the gNB and UE nodes.

    connectUE(gNBNode,ueNode,RLCBearerConfig=rlcBearerConfig)

    Check if the Communications Toolbox™ Wireless Network Simulation Library support package is installed. If the support package is not installed, MATLAB® returns an error with a link to download and install the support package.

    wirelessnetworkSupportPackageCheck;

    Create default gNB and UE nodes.

    gNBNode = nrGNB;
    ueNode = nrUE;

    Create an RLC bearer configuration object with these parameters.

    • Logical channel ID — 5

    • RLC entity type — "UMDL"

    • Priority — 16

    • Logical channel group — 2

    • Prioritized bit rate — 256 kilobits per second

    • Bucket size duration — 300 milliseconds

    cfgRLCBearer = nrRLCBearerConfig(LogicalChannelID=5,RLCEntityType="UMDL",LogicalChannelGroup=2,Priority=16, ...
        PrioritizedBitRate=256,BucketSizeDuration=300);

    Establish a unidirectional RLC UM bearer in the DL direction.

    connectUE(gNBNode,ueNode,RLCBearerConfig=cfgRLCBearer)

    References

    [1] 3GPP TS 38.331. “NR; Radio Resource Control (RRC) protocol specification.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

    Version History

    Introduced in R2023a