spritelab / 5GSniffer

33 stars 12 forks source link

How to find the information in pdcch from the sib information below? #4

Closed shuimoshusheng closed 3 months ago

shuimoshusheng commented 8 months ago
<SIB1>
    <cellSelectionInfo>
        <q-RxLevMin>[LIBCONFIG] gNBs.[0].plmn_list.[0].snssaiList.[0]: 2/2 parameters successfully set, (0 to default value)
-65</q-RxLevMin>
    </cellSelectionInfo>
    <cellA[GNB_APP]   default drx 0
[GTPU]   Configuring GTPu
ccessRelatedInfo>
        <plmn-IdentityList>
    [LIBCONFIG] gNBs.[0].plmn_list.[0].snssaiList.[1]: 2/2 parameters successfully set, (0 to default value)
        <PLMN-IdentityInfo>
                <plmn-IdentityList>
                    <PLMN-Identity>
                [LIBCONFIG] gNBs.[0].plmn_list.[0].snssaiList.[2]: 2/2 parameters successfully set, (1 to default value)
        <mcc>
                            <MCC-MNC-Digit>4</MCC-MNC-Digit>
                            <MCC-MNC-Digit>6</MCC-MNC-Digit>
                            <MCC-MNC-Digit>0</MCC-MNC-Digit>
                        </mcc>
                        <mnc>
                            <MCC-MNC-Digit>0</MCC-MNC-Digit>
                            <MCC-MNC-Digit>3</MCC-MNC-Digit>
                        </mnc>
                    </PLMN-Identity>
                </plmn-IdentityList>
                <trackingAreaCode>
                    000000000000000001100100
        [LIBCONFIG] gNBs.[0].amf_ip_address.[0]: 4/4 parameters successfully set, (0 to default value)
        </trackingAreaCode>
                <cellIdentity>
                    000000000000000000000000111000000000
                </cellIdentity>
                <cellReservedForOperatorUse><notReserved/></cellReservedForOperatorUse>
            </PLMN-IdentityInfo>
        </plmn-IdentityList>
    </cellAccessRelatedInfo>
    <servingCellConfigCommon>
        <[LIBCONFIG] gNBs.[0].SCTP: 2/2 parameters successfully set, (0 to default value)
