{%- set B = xbuildout.encode -%}
// DRB configuration for NR cell {{ B(cell_ref) }} @ {{ B(ru_ref) }}.

[
  {
    qci: 1,
    use_for_mr_dc_scg: false,
    ims_dedicated_bearer: true,
    pdcp_config: {
      discardTimer: 100,
      pdcp_SN_SizeUL: 12,
      pdcp_SN_SizeDL: 12,
      statusReportRequired: false,
      outOfOrderDelivery: false,
      t_Reordering: 0,
    },
    rlc_config: {
      ul_um: {
        sn_FieldLength: 6,
      },
      dl_um: {
        sn_FieldLength: 6,
        t_Reassembly: 50,
      },
    },
    logical_channel_config: {
      priority: 7,
      prioritisedBitRate: 0,
      bucketSizeDuration: 100,
      logicalChannelGroup: 1,
    },
  },
  {
    qci: 2,
    use_for_mr_dc_scg: false,
    ims_dedicated_bearer: true,
    pdcp_config: {
      discardTimer: 150,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: false,
      outOfOrderDelivery: false,
      t_Reordering: 0,
    },
    rlc_config: {
      ul_um: {
        sn_FieldLength: 12,
      },
      dl_um: {
        sn_FieldLength: 12,
        t_Reassembly: 50,
      },
    },
    logical_channel_config: {
      priority: 8,
      prioritisedBitRate: 0,
      bucketSizeDuration: 100,
      logicalChannelGroup: 1,
    },
  },
  {
    qci: 3,
    pdcp_config: {
      discardTimer: 100,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: false,
      outOfOrderDelivery: false,
      t_Reordering: 0,
    },
    rlc_config: {
      ul_um: {
        sn_FieldLength: 12,
      },
      dl_um: {
        sn_FieldLength: 12,
        t_Reassembly: 50,
      },
    },
    logical_channel_config: {
      priority: 7,
      prioritisedBitRate: 0,
      bucketSizeDuration: 100,
      logicalChannelGroup: 2,
    },
  },
  {
    qci: 4,
    pdcp_config: {
      discardTimer: 0,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: true,
      outOfOrderDelivery: false,
    },
    rlc_config: {
      ul_am: {
        sn_FieldLength: 18,
        t_PollRetransmit: 80,
        pollPDU: 64,
        pollByte: 125,
        maxRetxThreshold: 4,
      },
      dl_am: {
        sn_FieldLength: 18,
        t_Reassembly: 80,
        t_StatusProhibit: 10,
      },
    },
    logical_channel_config: {
      priority: 9,
      prioritisedBitRate: 8,
      bucketSizeDuration: 100,
      logicalChannelGroup: 3,
    },
  },
  {
    qci: 65,
    use_for_mr_dc_scg: false,
    ims_dedicated_bearer: true,
    pdcp_config: {
      discardTimer: 100,
      pdcp_SN_SizeUL: 12,
      pdcp_SN_SizeDL: 12,
      statusReportRequired: false,
      outOfOrderDelivery: false,
      t_Reordering: 0,
    },
    rlc_config: {
      ul_um: {
        sn_FieldLength: 6,
      },
      dl_um: {
        sn_FieldLength: 6,
        t_Reassembly: 50,
      },
    },
    logical_channel_config: {
      priority: 5,
      prioritisedBitRate: 0,
      bucketSizeDuration: 100,
      logicalChannelGroup: 4,
    },
  },
  {
    qci: 66,
    use_for_mr_dc_scg: false,
    ims_dedicated_bearer: true,
    pdcp_config: {
      discardTimer: 150,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: false,
      outOfOrderDelivery: false,
      t_Reordering: 0,
    },
    rlc_config: {
      ul_um: {
        sn_FieldLength: 12,
      },
      dl_um: {
        sn_FieldLength: 12,
        t_Reassembly: 50,
      },
    },
    logical_channel_config: {
      priority: 7,
      prioritisedBitRate: 0,
      bucketSizeDuration: 100,
      logicalChannelGroup: 4,
    },
  },
  {
    qci: 67,
    use_for_mr_dc_scg: false,
    ims_dedicated_bearer: true,
    pdcp_config: {
      discardTimer: 100,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: false,
      outOfOrderDelivery: false,
      t_Reordering: 0,
    },
    rlc_config: {
      ul_um: {
        sn_FieldLength: 12,
      },
      dl_um: {
        sn_FieldLength: 12,
        t_Reassembly: 50,
      },
    },
    logical_channel_config: {
      priority: 6,
      prioritisedBitRate: 0,
      bucketSizeDuration: 100,
      logicalChannelGroup: 5,
    },
  },
  {
    qci: 5,
    use_for_mr_dc_scg: false,
    pdcp_config: {
      discardTimer: 0,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: true,
      outOfOrderDelivery: false,
    },
    rlc_config: {
      ul_am: {
        sn_FieldLength: 18,
        t_PollRetransmit: 80,
        pollPDU: 64,
        pollByte: 125,
        maxRetxThreshold: 4,
      },
      dl_am: {
        sn_FieldLength: 18,
        t_Reassembly: 80,
        t_StatusProhibit: 10,
      },
    },
    logical_channel_config: {
      priority: 6,
      prioritisedBitRate: 8,
      bucketSizeDuration: 100,
      logicalChannelGroup: 4,
    },
  },
  {
    qci: 6,
    pdcp_config: {
      discardTimer: 0,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: true,
      outOfOrderDelivery: false,
    },
    rlc_config: {
      ul_am: {
        sn_FieldLength: 18,
        t_PollRetransmit: 80,
        pollPDU: 64,
        pollByte: 125,
        maxRetxThreshold: 4,
      },
      dl_am: {
        sn_FieldLength: 18,
        t_Reassembly: 80,
        t_StatusProhibit: 10,
      },
    },
    logical_channel_config: {
      priority: 10,
      prioritisedBitRate: 8,
      bucketSizeDuration: 100,
      logicalChannelGroup: 5,
    },
  },
  {
    qci: 7,
    pdcp_config: {
      discardTimer: 100,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: false,
      outOfOrderDelivery: false,
      t_Reordering: 0,
    },
    rlc_config: {
      ul_um: {
        sn_FieldLength: 12,
      },
      dl_um: {
        sn_FieldLength: 12,
        t_Reassembly: 50,
      },
    },
    logical_channel_config: {
      priority: 11,
      prioritisedBitRate: 0,
      bucketSizeDuration: 100,
      logicalChannelGroup: 6,
    },
  },
  {
    qci: 8,
    pdcp_config: {
      discardTimer: 0,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: true,
      outOfOrderDelivery: false,
    },
    rlc_config: {
      ul_am: {
        sn_FieldLength: 18,
        t_PollRetransmit: 80,
        pollPDU: 64,
        pollByte: 125,
        maxRetxThreshold: 4,
      },
      dl_am: {
        sn_FieldLength: 18,
        t_Reassembly: 80,
        t_StatusProhibit: 10,
      },
    },
    logical_channel_config: {
      priority: 12,
      prioritisedBitRate: 8,
      bucketSizeDuration: 100,
      logicalChannelGroup: 7,
    },
  },
  {
    qci: 9,
    pdcp_config: {
      discardTimer: 0,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: true,
      outOfOrderDelivery: false,
    },
    rlc_config: {
      ul_am: {
        sn_FieldLength: 18,
        t_PollRetransmit: 80,
        pollPDU: 64,
        pollByte: 125,
        maxRetxThreshold: 4,
      },
      dl_am: {
        sn_FieldLength: 18,
        t_Reassembly: 80,
        t_StatusProhibit: 10,
      },
    },
    logical_channel_config: {
      priority: 13,
      prioritisedBitRate: 8,
      bucketSizeDuration: 100,
      logicalChannelGroup: 7,
    },
  },
  {
    qci: 69,
    use_for_mr_dc_scg: false,
    pdcp_config: {
      discardTimer: 0,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: true,
      outOfOrderDelivery: false,
    },
    rlc_config: {
      ul_am: {
        sn_FieldLength: 18,
        t_PollRetransmit: 80,
        pollPDU: 64,
        pollByte: 125,
        maxRetxThreshold: 4,
      },
      dl_am: {
        sn_FieldLength: 18,
        t_Reassembly: 80,
        t_StatusProhibit: 10,
      },
    },
    logical_channel_config: {
      priority: 4,
      prioritisedBitRate: 8,
      bucketSizeDuration: 100,
      logicalChannelGroup: 4,
    },
  },
  {
    qci: 70,
    pdcp_config: {
      discardTimer: 0,
      pdcp_SN_SizeUL: 18,
      pdcp_SN_SizeDL: 18,
      statusReportRequired: true,
      outOfOrderDelivery: false,
    },
    rlc_config: {
      ul_am: {
        sn_FieldLength: 18,
        t_PollRetransmit: 80,
        pollPDU: 64,
        pollByte: 125,
        maxRetxThreshold: 4,
      },
      dl_am: {
        sn_FieldLength: 18,
        t_Reassembly: 80,
        t_StatusProhibit: 10,
      },
    },
    logical_channel_config: {
      priority: 11,
      prioritisedBitRate: 8,
      bucketSizeDuration: 100,
      logicalChannelGroup: 5,
    },
  },
]
