Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

MeNBtoSgNBContainer - Decoding capability . #84

Closed
suchitsatpathy opened this issue May 23, 2020 · 3 comments
Closed

MeNBtoSgNBContainer - Decoding capability . #84

suchitsatpathy opened this issue May 23, 2020 · 3 comments
Assignees
Labels

Comments

@suchitsatpathy
Copy link

Hi ;

I am trying to decode the following X2 PDU 👍
001b00838e000009006f0002078300f800051c000e000000cb0020ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00cc000a184c096c70604c096c7000cd001f0000d1001a0a2000c0072d01f02a6d0fd4ea69f4fa03e00ac612798083809d00ce0082f982f718988169210229ce400000028ebc0606000002809049a3000481a0603100d00980406228040530805502c46d618c21a0c54083e500892d931541439f60478c73e618f28581c0e1e04fc0000003f00000000a00e0540b40f78e3087000a8f3f140453ed98aa9041e3c471e00438820c22a051fbf90202e3718120180a816826f1c610e00151e7e2808a7db31552083c788e3c0087104184540a3f7f20405c6e30240300020058030a80242080108c062023727802203014008000008818268000e7cc31e50b0302801000802320304d4000438820c22a0407c010040000040280000530058115ba400410000075d240400004000040150288aed40104800d028010a16000102030406070b0c11121318191b252627282d2f4146400542041f0220900834120e230000002220980802412e230000012201002c01854012104008460310118140f40a24e9d3b639f0e24e9d3b639f0c00044000100000080202004008800020100010000400801000907e568262acbde3802000003fcd4ff816e0c814f5c40b04431c55fc8120dc4e81fa6400018c304108502041e6d80835ba74ee20b1a0fcad01181f5d00000033636c9158b11b82010000008400d0146c0118219c0000003371b648b104400e30350f6643182f18437106fb34d0b163a420a08dc575c004048092616d40247fc0000000004001041c0dc2108003c4459483832081001102009000080a0202c3113a80038e0c00ca00080099aaa2400600082061300001990a0181000cc9500c100066528060c00332d40308001998a0100601821349a47493400800c10ec610dc41bc7fe851ce6293940a0802015c000200004000000000422b5515810c0004210003880b1c30060202208001c4058e18030201084000e202c7100181808820007101638800c108a950007101638204110030001020300400403809c001c704000000801000201400880a000802f000416e208208208208784ff907f8198cc00100000002a8000f00007e56820084000814230000102240ac0fc000000112928091409289f8fc5174d870116000100011700080013200614d09010a8dd40140000021041400804de796c949ef6211042400100

The decoder is decoding it well . But it is not decoding , MeNBtoSgNBContainer' . For that was i was trying to use the internode definitions but looks like it is providing me some errors.

Is there any module exists to decode this ?

@p1-bmu p1-bmu self-assigned this May 25, 2020
@p1-bmu
Copy link
Contributor

p1-bmu commented May 25, 2020

As you can read from the TS 36.423 specification on X2AP, the MeNB to SgNB Container IE can include different element from the TS 38.331 (NR RRC), depending of the X2AP message type.
Each case is defined textually within section 9 from TS 36.423, and is not handled as the ASN.1 level, where this container is simply defined as an OCTET STRING.

Therefore, it is up to your application to pick up the right ASN.1 object from the module pycrate_asn1dir.RRCNR depending of the X2 message type, and decode it explicitly.

@p1-bmu
Copy link
Contributor

p1-bmu commented May 25, 2020

Here is the decoding of your specific message:

In [27]: from pycrate_asn1dir.RRCNR import *

In [28]: c = NR_InterNodeDefinitions.CG_ConfigInfo

In [29]: buf = p.get_val_at(('initiatingMessage', 'value', 'SgNBAdditionRequest', 'protocolIEs', 5, 'value', 'MeNBtoSgNBContainer'))

In [30]: c.from_uper(buf)