downlinkConfigCommon>
            <frequencyInfoDL>
                <frequencyBandList>
                    <NR-MultiBandInfo>
                        <freqBandIndicatorNR>78</freqBandIndicatorNR>
                    </NR-MultiBandInfo>
                </frequencyBandList>
                <offsetToPointA>86</offsetToPointA>
                <scs-SpecificCarrierList>
                    <SCS-SpecificCarrier>
                        <offsetToCarrier>0</offsetToCarrier>
                        <subcarrierSpacing><kHz30/></subcarrierSpacing>
                        <carrierBandwidth>106</carrierBandwidth>
                    </SCS-SpecificCarrier>
                </scs-SpecificCarrierList>
            </frequencyInfoDL>
            <initialDownlinkBWP>
                <genericParameters>
                    <locationAndBandwidth>28875</locationAndBandwidth>
                    <subcarrierSpacing><kHz30/></subcarrierSpacing>
                </genericParameters>
                <pdcch-ConfigCommon>
                    <setup>
                        <controlResourceSetZero>12</controlResourceSetZero>
                        <searchSpaceZero>0</searchSpaceZero>
                        <commonSearchSpaceList>
                    [LIBCONFIG] gNBs.[0].NETWORK_INTERFACES: 10/10 parameters successfully set, (3 to default value)
        <SearchSpace>
                                <searchSpaceId>1</searchSpaceId>
                                <controlResourceSetId>0</controlResourceSetId>
                                <monitoringSlotPeriodicityAndOffset>
                                    <sl1></sl1>
                                </monitoringSlotPeriodicityAndOffset>
                                <monitoringSymbolsWithinSlot>
                                    10000000000000
                                </monitoringSymbolsWithinSlot>
                                <nrofCandidates>
                                    <aggregationLevel1><n0/></aggregationLevel1>
                                    <aggregationLevel2><n0/></aggregationLevel2>
                                    <aggregationLevel4><n1/></aggregationLevel4>
                                    <aggregationLevel8><n0/></aggregationLevel8>
                                    <aggregationLevel16><n0/></aggregationLevel16>
                                </nrofCandidates>
                                <searchSpaceType>
                                    <common>
                                        <dci-Format0-0-AndFormat1-0>
                                        </dci-Format0-0-AndFormat1-0>
                                    </common>
                                </searchSpaceType>
                            </SearchSpace>
                            <SearchSpace>
                                <searchSpaceId>2</searchSpaceId>
                                <controlResourceSetId>0</controlResourceSetId>
                                <monitoringSlotPeriodicityAndOffset>
                                    <sl1></sl1>
                                </monitoringSlotPeriodicityAndOffset>
                                <monitoringSymbolsWithinSlot>
                                    10000000000000
                                </monitoringSymbolsWithinSlot>
                                <nrofCandidates>
                                    <aggregationLevel1><n0/></aggregationLevel1>
                                    <aggregationLevel2><n0/></aggregationLevel2>
                                    <aggregationLevel4><n1/></aggregationLevel4>
                                    <aggregationLevel8><n0/></aggregationLevel8>
                                    <aggregationLevel16><n0/></aggregationLevel16>
                                </nrofCandidates>
                                <searchSpaceType>
                                    <common>
                                        <dci-Format0-0-AndFormat1-0>
                                        </dci-Format0-0-AndFormat1-0>
                                    </common>
                                </searchSpaceType>
                            </SearchSpace>
                            <SearchSpace>
                                <searchSpaceId>3</searchSpaceId>
                                <controlResourceSetId>0</controlResourceSetId>
                                <monitoringSlotPeriodicityAndOffset>
                                    <sl1></sl1>
                                </monitoringSlotPeriodicityAndOffset>
                                <monitoringSymbolsWithinSlot>
                                    10000000000000
                                </monitoringSymbolsWithinSlot>
                                <nrofCandidates>
                                    <aggregationLevel1><n0/></aggregationLevel1>
                                    <aggregationLevel2><n0/></aggregationLevel2>
                                    <aggregationLevel4><n1/></aggregationLevel4>
                                    <aggregationLevel8><n0/></aggregationLevel8>
                                    <aggregationLevel16><n0/></aggregationLevel16>
                                </nrofCandidates>
                                <searchSpaceType>
                                    <common>
                                        <dci-Format0-0-AndFormat1-0>
                                        </dci-Format0-0-AndFormat1-0>
                                    </common>
                                </searchSpaceType>
                            </SearchSpace>
                        </commonSearchSpaceList>
                        <searchSpaceSIB1>0</searchSpaceSIB1>
                        <searchSpaceOtherSystemInformation>3</searchSpaceOtherSystemInformation>
                        <pagingSearchSpace>2</pagingSearchSpace>
                        <ra-SearchSpace>1</ra-SearchSpace>
                    </setup>
                </pdcch-ConfigCommon>
                <pdsch-ConfigCommon>
                    <setup>
                        <pdsch-TimeDomainAllocationList>
                            <PDSCH-TimeDomainResourceAllocation>
                                <mappingType><typeA/></mappingType>
                                <startSymbolAndLength>40</startSymbolAndLength>
                            </PDSCH-TimeDomainResourceAllocation>
                            <PDSCH-TimeDomainResourceAllocation>
                                <mappingType><typeA/></mappingType>
                                <startSymbolAndLength>54</startSymbolAndLength>
                            </PDSCH-TimeDomainResourceAllocation>
                            <PDSCH-TimeDomainResourceAllocation>
                                <mappingType><typeA/></mappingType>
                                <startSymbolAndLength>57</startSymbolAndLength>
                            </PDSCH-TimeDomainResourceAllocation>
                        </pdsch-TimeDomainAllocationList>
                    </setup>
                </pdsch-ConfigCommon>
            </initialDownlinkBWP>
            <bcch-Config>
                <modificationPeriodCoeff><n2/></modificationPeriodCoeff>
            </bcch-Config>
            <pcch-Config>
                <defaultPagingCycle><rf256/></defaultPagingCycle>
                <nAndPagingFrameOffset>
                    <quarterT>1</quarterT>
                </nAndPagingFrameOffset>
                <ns><one/></ns>
                <firstPDCCH-MonitoringOccasionOfPO>
                    <sCS120KHZoneT-SCS60KHZhalfT-SCS30KHZquarterT-SCS15KHZoneEighthT>
                        <INTEGER>0</INTEGER>
                    </sCS120KHZoneT-SCS60KHZhalfT-SCS30KHZquarterT-SCS15KHZoneEighthT>
                </firstPDCCH-MonitoringOccasionOfPO>
            </pcch-Config>
        </downlinkConfigCommon>
        <uplinkConfigCommon>
            <frequencyInfoUL>
                <scs-SpecificCarrierList>
                    <SCS-SpecificCarrier>
                        <offsetToCarrier>0</offsetToCarrier>
                        <subcarrierSpacing><kHz30/></subcarrierSpacing>
                        <carrierBandwidth>106</carrierBandwidth>
                    </SCS-SpecificCarrier>
                </scs-SpecificCarrierList>
                <p-Max>20</p-Max>
            </frequencyInfoUL>
            <initialUplinkBWP>
                <genericParameters>
                    <locationAndBandwidth>28875</locationAndBandwidth>
                    <subcarrierSpacing><kHz30/></subcarrierSpacing>
                </genericParameters>
                <rach-ConfigCommon>
                    <setup>
                        <rach-ConfigGeneric>
                            <prach-ConfigurationIndex>98</prach-ConfigurationIndex>
                            <msg1-FDM><one/></msg1-FDM>
                            <msg1-FrequencyStart>0</msg1-FrequencyStart>
                            <zeroCorrelationZoneConfig>13</zeroCorrelationZoneConfig>
                            <preambleReceivedTargetPower>-96</preambleReceivedTargetPower>
                            <preambleTransMax><n10/></preambleTransMax>
                            <powerRampingStep><dB2/></powerRampingStep>
                            <ra-ResponseWindow><sl10/></ra-ResponseWindow>
                        </rach-ConfigGeneric>
                        <ssb-perRACH-OccasionAndCB-PreamblesPerSSB>
                            <one><n60/></one>
                        </ssb-perRACH-OccasionAndCB-PreamblesPerSSB>
                        <ra-ContentionResolutionTimer><sf64/></ra-ContentionResolutionTimer>
                        <rsrp-ThresholdSSB>19</rsrp-ThresholdSSB>
                        <prach-RootSequenceIndex>
                            <l139>1</l139>
                        </prach-RootSequenceIndex>
                        <msg1-SubcarrierSpacing><kHz30/></msg1-SubcarrierSpacing>
                        <restrictedSetConfig><unrestrictedSet/></restrictedSetConfig>
                    </setup>
                </rach-ConfigCommon>
                <pusch-ConfigCommon>
                    <setup>
                        <pusch-TimeDomainAllocationList>
                            <PUSCH-TimeDomainResourceAllocation>
                                <k2>6</k2>
                                <mappingType><typeB/></mappingType>
                                <startSymbolAndLength>41</startSymbolAndLength>
                            </PUSCH-TimeDomainResourceAllocation>
                            <PUSCH-TimeDomainResourceAllocation>
                                <k2>6</k2>
                                <mappingType><typeB/></mappingType>
                                <startSymbolAndLength>55</startSymbolAndLength>
                            </PUSCH-TimeDomainResourceAllocation>
                            <PUSCH-TimeDomainResourceAllocation>
                                <k2>6</k2>
                                <mappingType><typeB/></mappingType>
                                <startSymbolAndLength>38</startSymbolAndLength>
                            </PUSCH-TimeDomainResourceAllocation>
                            <PUSCH-TimeDomainResourceAllocation>
                                <k2>7</k2>
                                <mappingType><typeB/></mappingType>
                                <startSymbolAndLength>38</startSymbolAndLength>
                            </PUSCH-TimeDomainResourceAllocation>
                        </pusch-TimeDomainAllocationList>
                        <msg3-DeltaPreamble>1</msg3-DeltaPreamble>
                        <p0-NominalWithGrant>-90</p0-NominalWithGrant>
                    </setup>
                </pusch-ConfigCommon>
                <pucch-ConfigCommon>
                    <setup>
                        <pucch-ResourceCommon>0</pucch-ResourceCommon>
                        <pucch-GroupHopping><neither/></pucch-GroupHopping>
                        <hoppingId>40</hoppingId>
                        <p0-nominal>-90</p0-nominal>
                    </setup>
                </pucch-ConfigCommon>
            </initialUplinkBWP>
            <timeAlignmentTimerCommon><infinity/></timeAlignmentTimerCommon>
        </uplinkConfigCommon>
        <ssb-PositionsInBurst>
            <inOneGroup>
                10000000
            </inOneGroup>
        </ssb-PositionsInBurst>
        <ssb-PeriodicityServingCell><ms20/></ssb-PeriodicityServingCell>
        <tdd-UL-DL-ConfigurationCommon>
            <referenceSubcarrierSpacing><kHz30/></referenceSubcarrierSpacing>
            <pattern1>
                <dl-UL-TransmissionPeriodicity><ms5/></dl-UL-TransmissionPeriodicity>
                <nrofDownlinkSlots>7</nrofDownlinkSlots>
                <nrofDownlinkSymbols>6</nrofDownlinkSymbols>
                <nrofUplinkSlots>2</nrofUplinkSlots>
                <nrofUplinkSymbols>4</nrofUplinkSymbols>
            </pattern1>
        </tdd-UL-DL-ConfigurationCommon>
        <ss-PBCH-BlockPower>-25</ss-PBCH-BlockPower>
    </servingCellConfigCommon>
    <ue-TimersAndConstants>
        <t300><ms400/></t300>
        <t301><ms400/></t301>
        <t310><ms2000/></t310>
        <n310><n10/></n310>
        <t311><ms3000/></t311>
        <n311><n1/></n311>
        <t319><ms400/></t319>
    </ue-TimersAndConstants>
</SIB1>
NorbLd commented 5 months ago

Hi shuimoshuseng,

Do you mean how to get the PDCCH parameters needed to run the code from the SIB information you attached? I added Detailed instructions in the README of the project some time ago, did that help you? The instructions include the equivalence between parameters and the RRC parameter names.

You might need to check some additional resources to understand basic parameters such as downlinkBWP and so on.

shuimoshusheng commented 5 months ago

Hi shuimoshuseng,

Do you mean how to get the PDCCH parameters needed to run the code from the SIB information you attached? I added Detailed instructions in the README of the project some time ago, did that help you? The instructions include the equivalence between parameters and the RRC parameter names.

You might need to check some additional resources to understand basic parameters such as downlinkBWP and so on.

Okay, I will check the README file you wrote later. Thank you🤝