Amarisoft

UEsim LTE Handover - LTE to NR

 

The overall callbox logic and 3GPP related with UEsim Handover is same as in Commercial UE handover. The main focus on this tutorial is to highlight on UEsim side configuration for LTE to NR handover. Since the configuration on UEsim for handover can be a little bit complicated, I would like you to have some big picture on the call box and UEsim configuration and relationship between them as illustrated below.

What I want to highlight is that you need to configure multiple cells not only in eNB side, but also in UEsim side. In commercial UE, you don't have to care about this since all of those configuration is done internally.

UESim LTE HO LN Overview 01

NOTE : For the Handover with commercial UE, check out following tutorials.

 

 

Table of Contents

 

 

Test Setup

Test setup for this tutorial is as shown below.  (NOTE : The image is a little bit misleading. You need to connect antenna at least on two sdr cards on both Callbox and UEsim).

TestSetup Callbox UEsim 1sdr 01

 

Key Configuration Parameters

Followings are important configuration parameters for this tutorial. You may click on the items for the descriptions from Amarisoft documents.

 

 

Test 1 : LTE to NR Handover / Triggered by eNB Power Change

This test is to show how to test LTE to NR handover triggered by cell power change from callbox (eNB).

 

Configuration

I used the enb-2cell-ho-irat-b1-n78.cfg on gNB which is copied and modified from gnb-nsa.cfg

UESim LTE HO LN Test1 Config 01

I used the mme-ims-irat.cfg on gNB which is copied and modified from mme-ims.cfg

UESim LTE HO LN Test1 Config 02

I used the ue-ho-irat-LN.cfg on gNB which is copied and modified from ue- ue-nr-nsa.cfg

UESim LTE HO LN Test1 Config 03

In enb-2cell-ho-irat-b1-n78.cfg , the configuration is done as follows. Since this is based on gnb-nsa.cfg, the two cell (LTE and NR) are configured by default. Just to note is to set ALLOW_SA to 1 to make both cell function as camping cell.

UESim LTE HO LN Test1 Config 04

This is the configuration of the first cell(LTE cell in this test). It is important to note that you need to specify the second cell (n_id_cell : 2) into ncell_list(Neighbour cell list) configuration.

UESim LTE HO LN Test1 Config 05

This is the second cell (NR cell) configuration. In this configuration, I didn't set ncell_list here. This mean that you can test only LTE to NR Handover with this configuration. You cannot test NR to LTE Handover. If you want to bidirectional handover (i.e, both LTE to NR and NR to LTE handover), you need to configure ncell_list here as well.

UESim LTE HO LN Test1 Config 06

In cell_default configuration, I set meas_config_desc to trigger the handover only when the expected measurement report is recieved. I also increased the value for inactivity_timer just to give user enough time to tweak cell power to trigger appropriate measurement report.

UESim LTE HO LN Test1 Config 07

NOTE :  UEsim Rx dynamic range may not be as good as commercial UE. The radio link may get brocken if the cell power gets as low as the cell boundrary in the field. So I increased b2_threshold1_rsrp threshold for me measurement to trigger measurement report before cell power gets too low and descreased b2_threshold2_rsrp a lot to trigger the measurement even when NR cell power is very good.

In mme-ims-irat.cfg, the configuration is done as follows.

UESim LTE HO LN Test1 Config 08

In ue-ho-irat-LN.cfg, the configuration is done as follows. Since this is a scenario that requires 2 cells, you need to set N_CELL to 2.

UESim LTE HO LN Test1 Config 09

This is the cell configuration of the first cell. It does not require any specific configuration. You only neet to set dl_earfcn and bandwidth to match the configuration of the first cell on Callbox.

UESim LTE HO LN Test1 Config 10

UESim LTE HO LN Test1 Config 11

This is the configuration of the first ue It does not require any specific configuration. You only neet to set dl_earfcn and bandwidth to match the configuration of the second cell on Callbox.

UESim LTE HO LN Test1 Config 12

 

Perform the Test

Check if the cell is configured as intended. You can check these out with 'cell phy' and 'cell' command.

UESim LTE HO LN Test1 Run 01

This is not mandatory, but I would recommend to log SIB messages for a short time and stop so that you can confirm all the sibs for each cells. But I would not recommend you to capture the SIB log all the time since it may make it difficult to analyze other RRC / NAS messages. So I would just collect SIB log just a few seconds at the beginning and stop logging. You can do it with 'log bcch' command.

UESim LTE HO LN Test1 Run 02

This is not mandatory, but set the proper tx_gain according to your test setup. (NOTE : If this initial cell power setting does not work to trigger the measurement report, you need to do additional power tweak for both cells. In that case, I recommend you to adjust the cell power of each cell with 'cell_gain'. The exact cell power you need to set would vary depending on your test setup. I would suggest you to use cell_gain instead of tx_gain in this case because if you change the cell power with tx_gain, the reference power broadcast in SIB1 changes and UE may behave differently from what you expect.)

UESim LTE HO LN Test1 Run 03

On UEsim, check out the result of 'cells' command. If you see the PCI values, it means the cell is detected (PSS/SSS detected).

UESim LTE HO LN Test1 Run 04

Power on UE on UE sim.

UESim LTE HO LN Test1 Run 05

Check the initial attach and tweak the cell power to trigger measurement report and handover. Here you see the two RACH. The first RACH is to cell=01 and the second RACH is to cell=02, which implies that handover might have been triggered and cell switched to target cell.

UESim LTE HO LN Test1 Run 07

 