In [31]: print(c.to_asn1())
{
  criticalExtensions c1 : cg-ConfigInfo : {
    ue-CapabilityInfo UE-CapabilityRAT-ContainerList: {
      {
        rat-Type nr,
        ue-CapabilityRAT-Container 'E720000001475E0303000001404824D1800240D03018806804C0203114020298402A816236B0C610D062A041F2804496C98AA0A1CFB023C639F30C7942C0E070F027E0000001F80000000500702A05A07BC718438005479F8A0229F6CC554820F1E238F0021C4106115028FDFC810171B8C0900C0540B41378E3087000A8F3F140453ED98AA9041E3C471E00438820C22A051FBF90202E371812018001002C0185401210400846031011B93C0110180A00400000440C13400073E618F28581814008004011901826A00021C41061150203E00802000002014000029802C08ADD20020800003AE9202000020000200A8144576A0082400681400850B0000810182030385860889098C0C8D929313941697A0A3200'H
      },
      {
        rat-Type eutra-nr,
        ue-CapabilityRAT-Container '8107C08824020D048388C000000888260200904B88C000004880400B006150048410021180C40460503D02893A74ED8E7C3893A74ED8E7C3000110000400000200808010022000080400040001002004'H
      }
    },
    candidateCellInfoListMN {
      {
        ssbFrequency 129370,
        measResultNeighCellListNR {
          {
            physCellId 197,
            measResult {
              cellResults {
                resultsSSB-Cell {
                  rsrp 47,
                  rsrq 60
                }
              }
            }
          }
        }
      }
    },
    configRestrictInfo {
      allowedBC-ListMRDC {
        {
          bandCombinationIndex 1,
          allowedFeatureSetsList {
            128
          }
        }
      },
      powerCoordination-FR1 {
        p-maxNR-FR1 23
      },
      servCellIndexRangeSCG {
        lowBound 7,
        upBound 31
      }
    },
    sourceConfigSCG RRCReconfiguration: {
      rrc-TransactionIdentifier 0,
      criticalExtensions rrcReconfiguration : {
        secondaryCellGroup CellGroupConfig: {
          cellGroupId 1,
          rlc-BearerToAddModList {
            {
              logicalChannelIdentity 1,
              servedRadioBearer drb-Identity : 3,
              rlc-Config am : {
                ul-AM-RLC {
                  sn-FieldLength size18,
                  t-PollRetransmit ms40,
                  pollPDU p16,
                  pollByte infinity,
                  maxRetxThreshold t32
                },
                dl-AM-RLC {
                  sn-FieldLength size18,
                  t-Reassembly ms20,
                  t-StatusProhibit ms10
                }
              },
              mac-LogicalChannelConfig {
                ul-SpecificParameters {
                  priority 8,
                  prioritisedBitRate kBps8,
                  bucketSizeDuration ms50,
                  logicalChannelGroup 5,
                  schedulingRequestID 0,
                  logicalChannelSR-Mask FALSE,
                  logicalChannelSR-DelayTimerApplied FALSE
                }
              }
            }
          },
          mac-CellGroupConfig {
            drx-Config setup : {
              drx-onDurationTimer milliSeconds : ms8,
              drx-InactivityTimer ms10,
              drx-HARQ-RTT-TimerDL 0,
              drx-HARQ-RTT-TimerUL 0,
              drx-RetransmissionTimerDL sl16,
              drx-RetransmissionTimerUL sl16,
              drx-LongCycleStartOffset ms40 : 1,
              drx-SlotOffset 0
            },
            schedulingRequestConfig {
              schedulingRequestToAddModList {
                {
                  schedulingRequestId 0,
                  sr-ProhibitTimer ms4,
                  sr-TransMax n64
                }
              }
            },
            bsr-Config {
              periodicBSR-Timer sf10,
              retxBSR-Timer sf10
            },
            tag-Config {
              tag-ToAddModList {
                {
                  tag-Id 0,
                  timeAlignmentTimer infinity
                }
              }
            },
            phr-Config setup : {
              phr-PeriodicTimer sf100,
              phr-ProhibitTimer sf50,
              phr-Tx-PowerFactorChange dB3,
              multiplePHR TRUE,
              dummy FALSE,
              phr-Type2OtherCell FALSE,
              phr-ModeOtherCG real
            },
            skipUplinkTxDynamic FALSE
          },
          physicalCellGroupConfig {
            p-NR-FR1 23,
            pdsch-HARQ-ACK-Codebook dynamic
          },
          spCellConfig {
            servCellIndex 7,
            reconfigurationWithSync {
              spCellConfigCommon {
                physCellId 44,
                downlinkConfigCommon {
                  frequencyInfoDL {
                    absoluteFrequencySSB 129370,
                    frequencyBandList {
                      71
                    },
                    absoluteFrequencyPointA 128464,
                    scs-SpecificCarrierList {
                      {
                        offsetToCarrier 0,
                        subcarrierSpacing kHz15,
                        carrierBandwidth 52
                      }
                    }
                  },
                  initialDownlinkBWP {
                    genericParameters {
                      locationAndBandwidth 14025,
                      subcarrierSpacing kHz15
                    },
                    pdcch-ConfigCommon setup : {
                      controlResourceSetZero 6,
                      searchSpaceZero 2,
                      commonSearchSpaceList {
                        {
                          searchSpaceId 1,
                          controlResourceSetId 0,
                          monitoringSlotPeriodicityAndOffset sl1 : NULL,
                          monitoringSymbolsWithinSlot '10000000000000'B,
                          nrofCandidates {
                            aggregationLevel1 n0,
                            aggregationLevel2 n0,
                            aggregationLevel4 n0,
                            aggregationLevel8 n1,
                            aggregationLevel16 n0
                          },
                          searchSpaceType common : {
                            dci-Format0-0-AndFormat1-0 { }
                          }
                        }
                      },
                      ra-SearchSpace 1
                    },
                    pdsch-ConfigCommon setup : {
                      pdsch-TimeDomainAllocationList {
                        {
                          mappingType typeA,
                          startSymbolAndLength 40
                        }
                      }
                    }
                  }
                },
                uplinkConfigCommon {
                  frequencyInfoUL {
                    frequencyBandList {
                      71
                    },
                    absoluteFrequencyPointA 137664,
                    scs-SpecificCarrierList {
                      {
                        offsetToCarrier 0,
                        subcarrierSpacing kHz15,
                        carrierBandwidth 52
                      }
                    }
                  },
                  initialUplinkBWP {
                    genericParameters {
                      locationAndBandwidth 14025,
                      subcarrierSpacing kHz15
                    },
                    rach-ConfigCommon setup : {
                      rach-ConfigGeneric {
                        prach-ConfigurationIndex 17,
                        msg1-FDM one,
                        msg1-FrequencyStart 1,
                        zeroCorrelationZoneConfig 12,
                        preambleReceivedTargetPower -106,
                        preambleTransMax n10,
                        powerRampingStep dB4,
                        ra-ResponseWindow sl10
                      },
                      totalNumberOfRA-Preambles 16,
                      ssb-perRACH-OccasionAndCB-PreamblesPerSSB one : n16,
                      ra-ContentionResolutionTimer sf16,
                      prach-RootSequenceIndex l839 : 99,
                      msg1-SubcarrierSpacing kHz15,
                      restrictedSetConfig unrestrictedSet
                    },
                    pusch-ConfigCommon setup : {
                      groupHoppingEnabledTransformPrecoding enabled,
                      pusch-TimeDomainAllocationList {
                        {
                          k2 2,
                          mappingType typeA,
                          startSymbolAndLength 27
                        },
                        {
                          k2 4,
                          mappingType typeA,
                          startSymbolAndLength 27
                        }
                      },
                      msg3-DeltaPreamble 6,
                      p0-NominalWithGrant -100
                    },
                    pucch-ConfigCommon setup : {
                      pucch-GroupHopping enable,
                      hoppingId 44,
                      p0-nominal -114
                    }
                  },
                  dummy infinity
                },
                n-TimingAdvanceOffset n25600,
                ssb-PositionsInBurst shortBitmap : '8'H,
                ssb-periodicityServingCell ms20,
                dmrs-TypeA-Position pos2,
                ssbSubcarrierSpacing kHz15,
                ss-PBCH-BlockPower 20
              },
              newUE-Identity 18146,
              t304 ms1000
            },
            rlf-TimersAndConstants setup : {
              t310 ms1000,
              n310 n10,
              n311 n1,
              t311 ms3000
            },
            spCellConfigDedicated {
              initialDownlinkBWP {
                pdcch-Config setup : {
                  controlResourceSetToAddModList {
                    {
                      controlResourceSetId 1,
                      frequencyDomainResources '111111110000000000000000000000000000000000000'B,
                      duration 1,
                      cce-REG-MappingType nonInterleaved : NULL,
                      precoderGranularity sameAsREG-bundle,
                      tci-StatesPDCCH-ToAddList {
                        1
                      },
                      pdcch-DMRS-ScramblingID 1052
                    }
                  },
                  searchSpacesToAddModList {
                    {
                      searchSpaceId 2,
                      controlResourceSetId 1,
                      monitoringSlotPeriodicityAndOffset sl1 : NULL,
                      monitoringSymbolsWithinSlot '10000000000000'B,
                      nrofCandidates {
                        aggregationLevel1 n8,
                        aggregationLevel2 n4,
                        aggregationLevel4 n2,
                        aggregationLevel8 n1,
                        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 {
                        bwp-Id 0,
                        referenceSignal ssb : 0,
                        qcl-Type typeC
                      }
                    },
                    {
                      tci-StateId 1,
                      qcl-Type1 {
                        bwp-Id 0,
                        referenceSignal csi-rs : 0,
                        qcl-Type typeA
                      }
                    }
                  },
                  resourceAllocation resourceAllocationType0,
                  pdsch-TimeDomainAllocationList setup : {
                    {
                      mappingType typeA,
                      startSymbolAndLength 40
                    }
                  },
                  rbg-Size config1,
                  mcs-Table qam256,
                  maxNrofCodeWordsScheduledByDCI n1,
                  prb-BundlingType staticBundling : {
                    bundleSize n4
                  },
                  zp-CSI-RS-ResourceToAddModList {
                    {
                      zp-CSI-RS-ResourceId 12,
                      resourceMapping {
                        frequencyDomainAllocation other : '000100'B,
                        nrofPorts p4,
                        firstOFDMSymbolInTimeDomain 7,
                        cdm-Type fd-CDM2,
                        density one : NULL,
                        freqBand {
                          startingRB 0,
                          nrofRBs 52
                        }
                      },
                      periodicityAndOffset slots40 : 1
                    }
                  },
                  p-ZP-CSI-RS-ResourceSet setup : {
                    zp-CSI-RS-ResourceSetId 0,
                    zp-CSI-RS-ResourceIdList {
                      12
                    }
                  }
                },
                radioLinkMonitoringConfig setup : {
                  failureDetectionResourcesToAddModList {
                    {
                      radioLinkMonitoringRS-Id 0,
                      purpose rlf,
                      detectionResource ssb-Index : 0
                    }
                  }
                }
              },
              firstActiveDownlinkBWP-Id 0,
              uplinkConfig {
                initialUplinkBWP {
                  pucch-Config setup : {
                    resourceSetToAddModList {
                      {
                        pucch-ResourceSetId 0,
                        resourceList {
                          0,
                          1,
                          2,
                          3
                        }
                      }
                    },
                    resourceToAddModList {
                      {
                        pucch-ResourceId 0,
                        startingPRB 0,
                        intraSlotFrequencyHopping enabled,
                        secondHopPRB 51,
                        format format1 : {
                          initialCyclicShift 0,
                          nrofSymbols 14,
                          startingSymbolIndex 0,
                          timeDomainOCC 0
                        }
                      },
                      {
                        pucch-ResourceId 1,
                        startingPRB 0,
                        intraSlotFrequencyHopping enabled,
                        secondHopPRB 51,
                        format format1 : {
                          initialCyclicShift 2,
                          nrofSymbols 14,
                          startingSymbolIndex 0,
                          timeDomainOCC 0
                        }
                      },
                      {
                        pucch-ResourceId 2,
                        startingPRB 0,
                        intraSlotFrequencyHopping enabled,
                        secondHopPRB 51,
                        format format1 : {
                          initialCyclicShift 4,
                          nrofSymbols 14,
                          startingSymbolIndex 0,
                          timeDomainOCC 0
                        }
                      },
                      {
                        pucch-ResourceId 3,
                        startingPRB 0,
                        intraSlotFrequencyHopping enabled,
                        secondHopPRB 51,
                        format format1 : {
                          initialCyclicShift 6,
                          nrofSymbols 14,
                          startingSymbolIndex 0,
                          timeDomainOCC 0
                        }
                      },
                      {
                        pucch-ResourceId 4,
                        startingPRB 0,
                        intraSlotFrequencyHopping enabled,
                        secondHopPRB 51,
                        format format1 : {
                          initialCyclicShift 8,
                          nrofSymbols 14,
                          startingSymbolIndex 0,
                          timeDomainOCC 0
                        }
                      }
                    },
                    format1 setup : { },
                    schedulingRequestResourceToAddModList {
                      {
                        schedulingRequestResourceId 1,
                        schedulingRequestID 0,
                        periodicityAndOffset sl2 : 0,
                        resource 4
                      }
                    },
                    dl-DataToUL-ACK {
                      3,
                      4
                    }
                  },
                  pusch-Config setup : {
                    txConfig codebook,
                    dmrs-UplinkForPUSCH-MappingTypeA setup : {
                      dmrs-AdditionalPosition pos1,
                      transformPrecodingDisabled { },
                      transformPrecodingEnabled { }
                    },
                    pusch-PowerControl {
                      p0-AlphaSets {
                        {
                          p0-PUSCH-AlphaSetId 0,
                          p0 0,
                          alpha alpha1
                        }
                      }
                    },
                    resourceAllocation resourceAllocationType1,
                    pusch-TimeDomainAllocationList setup : {
                      {
                        k2 2,
                        mappingType typeA,
                        startSymbolAndLength 27
                      },
                      {
                        k2 4,
                        mappingType typeA,
                        startSymbolAndLength 27
                      }
                    },
                    transformPrecoder disabled,
                    codebookSubset nonCoherent,
                    maxRank 1,
                    uci-OnPUSCH setup : {
                      betaOffsets semiStatic : {
                        betaOffsetACK-Index1 8,
                        betaOffsetACK-Index2 10,
                        betaOffsetACK-Index3 7,
                        betaOffsetCSI-Part1-Index1 7,
                        betaOffsetCSI-Part1-Index2 6,
                        betaOffsetCSI-Part2-Index1 5,
                        betaOffsetCSI-Part2-Index2 4
                      },
                      scaling f1
                    }
                  },
                  srs-Config setup : {
                    srs-ResourceSetToAddModList {
                      {
                        srs-ResourceSetId 1,
                        srs-ResourceIdList {
                          1
                        },
                        resourceType aperiodic : {
                          aperiodicSRS-ResourceTrigger 1
                        },
                        usage codebook,
                        p0 -110
                      }
                    },
                    srs-ResourceToAddModList {
                      {
                        srs-ResourceId 1,
                        nrofSRS-Ports port1,
                        transmissionComb n2 : {
                          combOffset-n2 0,
                          cyclicShift-n2 0
                        },
                        resourceMapping {
                          startPosition 0,
                          nrofSymbols n1,
                          repetitionFactor n1
                        },
                        freqDomainPosition 4,
                        freqDomainShift 0,
                        freqHopping {
                          c-SRS 0,
                          b-SRS 0,
                          b-hop 0
                        },
                        groupOrSequenceHopping neither,
                        resourceType aperiodic : { },
                        sequenceId 0
                      }
                    }
                  }
                },
                firstActiveUplinkBWP-Id 0,
                pusch-ServingCellConfig setup : { }
              },
              pdsch-ServingCellConfig setup : {
                nrofHARQ-ProcessesForPDSCH n16
              },
              csi-MeasConfig setup : {
                nzp-CSI-RS-ResourceToAddModList {
                  {
                    nzp-CSI-RS-ResourceId 0,
                    resourceMapping {
                      frequencyDomainAllocation row1 : '1'H,
                      nrofPorts p1,
                      firstOFDMSymbolInTimeDomain 4,
                      cdm-Type noCDM,
                      density three : NULL,
                      freqBand {
                        startingRB 0,
                        nrofRBs 52
                      }
                    },
                    powerControlOffset 0,
                    scramblingID 44,
                    periodicityAndOffset slots40 : 3,
                    qcl-InfoPeriodicCSI-RS 0
                  },
                  {
                    nzp-CSI-RS-ResourceId 1,
                    resourceMapping {
                      frequencyDomainAllocation row1 : '1'H,
                      nrofPorts p1,
                      firstOFDMSymbolInTimeDomain 8,
                      cdm-Type noCDM,
                      density three : NULL,
                      freqBand {
                        startingRB 0,
                        nrofRBs 52
                      }
                    },
                    powerControlOffset 0,
                    scramblingID 44,
                    periodicityAndOffset slots40 : 3,
                    qcl-InfoPeriodicCSI-RS 0
                  },
                  {
                    nzp-CSI-RS-ResourceId 2,
                    resourceMapping {
                      frequencyDomainAllocation row1 : '1'H,
                      nrofPorts p1,
                      firstOFDMSymbolInTimeDomain 4,
                      cdm-Type noCDM,
                      density three : NULL,
                      freqBand {
                        startingRB 0,
                        nrofRBs 52
                      }
                    },
                    powerControlOffset 0,
                    scramblingID 44,
                    periodicityAndOffset slots40 : 4,
                    qcl-InfoPeriodicCSI-RS 0
                  },
                  {
                    nzp-CSI-RS-ResourceId 3,
                    resourceMapping {
                      frequencyDomainAllocation row1 : '1'H,
                      nrofPorts p1,
                      firstOFDMSymbolInTimeDomain 8,
                      cdm-Type noCDM,
                      density three : NULL,
                      freqBand {
                        startingRB 0,
                        nrofRBs 52
                      }
                    },
                    powerControlOffset 0,
                    scramblingID 44,
                    periodicityAndOffset slots40 : 4,
                    qcl-InfoPeriodicCSI-RS 0
                  },
                  {
                    nzp-CSI-RS-ResourceId 4,
                    resourceMapping {
                      frequencyDomainAllocation row4 : '001'B,
                      nrofPorts p4,
                      firstOFDMSymbolInTimeDomain 9,
                      cdm-Type fd-CDM2,
                      density one : NULL,
                      freqBand {
                        startingRB 0,
                        nrofRBs 52
                      }
                    },
                    powerControlOffset 0,
                    scramblingID 44,
                    periodicityAndOffset slots40 : 1,
                    qcl-InfoPeriodicCSI-RS 1
                  }
                },
                nzp-CSI-RS-ResourceSetToAddModList {
                  {
                    nzp-CSI-ResourceSetId 0,
                    nzp-CSI-RS-Resources {
                      0,
                      1,
                      2,
                      3
                    },
                    trs-Info true
                  },
                  {
                    nzp-CSI-ResourceSetId 1,
                    nzp-CSI-RS-Resources {
                      4
                    }
                  }
                },
                csi-IM-ResourceToAddModList {
                  {
                    csi-IM-ResourceId 0,
                    csi-IM-ResourceElementPattern pattern0 : {
                      subcarrierLocation-p0 s4,
                      symbolLocation-p0 7
                    },
                    freqBand {
                      startingRB 0,
                      nrofRBs 52
                    },
                    periodicityAndOffset slots40 : 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 nzp-CSI-RS-SSB : {
                      nzp-CSI-RS-ResourceSetList {
                        1
                      }
                    },
                    bwp-Id 0,
                    resourceType periodic
                  },
                  {
                    csi-ResourceConfigId 2,
                    csi-RS-ResourceSetList csi-IM-ResourceSetList : {
                      0
                    },
                    bwp-Id 0,
                    resourceType periodic
                  }
                },
                csi-ReportConfigToAddModList {
                  {
                    reportConfigId 0,
                    resourcesForChannelMeasurement 1,
                    csi-IM-ResourcesForInterference 2,
                    reportConfigType aperiodic : {
                      reportSlotOffsetList {
                        4,
                        4,
                        4,
                        4,
                        4,
                        4,
                        4,
                        4
                      }
                    },
                    reportQuantity cri-RI-PMI-CQI : NULL,
                    reportFreqConfiguration {
                      cqi-FormatIndicator widebandCQI,
                      pmi-FormatIndicator widebandPMI,
                      csi-ReportingBand subbands7 : '1111111'B
                    },
                    timeRestrictionForChannelMeasurements notConfigured,
                    timeRestrictionForInterferenceMeasurements notConfigured,
                    codebookConfig {
                      codebookType type1 : {
                        subType typeI-SinglePanel : {
                          nrOfAntennaPorts moreThanTwo : {
                            n1-n2 two-one-TypeI-SinglePanel-Restriction : 'FF'H
                          },
                          typeI-SinglePanel-ri-Restriction '03'H
                        },
                        codebookMode 1
                      }
                    },
                    dummy n1,
                    groupBasedBeamReporting disabled : {
                      nrofReportedRS n1
                    },
                    cqi-Table table2,
                    subbandSize value2
                  }
                },
                reportTriggerSize 1,
                aperiodicTriggerStateList setup : {
                  {
                    associatedReportConfigInfoList {
                      {
                        reportConfigId 0,
                        resourcesForChannel nzp-CSI-RS : {
                          resourceSet 1
                        },
                        csi-IM-ResourcesForInterference 1
                      }
                    }
                  }
                }
              },
              tag-Id 0,
              servingCellMO 1
            }
          }
        },
        measConfig {
          measObjectToAddModList {
            {
              measObjectId 1,
              measObject measObjectNR : {
                ssbFrequency 129370,
                ssbSubcarrierSpacing kHz15,
                smtc1 {
                  periodicityAndOffset sf20 : 0,
                  duration sf1
                },
                referenceSignalConfig {
                  ssb-ConfigMobility {
                    deriveSSB-IndexFromCell TRUE
                  }
                },
                quantityConfigIndex 1,
                offsetMO {
                  rsrpOffsetSSB dB0,
                  rsrqOffsetSSB dB0,
                  sinrOffsetSSB dB0,
                  rsrpOffsetCSI-RS dB0,
                  rsrqOffsetCSI-RS dB0,
                  sinrOffsetCSI-RS dB0
                },
                freqBandIndicatorNR 71
              }
            }
          },
          reportConfigToAddModList {
            {
              reportConfigId 1,
              reportConfig reportConfigNR : {
                reportType eventTriggered : {
                  eventId eventA3 : {
                    a3-Offset rsrp : 6,
                    reportOnLeave FALSE,
                    hysteresis 2,
                    timeToTrigger ms640,
                    useWhiteCellList FALSE
                  },
                  rsType ssb,
                  reportInterval ms120,
                  reportAmount infinity,
                  reportQuantityCell {
                    rsrp TRUE,
                    rsrq TRUE,
                    sinr TRUE
                  },
                  maxReportCells 1,
                  includeBeamMeasurements FALSE
                }
              }
            }
          },
          measIdToAddModList {
            {
              measId 1,
              measObjectId 1,
              reportConfigId 1
            }
          },
          quantityConfig {
            quantityConfigNR-List {
              {
                quantityConfigCell {
                  ssb-FilterConfig {
                    filterCoefficientRSRP fc4,
                    filterCoefficientRSRQ fc11,
                    filterCoefficientRS-SINR fc4
                  },
                  csi-RS-FilterConfig {
                    filterCoefficientRSRP fc4,
                    filterCoefficientRSRQ fc11,
                    filterCoefficientRS-SINR fc4
                  }
                }
              }
            }
          }
        }
      }
    },
    scg-RB-Config RadioBearerConfig: {
      drb-ToAddModList {
        {
          cnAssociation eps-BearerIdentity : 5,
          drb-Identity 3,
          pdcp-Config {
            drb {
              discardTimer infinity,
              pdcp-SN-SizeUL len18bits,
              pdcp-SN-SizeDL len18bits,
              headerCompression notUsed : NULL
            },
            moreThanOneRLC {
              primaryPath {
                cellGroup 0
              },
              ul-DataSplitThreshold infinity
            },
            t-Reordering ms200
          }
        }
      },
      securityConfig {
        securityAlgorithmConfig {
          cipheringAlgorithm nea3
        },
        keyToUse secondary
      }
    }
  }
}

Note that the NR RRC message is encoded with Unaligned PER, and not Aligned PER as X2AP.

@suchitsatpathy
Copy link
Author

suchitsatpathy commented May 25, 2020 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants