package
0.0.0-20230402085424-01184fe98492
Repository: https://github.com/zhenggao2/ngapp.git
Documentation: pkg.go.dev

# Functions

FromSliv returns S/L from given SLIV.
ToSliv returns SLIV from given S/L.

# Variables

refer to 3GPP 38.104 vh80 Table 5.3.5-1: BS channel bandwidths and SCS per operating band in FR1.
refer to 3GPP 38.104 vh80 Table 5.3.5-2: BS channel bandwidths and SCS per operating band in FR2-1.
refer to 3GPP 38.104 vh80 Table 5.3.5-3: BS channel bandwidths and SCS per operating band in FR2-2.
new 35MHz/45MHz for FR1.
No description provided by the author
new in R17, for FR2-2.
refer to 3GPP 38.211 vh40 Table 6.3.1.5-1: Precoding matrix for single-layer transmission using two antenna ports.
refer to 3GPP 38.213 vf30 Table 9.2.1-1: PUCCH resource sets before dedicated PUCCH resource configuration.
refer to 3GPP 38.213 vf30/vh40 vh40: Table 13-5: Set of resource blocks and slot symbols of CORESET for Type0-PDCCH search space set when {SS/PBCH block, PDCCH} SCS is {30, 15} kHz for frequency bands with minimum channel bandwidth 40MHz or for the frequency bands given in [8-1, TS 38.101-1] vh40: Table 13-6: Set of resource blocks and slot symbols of CORESET for Type0-PDCCH search space set when {SS/PBCH block, PDCCH} SCS is {30, 30} kHz for frequency bands with minimum channel bandwidth 40MHz or for the frequency bands given in [8-1, TS 38.101-1] Note: "...or for the frequency bands given in 38.101-1" are n79/n104.
refer to 3GPP 38.213 vf30/vh40 vh40 Table 13-1: Set of resource blocks and slot symbols of control resource set for Type0-PDCCH search space when {SS/PBCH block, PDCCH} subcarrier spacing is {15, 15} kHz for frequency bands with minimum channel bandwidth 5 MHz or 10 MHz vh40 Table 13-2: Set of resource blocks and slot symbols of control resource set for Type0-PDCCH search space when {SS/PBCH block, PDCCH} subcarrier spacing is {15, 30} kHz for frequency bands with minimum channel bandwidth 5 MHz or 10 MHz vh40: Table 13-3: Set of resource blocks and slot symbols of CORESET for Type0-PDCCH search space set when {SS/PBCH block, PDCCH} SCS is {30, 15} kHz for frequency bands with minimum channel bandwidth 5 MHz or 10 MHz except for the frequency bands given in [8-1, TS 38.101-1] vh40: Table 13-4: Set of resource blocks and slot symbols of CORESET for Type0-PDCCH search space set when {SS/PBCH block, PDCCH} SCS is {30, 30} kHz for frequency bands with minimum channel bandwidth 5 MHz or 10 MHz except for the frequency bands given in [8-1, TS 38.101-1] Note: "...except for the frequency bands given in 38.101-1" are n79/n104.
refer to 3GPP 38.213 vh40 Table 13-7: Set of resource blocks and slot symbols of control resource set for Type0-PDCCH search space when {SS/PBCH block, PDCCH} subcarrier spacing is {120, 60} kHz Table 13-8: Set of resource blocks and slot symbols of control resource set for Type0-PDCCH search space when {SS/PBCH block, PDCCH} subcarrier spacing is {120, 120} kHz for FR2-1 Table 13-9: Set of resource blocks and slot symbols of control resource set for Type0-PDCCH search space when {SS/PBCH block, PDCCH} subcarrier spacing is {240, 60} kHz Table 13-10: Set of resource blocks and slot symbols of control resource set for Type0-PDCCH search space when {SS/PBCH block, PDCCH} subcarrier spacing is {240, 120} kHz Table for FR2-1.
refer to 3GPP 38.213 vh40 Table 13-10A: Set of resource blocks and slot symbols of CORESET for Type0-PDCCH search space set when {SS/PBCH block, PDCCH} SCS is {120, 120} kHz, {480, 480} kHz, or {960, 960} kHz for FR2-2 Table for FR2-2.
refer to 3GPP 38.211 vf40 Table 7.4.1.5.3-1: CSI-RS locations within a slot.
refer to 3GPP 38.212 vh40 Table 7.3.1.1.2-6: Antenna port(s), transform precoder is enabled, dmrs-Type=1, maxLength=1, except that dmrs-UplinkTransformPrecoding and tp-pi2BPSK are both configured and π/2-BPSK modulation is used Table 7.3.1.1.2-6A: Antenna port(s), transform precoder is enabled, dmrs-UplinkTransformPrecoding and tp-pi2BPSK are both configured, π/2-BPSK modulation is used, dmrs-Type=1, maxLength=1 Table 7.3.1.1.2-7: Antenna port(s), transform precoder is enabled, dmrs-Type=1, maxLength=2, except that dmrs-UplinkTransformPrecoding and tp-pi2BPSK are both configured and π/2-BPSK modulation is used Table 7.3.1.1.2-7A: Antenna port(s), transform precoder is enabled, dmrs-UplinkTransformPrecoding and tp-pi2BPSK are both configured, π/2-BPSK modulation is used, dmrs-Type=1, maxLength=2 Table 7.3.1.1.2-8: Antenna port(s), transform precoder is disabled, dmrs-Type=1, maxLength=1, rank = 1 Table 7.3.1.1.2-9: Antenna port(s), transform precoder is disabled, dmrs-Type=1, maxLength=1, rank = 2 Table 7.3.1.1.2-10: Antenna port(s), transform precoder is disabled, dmrs-Type=1, maxLength=1, rank = 3 Table 7.3.1.1.2-11: Antenna port(s), transform precoder is disabled, dmrs-Type=1, maxLength=1, rank = 4 Table 7.3.1.1.2-12: Antenna port(s), transform precoder is disabled, dmrs-Type=1, maxLength=2, rank = 1 Table 7.3.1.1.2-13: Antenna port(s), transform precoder is disabled, dmrs-Type=1, maxLength=2, rank = 2 Table 7.3.1.1.2-14: Antenna port(s), transform precoder is disabled, dmrs-Type=1, maxLength=2, rank = 3 Table 7.3.1.1.2-15: Antenna port(s), transform precoder is disabled, dmrs-Type=1, maxLength=2, rank = 4 Table 7.3.1.1.2-16: Antenna port(s), transform precoder is disabled, dmrs-Type=2, maxLength=1, rank=1 Table 7.3.1.1.2-17: Antenna port(s), transform precoder is disabled, dmrs-Type=2, maxLength=1, rank=2 Table 7.3.1.1.2-18: Antenna port(s), transform precoder is disabled, dmrs-Type=2, maxLength=1, rank=3 Table 7.3.1.1.2-19: Antenna port(s), transform precoder is disabled, dmrs-Type=2, maxLength=1, rank=4 Table 7.3.1.1.2-20: Antenna port(s), transform precoder is disabled, dmrs-Type=2, maxLength=2, rank=1 Table 7.3.1.1.2-21: Antenna port(s), transform precoder is disabled, dmrs-Type=2, maxLength=2, rank=2 Table 7.3.1.1.2-22: Antenna port(s), transform precoder is disabled, dmrs-Type=2, maxLength=2, rank=3 Table 7.3.1.1.2-23: Antenna port(s), transform precoder is disabled, dmrs-Type=2, maxLength=2, rank=4.
refer to 3GPP 38.212 vh40 Table 7.3.1.1.2-28: SRI indication or Second SRI indication, for non-codebook based PUSCH transmission, Lmax=1 Table 7.3.1.1.2-29: SRI indication for non-codebook based PUSCH transmission, Lmax=2 Table 7.3.1.1.2-29A: Second SRI indication for non-codebook based PUSCH transmission, Lmax=2 Table 7.3.1.1.2-30: SRI indication for non-codebook based PUSCH transmission, Lmax=3 Table 7.3.1.1.2-30A: Second SRI indication for non-codebook based PUSCH transmission, Lmax=3 Table 7.3.1.1.2-31: SRI indication for non-codebook based PUSCH transmission, Lmax=4 Table 7.3.1.1.2-31A: Second SRI indication for non-codebook based PUSCH transmission, Lmax=4 key=(Lmax, N_SRS, SRI) 2023/2/23: Second SRI indication is not supported!.
refer to 3GPP 38.212 vh40 note: 1st part of key: 0=fullyAndPartialAndNonCoherent, 1=partialAndNonCoherent, 2=nonCoherent Table 7.3.1.1.2-4: Precoding information and number of layers, for 2 antenna ports, if transform precoder is disabled, maxRank = 2, and ul-FullPowerTransmission is not configured or configured to fullpowerMode2 or configured to fullpower Table 7.3.1.1.2-4A: Precoding information and number of layers, for 2 antenna ports, if transform precoder is disabled, maxRank = 2, and ul-FullPowerTransmission = fullpowerMode1 Table 7.3.1.1.2-4B: Second precoding information, for 2 antenna ports, if transform precoder is disabled, maxRank = 2, and ul-FullPowerTransmission is not configured or configured to fullpowerMode2 or configured to fullpower Table 7.3.1.1.2-4C: Second precoding information, for 2 antenna ports, if transform precoder is disabled, maxRank = 2, and ul-FullPowerTransmission = fullpowerMode1.
refer to 3GPP 38.212 vh40 note: 1st part of key: 0=fullyAndPartialAndNonCoherent, 1=partialAndNonCoherent, 2=nonCoherent Table 7.3.1.1.2-5: Precoding information and number of layers or Second Precoding information, for 2 antenna ports, if transform precoder is enabled and ul-FullPowerTransmission is not configured or configured to fullpowerMode2 or configured to fullpower, or if transform precoder is disabled, maxRank = 1, and and ul-FullPowerTransmission is not configured or configured to fullpowerMode2 or configured to fullpower Table 7.3.1.1.2-5A: Precoding information and number of layers, for 2 antenna ports or Second Precoding information, if transform precoder is enabled and ul-FullPowerTransmission = fullpowerMode1, or if transform precoder is disabled, maxRank = 1, and ul-FullPowerTransmission = fullpowerMode1.
refer to 3GPP 38.212 vh40 note: 1st part of key: 0=fullyAndPartialAndNonCoherent, 1=partialAndNonCoherent, 2=nonCoherent Table 7.3.1.1.2-2: Precoding information and number of layers, for 4 antenna ports, if transform precoder is disabled, maxRank = 2 or 3 or 4, and ul-FullPowerTransmission is not configured or configured to fullpowerMode2 or configured to fullpower Table 7.3.1.1.2-2A: Precoding information and number of layers for 4 antenna ports, if transform precoder is disabled, maxRank = 2, and ul-FullPowerTransmission = fullpowerMode1 Table 7.3.1.1.2-2B: Precoding information and number of layers for 4 antenna ports, if transform precoder is disabled, maxRank = 3 or 4, and ul-FullPowerTransmission = fullpowerMode1 Table 7.3.1.1.2-2C: Second precoding information, for 4 antenna ports, if transform precoder is disabled, maxRank = 2 or 3 or 4, and ul-FullPowerTransmission is not configured or configured to fullpowerMode2 or configured to fullpower Table 7.3.1.1.2-2D: Second precoding information for 4 antenna ports, if transform precoder is disabled, maxRank = 2, and ul-FullPowerTransmission = fullpowerMode1 Table 7.3.1.1.2-2E: Second precoding information for 4 antenna ports, if transform precoder is disabled, maxRank = 3 or 4, and ul-FullPowerTransmission = fullpowerMode1.
refer to 3GPP 38.212 vh40 note: 1st part of key: 0=fullyAndPartialAndNonCoherent, 1=partialAndNonCoherent, 2=nonCoherent Table 7.3.1.1.2-3: Precoding information and number of layers or Second Precoding information, for 4 antenna ports, if transform precoder is enabled and ul-FullPowerTransmission is either not configured or configured to fullpowerMode2 or configured to fullpower, or if transform precoder is disabled, maxRank = 1, and ul-FullPowerTransmission is not configured or configured to fullpowerMode2 or configured to fullpower Table 7.3.1.1.2-3A: Precoding information and number of layers or Second Precoding information, for 4 antenna ports, if transform precoder is enabled and ul-FullPowerTransmission = fullpowerMode1, or if transform precoder is disabled, maxRank = 1, and ul-FullPowerTransmission = fullpowerMode1.
refer to 3GPP 38.212 vh40 Table 7.3.1.2.2-1: Antenna port(s) (1000 + DMRS port), dmrs-Type=1, maxLength=1.
Valid keys of Dci11AntPortsDmrsType1MaxLen1OneCw.
refer to 3GPP 38.212 vh40 Table 7.3.1.2.2-2: Antenna port(s) (1000 + DMRS port), dmrs-Type=1, maxLength=2.
Valid keys of Dci11AntPortsDmrsType1MaxLen2OneCw.
refer to 3GPP 38.212 vh40 Table 7.3.1.2.2-2: Antenna port(s) (1000 + DMRS port), dmrs-Type=1, maxLength=2.
Valid keys of Dci11AntPortsDmrsType1MaxLen2TwoCws.
refer to 3GPP 38.212 vh40 Table 7.3.1.2.2-3: Antenna port(s) (1000 + DMRS port), dmrs-Type=2, maxLength=1.
Valid keys of Dci11AntPortsDmrsType2MaxLen1OneCw.
refer to 3GPP 38.212 vh40 Table 7.3.1.2.2-3: Antenna port(s) (1000 + DMRS port), dmrs-Type=2, maxLength=1.
Valid keys of Dci11AntPortsDmrsType2MaxLen1TwoCws.
refer to 3GPP 38.212 vh40 Table 7.3.1.2.2-4: Antenna port(s) (1000 + DMRS port), dmrs-Type=2, maxLength=2.
Valid keys of Dci11AntPortsDmrsType2MaxLen2OneCw.
refer to 3GPP 38.212 vh40 Table 7.3.1.2.2-4: Antenna port(s) (1000 + DMRS port), dmrs-Type=2, maxLength=2.
Valid keys of Dci11AntPortsDmrsType2MaxLen2TwoCws.
refer to 3GPP 38.211 vh40 Table 7.4.1.1.2-3: PDSCH DM-RS positions l- for single-symbol DM-RS.
refer to 3GPP 38.211 vh40 Table 7.4.1.1.2-4: PDSCH DM-RS positions l- for double-symbol DM-RS.
refer to 3GPP 38.211 vh40 Table 6.4.1.1.3-6: PUSCH DM-RS positions l- within a slot for single-symbol DM-RS and intra-slot frequency hopping enabled.
refer to 3GPP 38.211 vh40 Table 6.4.1.1.3-3: PUSCH DM-RS positions l- within a slot for single-symbol DM-RS and intra-slot frequency hopping disabled.
refer to 3GPP 38.211 vh40 Table 6.4.1.1.3-4: PUSCH DM-RS positions l- within a slot for double-symbol DM-RS and intra-slot frequency hopping disabled.
refer to 3GPP 38.211 vf30 Table 7.4.1.1.2-1: Parameters for PDSCH DM-RS configuration type 1.
refer to 3GPP 38.211 vf30 Table 7.4.1.1.2-2: Parameters for PDSCH DM-RS configuration type 2.
No description provided by the author
valid PUSCH PRB allocations when transforming precoding is enabled.
refer to 3GPP 38.104 vh80 Table 5.3.2-1: Transmission bandwidth configuration N_RB for FR1.
refer to 3GPP 38.104 vh80 Table 5.3.2-2: Transmission bandwidth configuration N_RB for FR2-1.
refer to 3GPP 38.104 vh80 Table 5.3.2-3: Transmission bandwidth configuration N_RB for FR2-2.
refer to 3GPP 38.211 vh40 Table 6.3.3.2-1: Supported combinations of scsRA and scsPusch, and the corresponding value of kBar.
refer to 3GPP 38.104 vh80 Table 5.2-1: NR operating bands in FR1 Table 5.2-2: NR operating bands in FR2.
SLIV look-up tables for PDSCH.
refer to 3GPP 38.214 vh40 Table 5.1.3.1-4: MCS index table 4 for PDSCH.
refer to 3GPP 38.214 vh40 Table 5.1.3.1-2: MCS index table 2 for PDSCH.
refer to 3GPP 38.214 vh40 Table 5.1.3.1-1: MCS index table 1 for PDSCH.
refer to 3GPP 38.214 vh40 Table 5.1.3.1-3: MCS index table 3 for PDSCH.
refer to 3GPP 38.214 vh40 Table 5.1.2.1.1-3: Default PDSCH time domain resource allocation A for extended CP.
refer to 3GPP 38.214 vh40 Table 5.1.2.1.1-2: Default PDSCH time domain resource allocation A for normal CP.
refer to 3GPP 38.214 vh40 Table 5.1.2.1.1-4: Default PDSCH time domain resource allocation B.
refer to 3GPP 38.214 vh40 Table 5.1.2.1.1-4: Default PDSCH time domain resource allocation B Note 1: If the PDSCH was scheduled with SI-RNTI in PDCCH Type0 common search space, the UE may assume that this PDSCH resource allocation is not applied.
refer to 3GPP 38.214 vh40 Table 5.1.2.1.1-5: Default PDSCH time domain resource allocation C.
refer to 3GPP 38.214 vf30 Table 5.1.2.1.1-5: Default PDSCH time domain resource allocation C Note 1: The UE may assume that this PDSCH resource allocation is not used, if the PDSCH was scheduled with SI-RNTI in PDCCH Type0 common search spac.
SLIV look-up tables for PDSCH.
refer to 3GPP 38.211 vh40 Table 6.3.2.4.1-1:Number of PUCCH symbols and the corresponding N_PUCCH,1_SF,m' Table 6.4.1.3.1.1-1:Number of DM-RS symbols and the corresponding N_PUCCH,1_SF,m' val={{number of PUCCH symbols, number of DMRS symbols} of 1st hop, {number of PUCCH symbols, number of DMRS symbols} of 2nd hop}.
refer to 3GPP 38.211 vh40 Table 6.3.2.4.1-1:Number of PUCCH symbols and the corresponding N_PUCCH,1_SF,m' Table 6.4.1.3.1.1-1:Number of DM-RS symbols and the corresponding N_PUCCH,1_SF,m' val={number of PUCCH symbols, number of DMRS symbols}.
SLIV look-up tables for PUSCH.
No description provided by the author
refer to 3GPP 38.214 vh40 Table 6.1.2.1.1-3: Default PUSCH time domain resource allocation A for extended CP.
refer to 3GPP 38.214 vh40 Table 6.1.2.1.1-2: Default PUSCH time domain resource allocation A for normal CP.
refer to 3GPP 38.214 vh40 Table 6.1.2.1.1-4: Definition of value j.
refer to 3GPP 38.214 vh40 Table 6.1.2.1.1-5: Definition of value Δ.
SLIV look-up tables for PUSCH.
No description provided by the author
refer to 3GPP 38.214 vh40 Table 6.1.4.1-1: MCS index table for PUSCH with transform precoding and 64QAM.
refer to 3GPP 38.214 vh40 Table 6.1.4.1-2: MCS index table 2 for PUSCH with transform precoding and 64QAM.
refer to 3GPP 38.211 vh40 Table 6.3.3.2-2: Random access configurations for FR1 and paired spectrum/supplementary uplink.
refer to 3GPP 38.211 vh40 Table 6.3.3.2-3: Random access configurations for FR1 and unpaired spectrum.
refer to 3GPP 38.211 vh40 Table 6.3.3.2-4: Random access configurations for FR2 and unpaired spectrum.
subcarrier spacing conversion to mu.
refer to 3GPP 38.211 vh40 Table 6.3.3.1-1: PRACH preamble formats for L_RA=839 and scsRA={1.25k, 5k}.
38.331 vh30 periodicityAndOffset and periodicityAndOffset-r17 of SchedulingRequestResourceConfig.
refer to 3GPP 38.211 vf40 Table 6.4.1.4.3-1: SRS bandwidth configuration.
refer to 3GPP 38.331 vh30 ssb-perRACH-OccasionAndCB-PreamblesPerSSB of RACH-ConfigCommon.
refer to 3GPP 38.331 vh30 ssb-perRACH-OccasionAndCB-PreamblesPerSSB of RACH-ConfigCommon.
refer to 3GPP 38.104 vh80 Table 5.4.3.3-1: Applicable SS raster entries per operating band (FR1) Table 5.4.3.3-2: Applicable SS raster entries per operating band (FR2) Table 5.4.3.3-3: Allowed GSCN for operation in band n263 for 120 kHz and 480 kHz.
refer to 3GPP 38.214 vf30 Table 5.1.3.2-1: TBS for N_info <= 3824.

# Structs

AntPortsInfo contains information of the 'Antenna Ports' field of DCI01/DCI11.
CommonPucchResInfo contains information on common PUCCH resource.
Coreste0Info contains info of CORESET0 for CSS0.
CsiRsLocInfo contains information on CSI-RS locations within a slot.
Css0OccasionPat1 contains info of PDCCH occasions for CSS0 with CORESET0 multiplexing pattern 1.
Css0OccasionTd contains time-domain info of PDCCH occasions for CSS0.
Css0PdcchCandidate contains the TD/FD info of PDCCH candidate for CSS0.
DmrsSchInfo contains information of PDSCH/PUSCH DMRS per antenna port.
McsInfo indicates the modulation order and the coding rate(x1024) of each MCS.
NrResExt contains representations of NR resources when exported.
OpBandInfo contains information of NR operating band.
RachInfo contains information for PRACH time-domain mapping.
RegInfo contains info of REGs.
SrsBwInfo contains information on SRS bandwidth configuration.
TimeAllocInfo contains information of PDSCH/PUSCH time-domain allocation.