Log Analysis

sample log   

Since this test is for Handover based on measurement report, check if eNB transmits RRC Connection Reconfiguration with measurement configuration and see if the contents of the messages are all set as intended.

First check measObjectToAddModList and see the frequency of both the source and target cells are configured.

UESim LTE HO LN Test1 Log 01

Then check reportConfigToAddModList and see if all the events are configured as intented. Here you see that event-a1 and a2 and b2 is configured.

UESim LTE HO LN Test1 Log 02

Now check out measIDToAddModList and see if the measurement conditions are configured as intended. Here you see a2 measurement is registered as measId 2 and b2 measurement is registered as measId3.

UESim LTE HO LN Test1 Log 03

UE send measurementReport with the reception of b2 event (Measurement for NR cell)

UESim LTE HO LN Test1 Log 04

eNB send "Handover required" message for 'eps-to-5gs' to core network.

UESim LTE HO LN Test1 Log 05

Corenetwork send "Handover Request" message to eNB.

UESim LTE HO LN Test1 Log 06

eNB aknowledge with 'Handover request acknowledge' message.

UESim LTE HO LN Test1 Log 07

eNB recieves 'Handover command' message for 'eps-to-5gs' from the core network.

UESim LTE HO LN Test1 Log 08

Then eNB send Mobility from EUTRA message to UE to trigger InterRAT (LTE to NR) handover.

UESim LTE HO LN Test1 Log 09

UE respond with RRC Reconfiguration complete when the configuration in Mobility from EUTRA command is acceptable.

UESim LTE HO LN Test1 Log 10

eNB sends Handover notify message to core network indicating that Handover is being processed.

UESim LTE HO LN Test1 Log 11

Core network notifies gNB of 'success handover' via UE context release command message.

UESim LTE HO LN Test1 Log 12

eNB replies to core network with UE context release complete message.

UESim LTE HO LN Test1 Log 13

Once handover is complete and cell is switched to the destination cell (NR cell), UE goes through registration process for the target cell.

UESim LTE HO LN Test1 Log 14

You can confirm on the result of handover (cell switch) happening in PHY layer by looking into RB map.

UESim LTE HO LN Test1 Log 15

 

 

RRC / NAS Signaling

Here I will just list required message from callbox and I haven't put the required messages from UE side. For the messages from UE, refer to the log analysis and check further with the sample log linked above.

This is the RrcReconfiguration sent by gNB  to configure measurement and handover. (NOTE : You would see some IEs that has a specific assigned vale here, but consider it as just an example value. Those values should vary depending on test requirement)

RrcConnectionReconfiguration - Measurement Configuration

