From 805d22aa3b7bad4494451bfe651f6955886b624e Mon Sep 17 00:00:00 2001 From: francescomani Date: Wed, 28 May 2025 17:25:20 +0200 Subject: [PATCH] fixing band 50 (according to newer release), band 94 and adding new bands present in Rel.17 --- common/utils/nr/nr_common.c | 21 +++++++++++++++++---- openair1/PHY/INIT/nr_parms.c | 5 +++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/common/utils/nr/nr_common.c b/common/utils/nr/nr_common.c index 078ef027e8..5d98a99bb4 100644 --- a/common/utils/nr/nr_common.c +++ b/common/utils/nr/nr_common.c @@ -207,7 +207,7 @@ int get_smallest_supported_bandwidth_index(int scs, frequency_range_t frequency_ return -1; // not found } -// Table 5.2-1 NR operating bands in FR1 & FR2 (3GPP TS 38.101) +// Table 5.2-1 NR operating bands in FR1 & FR2 (3GPP TS 38.101) (Rel.17) // Table 5.4.2.3-1 Applicable NR-ARFCN per operating band in FR1 & FR2 (3GPP TS 38.101) // Notes: // - N_OFFs for bands from 80 to 89 and band 95 is referred to UL @@ -236,6 +236,7 @@ const nr_bandentry_t nr_bandtable[] = {{1, 1920000, 1980000, 2110000, 2170000, 2 {40, 2300000, 2400000, 2300000, 2400000, 20, 460000, 100}, {41, 2496000, 2690000, 2496000, 2690000, 3, 499200, 15}, {41, 2496000, 2690000, 2496000, 2690000, 6, 499200, 30}, + {46, 5150000, 5925000, 5150000, 5925000, 1, 743334, 15}, {47, 5855000, 5925000, 5855000, 5925000, 1, 790334, 15}, {48, 3550000, 3700000, 3550000, 3700000, 1, 636667, 15}, {48, 3550000, 3700000, 3550000, 3700000, 2, 636668, 30}, @@ -273,6 +274,11 @@ const nr_bandentry_t nr_bandtable[] = {{1, 1920000, 1980000, 2110000, 2170000, 2 {94, 880000, 915000, 1432000, 1517000, 20, 286400, 100}, {95, 2010000, 2025000, 000, 000, 20, 402000, 100}, {96, 5925000, 7125000, 5925000, 7125000, 1, 795000, 15}, + {100, 874400, 880000, 919400, 925000, 20, 174880, 100}, + {101, 1900000, 1910000, 1900000, 1910000, 20, 380000, 100}, + {102, 5925000, 6425000, 5925000, 6425000, 1, 795000, 15}, + {104, 6425000, 7125000, 6425000, 7125000, 1, 828334, 15}, + {104, 6425000, 7125000, 6425000, 7125000, 2, 828334, 30}, {254, 1610000, 1626500, 2483500, 2500000, 20, 496700, 100}, {254, 1610000, 1626500, 2483500, 2500000, 2, 496700, 10}, {255, 1626500, 1660500, 1525000, 1559000, 20, 305000, 100}, @@ -288,7 +294,7 @@ const nr_bandentry_t nr_bandtable[] = {{1, 1920000, 1980000, 2110000, 2170000, 2 {261, 27500040, 28350000, 27500040, 28350000, 1, 2070833, 60}, {261, 27500040, 28350000, 27500040, 28350000, 2, 2070833, 120}}; -// synchronization raster per band tables (Rel.15) +// synchronization raster per band tables (Rel.17) // (38.101-1 Table 5.4.3.3-1 and 38.101-2 Table 5.4.3.3-1) // band nb, sub-carrier spacing index, Range of gscn (First, Step size, Last) // clang-format off @@ -321,8 +327,9 @@ const sync_raster_t sync_raster[] = { {40, 1, 5762, 1, 5989}, {41, 0, 6246, 3, 6717}, {41, 1, 6252, 3, 6714}, + {46, 1, 8993, 1, 9530}, {48, 1, 7884, 1, 7982}, - {50, 0, 3584, 1, 3787}, + {50, 1, 3590, 1, 3781}, {51, 0, 3572, 1, 3574}, {53, 0, 6215, 1, 6232}, {53, 1, 6221, 1, 6226}, @@ -343,7 +350,13 @@ const sync_raster_t sync_raster[] = { {91, 0, 3572, 1, 3574}, {92, 0, 3584, 1, 3787}, {93, 0, 3572, 1, 3574}, - {94, 0, 3584, 1, 3587}, + {94, 0, 3584, 1, 3787}, + {96, 1, 9531, 1, 10363}, + {100, 0, 2303, 1, 2307}, + {101, 0, 4754, 1, 4768}, + {101, 1, 4760, 1, 4764}, + {102, 1, 9531, 1, 9877}, + {104, 1, 9882, 7, 10358}, {254, 0, 6215, 1, 6244}, {254, 1, 6218, 1, 6241}, {255, 0, 3818, 1, 3892}, diff --git a/openair1/PHY/INIT/nr_parms.c b/openair1/PHY/INIT/nr_parms.c index aa1eba0822..2ace21eab5 100644 --- a/openair1/PHY/INIT/nr_parms.c +++ b/openair1/PHY/INIT/nr_parms.c @@ -85,6 +85,11 @@ static const int nr_ssb_table[][3] = { {93, 15, nr_ssb_type_A}, {94, 15, nr_ssb_type_A}, {96, 30, nr_ssb_type_C}, + {100, 15, nr_ssb_type_A}, + {101, 15, nr_ssb_type_A}, + {101, 30, nr_ssb_type_C}, + {102, 30, nr_ssb_type_C}, + {104, 30, nr_ssb_type_C}, {254, 15, nr_ssb_type_A}, {254, 30, nr_ssb_type_C}, {255, 15, nr_ssb_type_A},