{

  message c1: rrcConnectionReconfiguration: {

    rrc-TransactionIdentifier 0,

    criticalExtensions c1: rrcConnectionReconfiguration-r8: {

      measConfig {

        measObjectToAddModList {

          {

            measObjectId 1,

            measObject measObjectEUTRA: {

              carrierFreq 300,

              allowedMeasBandwidth mbw100,

              presenceAntennaPort1 TRUE,

              neighCellConfig '01'B

            }

          },

          {

            measObjectId 2,

            measObject measObjectNR-r15: {

              carrierFreq-r15 632544,

              rs-ConfigSSB-r15 {

                measTimingConfig-r15 {

                  periodicityAndOffset-r15 sf20-r15: 0,

                  ssb-Duration-r15 sf1

                },

                subcarrierSpacingSSB-r15 kHz30

              },

              quantityConfigSet-r15 1,

              bandNR-r15 setup: 78

            }

          }

        },

        reportConfigToAddModList {

          {

            reportConfigId 1,

            reportConfig reportConfigEUTRA: {

              triggerType event: {

                eventId eventA1: {

                  a1-Threshold threshold-RSRP: 85

                },

                hysteresis 10,

                timeToTrigger ms320

              },

              triggerQuantity rsrp,

              reportQuantity both,

              maxReportCells 1,

              reportInterval ms120,

              reportAmount r1

            }

          },

          {

            reportConfigId 2,

            reportConfig reportConfigEUTRA: {

              triggerType event: {

                eventId eventA2: {

                  a2-Threshold threshold-RSRP: 55

                },

                hysteresis 0,

                timeToTrigger ms640

              },

              triggerQuantity rsrp,

              reportQuantity both,

              maxReportCells 1,

              reportInterval ms120,

              reportAmount r1

            }

          },

          {

            reportConfigId 3,

            reportConfig reportConfigInterRAT: {

              triggerType event: {

                eventId eventB2-NR-r15: {

                  b2-Threshold1-r15 threshold-RSRP: 75,

                  b2-Threshold2NR-r15 nr-RSRP-r15: 16,

                  reportOnLeave-r15 FALSE

                },

                hysteresis 0,

                timeToTrigger ms100

              },

              maxReportCells 8,

              reportInterval ms120,

              reportAmount r1,

              reportQuantityCellNR-r15 {

                ss-rsrp TRUE,

                ss-rsrq TRUE,

                ss-sinr TRUE

              }

            }

          }

        },

        measIdToAddModList {

          {

            measId 2,

            measObjectId 1,

            reportConfigId 2

          },

          {

            measId 3,

            measObjectId 2,

            reportConfigId 3

          }

        },

        quantityConfig {

          quantityConfigEUTRA {

          },

          quantityConfigNRList-r15 {

            {

              measQuantityCellNR-r15 {

              }

            }

          }

        },

        measGapConfig release: NULL

      },

      dedicatedInfoNASList {

        '27A585B8BD010742013E06000.......'H

      },

      radioResourceConfigDedicated {

        srb-ToAddModList {

          {

            srb-Identity 2,

            rlc-Config explicitValue: am: {

              ul-AM-RLC {

                t-PollRetransmit ms60,

                pollPDU pInfinity,

                pollByte kBinfinity,

                maxRetxThreshold t32

              },

              dl-AM-RLC {

                t-Reordering ms45,

                t-StatusProhibit ms0

              }

            },

            logicalChannelConfig defaultValue: NULL

          }

        },

        physicalConfigDedicated {

          antennaInfo-r10 explicitValue-r10: {

            transmissionMode-r10 tm3,

            codebookSubsetRestriction-r10 '11'B,

            ue-TransmitAntennaSelection release: NULL

          },

          cqi-ReportConfig-r10 {

            nomPDSCH-RS-EPRE-Offset 0,

            cqi-ReportPeriodic-r10 setup: {

              cqi-PUCCH-ResourceIndex-r10 0,

              cqi-pmi-ConfigIndex 38,

              cqi-FormatIndicatorPeriodic-r10 widebandCQI-r10: {

              },

              ri-ConfigIndex 483,

              simultaneousAckNackAndCQI TRUE

            }

          }

        },

        drb-ToAddModList-r15 {

          {

            eps-BearerIdentity 5,

            drb-Identity 1,

            rlc-Config am: {

              ul-AM-RLC {

                t-PollRetransmit ms80,

                pollPDU p64,

                pollByte kB125,

                maxRetxThreshold t32

              },

              dl-AM-RLC {

                t-Reordering ms35,

                t-StatusProhibit ms10

              }

            },

            logicalChannelIdentity 3,

            logicalChannelConfig {

              ul-SpecificParameters {

                priority 15,

                prioritisedBitRate kBps8,

                bucketSizeDuration ms100,

                logicalChannelGroup 3

              }

            }

          }

        }

      },

      nonCriticalExtension {

        nonCriticalExtension {

          nonCriticalExtension {

            nonCriticalExtension {

              nonCriticalExtension {

                nonCriticalExtension {

                  nonCriticalExtension {

                    nonCriticalExtension {

                      nr-RadioBearerConfig1-r15 {

                        drb-ToAddModList {

                          {

                            cnAssociation eps-BearerIdentity: 5,

                            drb-Identity 1,

                            pdcp-Config {

                              drb {

                                discardTimer infinity,

                                pdcp-SN-SizeUL len18bits,

                                pdcp-SN-SizeDL len18bits,

                                headerCompression notUsed: NULL,

                                statusReportRequired true

                              },

                              t-Reordering ms3000

                            }

                          }

                        },

                        securityConfig {

                          securityAlgorithmConfig {

                            cipheringAlgorithm nea0

                          },

                          keyToUse master

                        }

 

Mobility From Utra Command - Handover

{

  message c1: mobilityFromEUTRACommand: {

    rrc-TransactionIdentifier 0,

    criticalExtensions c1: mobilityFromEUTRACommand-r9: {

      cs-FallbackIndicator FALSE,

      purpose handover: {

        targetRAT-Type nr,

        targetRAT-MessageContainer {

          rrc-TransactionIdentifier 0,

          criticalExtensions rrcReconfiguration: {

            radioBearerConfig {

              srb-ToAddModList {

                {

                  srb-Identity 1

                },

                {

                  srb-Identity 2

                }

              },

              drb-ToAddModList {

                {

                  cnAssociation sdap-Config: {

                    pdu-Session 1,

                    sdap-HeaderDL absent,

                    sdap-HeaderUL present,

                    defaultDRB TRUE,

                    mappedQoS-FlowsToAdd {

                      1

                    }

                  },

                  drb-Identity 1,

                  pdcp-Config {

                    drb {

                      discardTimer infinity,

                      pdcp-SN-SizeUL len18bits,

                      pdcp-SN-SizeDL len18bits,

                      headerCompression notUsed: NULL,

                      statusReportRequired true

                    },

                    t-Reordering ms3000

                  }

                }

              },

              securityConfig {

                securityAlgorithmConfig {

                  cipheringAlgorithm nea0,

                  integrityProtAlgorithm nia2

                },

                keyToUse master

              }

            },

            nonCriticalExtension {

              masterCellGroup {

                cellGroupId 0,

                rlc-BearerToAddModList {

                  {

                    logicalChannelIdentity 4,

                    servedRadioBearer drb-Identity: 1,

                    rlc-Config am: {

                      ul-AM-RLC {

                        sn-FieldLength size18,

                        t-PollRetransmit ms80,

                        pollPDU p64,

                        pollByte kB125,

                        maxRetxThreshold t4

                      },

                      dl-AM-RLC {

                        sn-FieldLength size18,

                        t-Reassembly ms80,

                        t-StatusProhibit ms10

                      }

                    },

                    mac-LogicalChannelConfig {

                      ul-SpecificParameters {

                        priority 13,

                        prioritisedBitRate kBps8,

                        bucketSizeDuration ms100,

                        logicalChannelGroup 7,

                        schedulingRequestID 0,

                        logicalChannelSR-Mask FALSE,

                        logicalChannelSR-DelayTimerApplied FALSE

                      }

                    }

                  },

                  {

                    logicalChannelIdentity 1,

                    servedRadioBearer srb-Identity: 1,

                    rlc-Config am: {

                      ul-AM-RLC {

                        sn-FieldLength size12,

                        t-PollRetransmit ms45,

                        pollPDU infinity,

                        pollByte infinity,

                        maxRetxThreshold t8

                      },

                      dl-AM-RLC {

                        sn-FieldLength size12,

                        t-Reassembly ms35,

                        t-StatusProhibit ms0

                      }

                    },

                    mac-LogicalChannelConfig {

                      ul-SpecificParameters {

                        priority 1,

                        prioritisedBitRate infinity,

                        bucketSizeDuration ms5,

                        logicalChannelGroup 0,

                        schedulingRequestID 0,

                        logicalChannelSR-Mask FALSE,

                        logicalChannelSR-DelayTimerApplied FALSE

                      }

                    }

                  },

                  {

                    logicalChannelIdentity 2,

                    servedRadioBearer srb-Identity: 2,

                    rlc-Config am: {

                      ul-AM-RLC {

                        sn-FieldLength size12,

                        t-PollRetransmit ms45,

                        pollPDU infinity,

                        pollByte infinity,

                        maxRetxThreshold t8

                      },

                      dl-AM-RLC {

                        sn-FieldLength size12,

                        t-Reassembly ms35,

                        t-StatusProhibit ms0

                      }

                    },

                    mac-LogicalChannelConfig {

                      ul-SpecificParameters {

                        priority 3,

                        prioritisedBitRate infinity,

                        bucketSizeDuration ms5,

                        logicalChannelGroup 0,

                        schedulingRequestID 0,

                        logicalChannelSR-Mask FALSE,

                        logicalChannelSR-DelayTimerApplied FALSE

                      }

                    }

                  }

                },

                mac-CellGroupConfig {

                  schedulingRequestConfig {

                    schedulingRequestToAddModList {

                      {

                        schedulingRequestId 0,

                        sr-TransMax n64

                      }

                    }

                  },

                  bsr-Config {

                    periodicBSR-Timer sf20,

                    retxBSR-Timer sf320

                  },

                  tag-Config {

                    tag-ToAddModList {

                      {

                        tag-Id 0,

                        timeAlignmentTimer infinity

                      }

                    }

                  },

                  phr-Config setup: {

                    phr-PeriodicTimer sf500,

                    phr-ProhibitTimer sf200,

                    phr-Tx-PowerFactorChange dB3,

                    multiplePHR FALSE,

                    dummy FALSE,

                    phr-Type2OtherCell FALSE,

                    phr-ModeOtherCG real

                  },

                  skipUplinkTxDynamic FALSE,

                  dataInactivityTimer release: NULL

                },

                physicalCellGroupConfig {

                  pdsch-HARQ-ACK-Codebook dynamic

                },

                spCellConfig {

                  reconfigurationWithSync {

                    spCellConfigCommon {

                      physCellId 500,

                      downlinkConfigCommon {

                        frequencyInfoDL {

                          absoluteFrequencySSB 632544,

                          frequencyBandList {

                            78

                          },

                          absoluteFrequencyPointA 632016,

                          scs-SpecificCarrierList {

                            {

                              offsetToCarrier 0,

                              subcarrierSpacing kHz30,

                              carrierBandwidth 51

                            }

                          }

                        },

                        initialDownlinkBWP {

                          genericParameters {

                            locationAndBandwidth 13750,

                            subcarrierSpacing kHz30

                          },

                          pdcch-ConfigCommon setup: {

                            controlResourceSetZero 10,

                            searchSpaceZero 0,

                            commonSearchSpaceList {

                              {

                                searchSpaceId 1,

                                controlResourceSetId 0,

                                monitoringSlotPeriodicityAndOffset sl1: NULL,

                                monitoringSymbolsWithinSlot '10000000000000'B,

                                nrofCandidates {

                                  aggregationLevel1 n0,

                                  aggregationLevel2 n0,

                                  aggregationLevel4 n4,

                                  aggregationLevel8 n0,

                                  aggregationLevel16 n0

                                },

                                searchSpaceType common: {

                                  dci-Format0-0-AndFormat1-0 {

                                  }

                                }

                              }

                            },

                            searchSpaceSIB1 0,

                            searchSpaceOtherSystemInformation 1,

                            pagingSearchSpace 1,

                            ra-SearchSpace 1

                          },

                          pdsch-ConfigCommon setup: {

                            pdsch-TimeDomainAllocationList {

                              {

                                mappingType typeA,

                                startSymbolAndLength 40

                              },

                              {

                                mappingType typeA,

                                startSymbolAndLength 57

                              }

                            }

                          }

                        }

                      },

                      uplinkConfigCommon {

                        frequencyInfoUL {

                          scs-SpecificCarrierList {

                            {

                              offsetToCarrier 0,

                              subcarrierSpacing kHz30,

                              carrierBandwidth 51

                            }

                          }

                        },

                        initialUplinkBWP {

                          genericParameters {

                            locationAndBandwidth 13750,

                            subcarrierSpacing kHz30

                          },

                          rach-ConfigCommon setup: {

                            rach-ConfigGeneric {

                              prach-ConfigurationIndex 160,

                              msg1-FDM one,

                              msg1-FrequencyStart 3,

                              zeroCorrelationZoneConfig 15,

                              preambleReceivedTargetPower -110,

                              preambleTransMax n7,

                              powerRampingStep dB4,

                              ra-ResponseWindow sl20

                            },

                            ssb-perRACH-OccasionAndCB-PreamblesPerSSB one: n8,

                            ra-ContentionResolutionTimer sf64,

                            prach-RootSequenceIndex l139: 1,

                            msg1-SubcarrierSpacing kHz30,

                            restrictedSetConfig unrestrictedSet

                          },

                          pusch-ConfigCommon setup: {

                            pusch-TimeDomainAllocationList {

                              {

                                k2 7,

                                mappingType typeA,

                                startSymbolAndLength 27

                              },

                              {

                                k2 4,

                                mappingType typeA,

                                startSymbolAndLength 27

                              },

                              {

                                k2 5,

                                mappingType typeA,

                                startSymbolAndLength 27

                              }

                            },

                            p0-NominalWithGrant -84

                          },

                          pucch-ConfigCommon setup: {

                            pucch-ResourceCommon 11,

                            pucch-GroupHopping neither,

                            p0-nominal -90

                          }

                        },

                        dummy ms500

                      },

                      ssb-PositionsInBurst mediumBitmap: '80'H,

                      ssb-periodicityServingCell ms20,

                      dmrs-TypeA-Position pos2,

                      ssbSubcarrierSpacing kHz30,

                      tdd-UL-DL-ConfigurationCommon {

                        referenceSubcarrierSpacing kHz30,

                        pattern1 {

                          dl-UL-TransmissionPeriodicity ms5,

                          nrofDownlinkSlots 7,

                          nrofDownlinkSymbols 6,

                          nrofUplinkSlots 2,

                          nrofUplinkSymbols 4

                        }

                      },

                      ss-PBCH-BlockPower -56

                    },

                    newUE-Identity 17921,

                    t304 ms1000,

                    smtc {

                      periodicityAndOffset sf20: 0,

                      duration sf1

                    }

                  },

                  spCellConfigDedicated {

                    initialDownlinkBWP {

                      pdcch-Config setup: {

                        controlResourceSetToAddModList {

                          {

                            controlResourceSetId 2,

                            frequencyDomainResources '111111110000000000000000000000000000000000000'B,

                            duration 1,

                            cce-REG-MappingType nonInterleaved: NULL,

                            precoderGranularity sameAsREG-bundle

                          }

                        },

                        searchSpacesToAddModList {

                          {

                            searchSpaceId 2,

                            controlResourceSetId 2,

                            monitoringSlotPeriodicityAndOffset sl1: NULL,

                            monitoringSymbolsWithinSlot '10000000000000'B,

                            nrofCandidates {

                              aggregationLevel1 n0,

                              aggregationLevel2 n2,

                              aggregationLevel4 n1,

                              aggregationLevel8 n0,

                              aggregationLevel16 n0

                            },

                            searchSpaceType ue-Specific: {

                              dci-Formats formats0-1-And-1-1

                            }

                          }

                        }

                      },

                      pdsch-Config setup: {

                        dmrs-DownlinkForPDSCH-MappingTypeA setup: {

                          dmrs-AdditionalPosition pos1

                        },

                        tci-StatesToAddModList {

                          {

                            tci-StateId 0,

                            qcl-Type1 {

                              referenceSignal ssb: 0,

                              qcl-Type typeD

                            }

                          }

                        },

                        resourceAllocation resourceAllocationType1,

                        rbg-Size config1,

                        mcs-Table qam256,

                        prb-BundlingType staticBundling: {

                          bundleSize wideband

                        },

                        zp-CSI-RS-ResourceToAddModList {

                          {

                            zp-CSI-RS-ResourceId 0,

                            resourceMapping {

                              frequencyDomainAllocation row4: '100'B,

                              nrofPorts p4,

                              firstOFDMSymbolInTimeDomain 8,

                              cdm-Type fd-CDM2,

                              density one: NULL,

                              freqBand {

                                startingRB 0,

                                nrofRBs 52

                              }

                            },

                            periodicityAndOffset slots80: 1

                          }

                        },

                        p-ZP-CSI-RS-ResourceSet setup: {

                          zp-CSI-RS-ResourceSetId 0,

                          zp-CSI-RS-ResourceIdList {

                            0

                          }

                        }

                      }

                    },

                    firstActiveDownlinkBWP-Id 0,

                    uplinkConfig {

                      initialUplinkBWP {

                        pucch-Config setup: {

                          resourceSetToAddModList {

                            {

                              pucch-ResourceSetId 0,

                              resourceList {

                                0,

                                1,

                                2,

                                3,

                                4,

                                5,

                                6,

                                7

                              }

                            },

                            {

                              pucch-ResourceSetId 1,

                              resourceList {

                                8,

                                9,

                                10,

                                11

                              }

                            }

                          },

                          resourceToAddModList {

                            {

                              pucch-ResourceId 0,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 1,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 0

                              }

                            },

                            {

                              pucch-ResourceId 1,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 5,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 0

                              }

                            },

                            {

                              pucch-ResourceId 2,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 9,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 0

                              }

                            },

                            {

                              pucch-ResourceId 3,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 1,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 1

                              }

                            },

                            {

                              pucch-ResourceId 4,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 5,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 1

                              }

                            },

                            {

                              pucch-ResourceId 5,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 9,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 1

                              }

                            },

                            {

                              pucch-ResourceId 6,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 1,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 2

                              }

                            },

                            {

                              pucch-ResourceId 7,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 5,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 2

                              }

                            },

                            {

                              pucch-ResourceId 8,

                              startingPRB 1,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 49,

                              format format2: {

                                nrofPRBs 1,

                                nrofSymbols 2,

                                startingSymbolIndex 0

                              }

                            },

                            {

                              pucch-ResourceId 9,

                              startingPRB 1,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 49,

                              format format2: {

                                nrofPRBs 1,

                                nrofSymbols 2,

                                startingSymbolIndex 2

                              }

                            },

                            {

                              pucch-ResourceId 10,

                              startingPRB 1,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 49,

                              format format2: {

                                nrofPRBs 1,

                                nrofSymbols 2,

                                startingSymbolIndex 4

                              }

                            },

                            {

                              pucch-ResourceId 11,

                              startingPRB 1,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 49,

                              format format2: {

                                nrofPRBs 1,

                                nrofSymbols 2,

                                startingSymbolIndex 6

                              }

                            },

                            {

                              pucch-ResourceId 12,

                              startingPRB 50,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 0,

                              format format1: {

                                initialCyclicShift 9,

                                nrofSymbols 14,

                                startingSymbolIndex 0,

                                timeDomainOCC 2

                              }

                            },

                            {

                              pucch-ResourceId 13,

                              startingPRB 1,

                              intraSlotFrequencyHopping enabled,

                              secondHopPRB 49,

                              format format2: {

                                nrofPRBs 1,

                                nrofSymbols 2,

                                startingSymbolIndex 8

                              }

                            }

                          },

                          format1 setup: {

                          },

                          format2 setup: {

                            maxCodeRate zeroDot25

                          },

                          schedulingRequestResourceToAddModList {

                            {

                              schedulingRequestResourceId 1,

                              schedulingRequestID 0,

                              periodicityAndOffset sl40: 8,

                              resource 12

                            }

                          },

                          dl-DataToUL-ACK {

                            8,

                            7,

                            6,

                            5,

                            4,

                            12,

                            11

                          }

                        },

                        pusch-Config setup: {

                          txConfig codebook,

                          dmrs-UplinkForPUSCH-MappingTypeA setup: {

                            dmrs-AdditionalPosition pos1,

                            transformPrecodingDisabled {

                            }

                          },

                          pusch-PowerControl {

                            msg3-Alpha alpha1,

                            p0-AlphaSets {

                              {

                                p0-PUSCH-AlphaSetId 0,

                                p0 0,

                                alpha alpha1

                              }

                            },

                            pathlossReferenceRSToAddModList {

                              {

                                pusch-PathlossReferenceRS-Id 0,

                                referenceSignal ssb-Index: 0

                              }

                            },

                            sri-PUSCH-MappingToAddModList {

                              {

                                sri-PUSCH-PowerControlId 0,

                                sri-PUSCH-PathlossReferenceRS-Id 0,

                                sri-P0-PUSCH-AlphaSetId 0,

                                sri-PUSCH-ClosedLoopIndex i0

                              }

                            }

                          },

                          resourceAllocation resourceAllocationType1,

                          mcs-Table qam256,

                          mcs-TableTransformPrecoder qam256,

                          codebookSubset nonCoherent,

                          maxRank 1,

                          uci-OnPUSCH setup: {

                            betaOffsets semiStatic: {

                              betaOffsetACK-Index1 9,

                              betaOffsetACK-Index2 9,

                              betaOffsetACK-Index3 9,

                              betaOffsetCSI-Part1-Index1 7,

                              betaOffsetCSI-Part1-Index2 7,

                              betaOffsetCSI-Part2-Index1 7,

                              betaOffsetCSI-Part2-Index2 7

                            },

                            scaling f1

                          }

                        },

                        srs-Config setup: {

                          srs-ResourceSetToAddModList {

                            {

                              srs-ResourceSetId 0,

                              srs-ResourceIdList {

                                0

                              },

                              resourceType aperiodic: {

                                aperiodicSRS-ResourceTrigger 1,

                                slotOffset 7

                              },

                              usage codebook,

                              p0 -84,

                              pathlossReferenceRS ssb-Index: 0

                            }

                          },

                          srs-ResourceToAddModList {

                            {

                              srs-ResourceId 0,

                              nrofSRS-Ports port1,

                              transmissionComb n2: {

                                combOffset-n2 0,

                                cyclicShift-n2 0

                              },

                              resourceMapping {

                                startPosition 0,

                                nrofSymbols n1,

                                repetitionFactor n1

                              },

                              freqDomainPosition 0,

                              freqDomainShift 5,

                              freqHopping {

                                c-SRS 11,

                                b-SRS 3,

                                b-hop 0

                              },

                              groupOrSequenceHopping neither,

                              resourceType aperiodic: {

                              },

                              sequenceId 500

                            }

                          }

                        }

                      },

                      firstActiveUplinkBWP-Id 0,

                      pusch-ServingCellConfig setup: {

                      }

                    },

                    pdcch-ServingCellConfig setup: {

                    },

                    pdsch-ServingCellConfig setup: {

                      nrofHARQ-ProcessesForPDSCH n16,

                      maxMIMO-Layers 2

                    },

                    csi-MeasConfig setup: {

                      nzp-CSI-RS-ResourceToAddModList {

                        {

                          nzp-CSI-RS-ResourceId 0,

                          resourceMapping {

                            frequencyDomainAllocation other: '100000'B,

                            nrofPorts p2,

                            firstOFDMSymbolInTimeDomain 4,

                            cdm-Type fd-CDM2,

                            density one: NULL,

                            freqBand {

                              startingRB 0,

                              nrofRBs 52

                            }

                          },

                          powerControlOffset 0,

                          powerControlOffsetSS db0,

                          scramblingID 500,

                          periodicityAndOffset slots80: 1,

                          qcl-InfoPeriodicCSI-RS 0

                        },

                        {

                          nzp-CSI-RS-ResourceId 1,

                          resourceMapping {

                            frequencyDomainAllocation row1: '1'H,

                            nrofPorts p1,

                            firstOFDMSymbolInTimeDomain 4,

                            cdm-Type noCDM,

                            density three: NULL,

                            freqBand {

                              startingRB 0,

                              nrofRBs 52

                            }

                          },

                          powerControlOffset 0,

                          powerControlOffsetSS db0,

                          scramblingID 500,

                          periodicityAndOffset slots40: 11,

                          qcl-InfoPeriodicCSI-RS 0

                        },

                        {

                          nzp-CSI-RS-ResourceId 2,

                          resourceMapping {

                            frequencyDomainAllocation row1: '1'H,

                            nrofPorts p1,

                            firstOFDMSymbolInTimeDomain 8,

                            cdm-Type noCDM,

                            density three: NULL,

                            freqBand {

                              startingRB 0,

                              nrofRBs 52

                            }

                          },

                          powerControlOffset 0,

                          powerControlOffsetSS db0,

                          scramblingID 500,

                          periodicityAndOffset slots40: 11,

                          qcl-InfoPeriodicCSI-RS 0

                        },

                        {

                          nzp-CSI-RS-ResourceId 3,

                          resourceMapping {

                            frequencyDomainAllocation row1: '1'H,

                            nrofPorts p1,

                            firstOFDMSymbolInTimeDomain 4,

                            cdm-Type noCDM,

                            density three: NULL,

                            freqBand {

                              startingRB 0,

                              nrofRBs 52

                            }

                          },

                          powerControlOffset 0,

                          powerControlOffsetSS db0,

                          scramblingID 500,

                          periodicityAndOffset slots40: 12,

                          qcl-InfoPeriodicCSI-RS 0

                        },

                        {

                          nzp-CSI-RS-ResourceId 4,

                          resourceMapping {

                            frequencyDomainAllocation row1: '1'H,

                            nrofPorts p1,

                            firstOFDMSymbolInTimeDomain 8,

                            cdm-Type noCDM,

                            density three: NULL,

                            freqBand {

                              startingRB 0,

                              nrofRBs 52

                            }

                          },

                          powerControlOffset 0,

                          powerControlOffsetSS db0,

                          scramblingID 500,

                          periodicityAndOffset slots40: 12,

                          qcl-InfoPeriodicCSI-RS 0

                        }

                      },

                      nzp-CSI-RS-ResourceSetToAddModList {

                        {

                          nzp-CSI-ResourceSetId 0,

                          nzp-CSI-RS-Resources {

                            0

                          }

                        },

                        {

                          nzp-CSI-ResourceSetId 1,

                          nzp-CSI-RS-Resources {

                            1,

                            2,

                            3,

                            4

                          },

                          trs-Info true

                        }

                      },

                      csi-IM-ResourceToAddModList {

                        {

                          csi-IM-ResourceId 0,

                          csi-IM-ResourceElementPattern pattern1: {

                            subcarrierLocation-p1 s8,

                            symbolLocation-p1 8

                          },

                          freqBand {

                            startingRB 0,

                            nrofRBs 52

                          },

                          periodicityAndOffset slots80: 1

                        }

                      },

                      csi-IM-ResourceSetToAddModList {

                        {

                          csi-IM-ResourceSetId 0,

                          csi-IM-Resources {

                            0

                          }

                        }

                      },

                      csi-ResourceConfigToAddModList {

                        {

                          csi-ResourceConfigId 0,

                          csi-RS-ResourceSetList nzp-CSI-RS-SSB: {

                            nzp-CSI-RS-ResourceSetList {

                              0

                            }

                          },

                          bwp-Id 0,

                          resourceType periodic

                        },

                        {

                          csi-ResourceConfigId 1,

                          csi-RS-ResourceSetList csi-IM-ResourceSetList: {

                            0

                          },

                          bwp-Id 0,

                          resourceType periodic

                        },

                        {

                          csi-ResourceConfigId 2,

                          csi-RS-ResourceSetList nzp-CSI-RS-SSB: {

                            nzp-CSI-RS-ResourceSetList {

                              1

                            }

                          },

                          bwp-Id 0,

                          resourceType periodic

                        }

                      },

                      csi-ReportConfigToAddModList {

                        {

                          reportConfigId 0,

                          resourcesForChannelMeasurement 0,

                          csi-IM-ResourcesForInterference 1,

                          reportConfigType periodic: {

                            reportSlotConfig slots80: 9,

                            pucch-CSI-ResourceList {

                              {

                                uplinkBandwidthPartId 0,

                                pucch-Resource 13

                              }

                            }

                          },

                          reportQuantity cri-RI-PMI-CQI: NULL,

                          reportFreqConfiguration {

                            cqi-FormatIndicator widebandCQI,

                            pmi-FormatIndicator widebandPMI

                          },

                          timeRestrictionForChannelMeasurements notConfigured,

                          timeRestrictionForInterferenceMeasurements notConfigured,

                          codebookConfig {

                            codebookType type1: {

                              subType typeI-SinglePanel: {

                                nrOfAntennaPorts two: {

                                  twoTX-CodebookSubsetRestriction '111111'B

                                },

                                typeI-SinglePanel-ri-Restriction '03'H

                              },

                              codebookMode 1

                            }

                          },

                          groupBasedBeamReporting disabled: {

                          },

                          cqi-Table table2,

                          subbandSize value1

                        }

                      }

                    },

                    tag-Id 0,

                    lte-CRS-ToMatchAround release: NULL

                  }

                }

              },

              fullConfig true,

              masterKeyUpdate {

                keySetChangeIndicator TRUE,

                nextHopChainingCount 0,

                nas-Container 'AFC7006602180000'H

              },

              dedicatedSIB1-Delivery {

                cellSelectionInfo {

                  q-RxLevMin -70,

                  q-QualMin -20

                },

                cellAccessRelatedInfo {

                  plmn-IdentityInfoList {

                    {

                      plmn-IdentityList {

                        {

                          mcc {

                            0,

                            0,

                            1

                          },

                          mnc {

                            0,

                            1

                          }

                        }

                      },

                      trackingAreaCode '000064'H,

                      cellIdentity '001234502'H,

                      cellReservedForOperatorUse notReserved

                    }

                  }

                },

                connEstFailureControl {

                  connEstFailCount n1,

                  connEstFailOffsetValidity s30,

                  connEstFailOffset 1

                },

                servingCellConfigCommon {

                  downlinkConfigCommon {

                    frequencyInfoDL {

                      frequencyBandList {

                        {

                          freqBandIndicatorNR 78

                        }

                      },

                      offsetToPointA 24,

                      scs-SpecificCarrierList {

                        {

                          offsetToCarrier 0,

                          subcarrierSpacing kHz30,

                          carrierBandwidth 51

                        }

                      }

                    },

                    initialDownlinkBWP {

                      genericParameters {

                        locationAndBandwidth 13750,

                        subcarrierSpacing kHz30

                      },

                      pdcch-ConfigCommon setup: {

                        commonSearchSpaceList {

                          {

                            searchSpaceId 1,

                            controlResourceSetId 0,

                            monitoringSlotPeriodicityAndOffset sl1: NULL,

                            monitoringSymbolsWithinSlot '10000000000000'B,

                            nrofCandidates {

                              aggregationLevel1 n0,

                              aggregationLevel2 n0,

                              aggregationLevel4 n4,

                              aggregationLevel8 n0,

                              aggregationLevel16 n0

                            },

                            searchSpaceType common: {

                              dci-Format0-0-AndFormat1-0 {

                              }

                            }

                          }

                        },

                        searchSpaceSIB1 0,

                        searchSpaceOtherSystemInformation 1,

                        pagingSearchSpace 1,

                        ra-SearchSpace 1

                      },

                      pdsch-ConfigCommon setup: {

                        pdsch-TimeDomainAllocationList {

                          {

                            mappingType typeA,

                            startSymbolAndLength 40

                          },

                          {

                            mappingType typeA,

                            startSymbolAndLength 57

                          }

                        }

                      }

                    },

                    bcch-Config {

                      modificationPeriodCoeff n4

                    },

                    pcch-Config {

                      defaultPagingCycle rf128,

                      nAndPagingFrameOffset oneT: NULL,

                      ns one

                    }

                  },

                  uplinkConfigCommon {

                    frequencyInfoUL {

                      scs-SpecificCarrierList {

                        {

                          offsetToCarrier 0,

                          subcarrierSpacing kHz30,

                          carrierBandwidth 51

                        }

                      }

                    },

                    initialUplinkBWP {

                      genericParameters {

                        locationAndBandwidth 13750,

                        subcarrierSpacing kHz30

                      },

                      rach-ConfigCommon setup: {

                        rach-ConfigGeneric {

                          prach-ConfigurationIndex 160,

                          msg1-FDM one,

                          msg1-FrequencyStart 3,

                          zeroCorrelationZoneConfig 15,

                          preambleReceivedTargetPower -110,

                          preambleTransMax n7,

                          powerRampingStep dB4,

                          ra-ResponseWindow sl20

                        },

                        ssb-perRACH-OccasionAndCB-PreamblesPerSSB one: n8,

                        ra-ContentionResolutionTimer sf64,

                        prach-RootSequenceIndex l139: 1,

                        msg1-SubcarrierSpacing kHz30,

                        restrictedSetConfig unrestrictedSet

                      },

                      pusch-ConfigCommon setup: {

                        pusch-TimeDomainAllocationList {

                          {

                            k2 7,

                            mappingType typeA,

                            startSymbolAndLength 27

                          },

                          {

                            k2 4,

                            mappingType typeA,

                            startSymbolAndLength 27

                          },

                          {

                            k2 5,

                            mappingType typeA,

                            startSymbolAndLength 27

                          }

                        },

                        p0-NominalWithGrant -84

                      },

                      pucch-ConfigCommon setup: {

                        pucch-ResourceCommon 11,

                        pucch-GroupHopping neither,

                        p0-nominal -90

                      }

                    },

                    timeAlignmentTimerCommon infinity

                  },

                  ssb-PositionsInBurst {

                    inOneGroup '80'H

                  },

                  ssb-PeriodicityServingCell ms20,

                  tdd-UL-DL-ConfigurationCommon {

                    referenceSubcarrierSpacing kHz30,

                    pattern1 {

                      dl-UL-TransmissionPeriodicity ms5,

                      nrofDownlinkSlots 7,

                      nrofDownlinkSymbols 6,

                      nrofUplinkSlots 2,

                      nrofUplinkSymbols 4

                    }

                  },

                  ss-PBCH-BlockPower -56

                },

                ue-TimersAndConstants {

                  t300 ms1000,

                  t301 ms1000,

                  t310 ms1000,

                  n310 n1,

                  t311 ms30000,

                  n311 n1,

                  t319 ms1000

                }