Amarisoft

NR SA SearchSpace0

The purpose of this tutorial is to see how SearchSpace0 is configured and verified. In terms of test configuration and test procedure, it is very simple. Just configure a few configuration settings in enb.cfg and run the test. you don't even need to connect any UE. All you need to do for verification is to enable lower layer logging and MIB/BCCH.

It is assumed that you already have basic understandings on what is the SearchSpace 0 (If you are not familiar with the concept of the coreset itself, I would suggest to check out this note). SearchSpace0 is the search space where DCI for SIB1 PDSCH is allocated.

The summary of this mechanism would be illustrated as below (as per my understanding).

NR SA CORESET0 01

Image Source : SIB1 decoding Procedure in Sharetechnote

In 3GPP, SSB SCS,PDCCH SCS, Min BW determines which table to apply and the MIB parameter determines the index of the selected table.  In Amarisoft gNB, SSB SCS,PDCCH SCS, Min BW determines which table to apply and the index of the table is specified in enb.cfg. (The index specified in the configuration file is populated in MIB).

Table of Contents

Introduction

In the context of 5G NR (New Radio) networks, SearchSpace0 is a fundamental concept within the initial access and system information acquisition procedures. It is specifically associated with the configuration and allocation of Downlink Control Information (DCI) for the Physical Downlink Shared Channel (PDSCH) carrying System Information Block Type 1 (SIB1). SearchSpace0 operates within a predefined set of configurations as specified by 3GPP standards, involving intricate relationships between the Synchronization Signal Block (SSB) subcarrier spacing (SCS), PDCCH SCS, and the minimum bandwidth supported by the cell. These parameters collectively determine which configuration table is employed for SearchSpace0, with the specific index within that table being conveyed to the User Equipment (UE) via the Master Information Block (MIB) broadcasted over the Physical Broadcast Channel (PBCH). In practical implementations such as Amarisoft gNB, these settings are managed through configuration files (e.g., enb.cfg), allowing for flexible adaptation and verification of SearchSpace0 behavior without the need for active UE connections. The configuration and validation of SearchSpace0 are crucial for ensuring reliable delivery of essential system information to UEs during the cell search and initial access phase, ultimately facilitating seamless network entry and service availability. Understanding these architectural underpinnings and control signaling mechanisms is vital for engineers and researchers working with 5G NR RAN (Radio Access Network) infrastructure, as it directly impacts network accessibility, interoperability, and compliance with 3GPP specifications.

Summary of the Tutorial

This tutorial demonstrates a comprehensive set of test procedures for verifying the allocation and configuration of Search Space 0 (SearchSpace0) in an NR (5G) gNB setup, specifically focusing on how different search_space0_index values (0 to 15) and SSB (Synchronization Signal Block) indices impact the time domain position of SearchSpace0, as per TS 38.213 - Table 13-11. The procedures are designed for FR1 and CORESET0 Multiplexing Pattern 1, and the tests use a TDD cell with a 40 MHz channel bandwidth.

Overall, the test suite systematically covers all combinations of SSB indices (0 and 1) with SearchSpace0 indices (0 to 15), ensuring a thorough validation of SearchSpace0 time domain positioning and configuration using the Amarisoft platform and standardized 5G NR configuration methodologies.

Key Configuration Parameter

The list of configuration parameters for SearchSpace0 is very short as follows. In many cases, you may need to set search_space0_index only but you may need to set start_symb depending on situations.

Test 1 : SSB index 0 or 1, SearchSpace 0 = {0,..,15}

This test runs 16 sub tests, one for each value of search_space0_index from 0 to 15. Each sub test uses its own gNB configuration file. The SSB index is 0 in most of them and 1 in Sub Test 12, 14 and 16. The procedure and the log analysis are the same in every sub test.

Sub Test 1 : SSB index 0, SearchSpace0 = 0

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-0.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-0.cfg

In gnb-sa-searchspace0index-0.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 0 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 0 test

The search space0 is set to the index 0 of 38.213 Table 13-11 (search_space0_index = 0). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 0 in the pdcch block of nr_cell_default. Index 0 of Table 13-11 gives O = 0 and M = 1, with one search space set per slot. The first symbol index of this row is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 0 and row 0 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 0 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 0 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 0. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 0 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 0 of Table 13-11 gives O = 0 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (0 * 2 + 0) mod 20 = 0. In the RB map, PDSCH SI appears in slot 0, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 0 and the n0 calculation for Table 13-11 index 0

Sub Test 2 : SSB index 0, SearchSpace0 = 1

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-1.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-1.cfg

In gnb-sa-searchspace0index-1.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 1 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 1 test

The search space0 is set to the index 1 of 38.213 Table 13-11 (search_space0_index = 1). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 1 in the pdcch block of nr_cell_default. Index 1 of Table 13-11 gives O = 0 and M = 1/2, with two search space sets per slot. The first symbol index of this row is 0 when the SSB index (i) is even. It is the number of CORESET symbols when i is odd. The SSB index is 0 in this test, so the first symbol index is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 1 and row 1 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 1 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 1 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 1. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 1 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 1 of Table 13-11 gives O = 0 and M = 1/2. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (0 * 2 + 0) mod 20 = 0. In the RB map, PDSCH SI appears in slot 0, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 0 and the n0 calculation for Table 13-11 index 1

Sub Test 3 : SSB index 0, SearchSpace0 = 2

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-2.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-2.cfg

In gnb-sa-searchspace0index-2.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 2 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 2 test

The search space0 is set to the index 2 of 38.213 Table 13-11 (search_space0_index = 2). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 2 in the pdcch block of nr_cell_default. Index 2 of Table 13-11 gives O = 2 and M = 1, with one search space set per slot. The first symbol index of this row is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 2 and row 2 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 2 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 2 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 2. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 2 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 2 of Table 13-11 gives O = 2 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (2 * 2 + 0) mod 20 = 4. In the RB map, PDSCH SI appears in slot 4, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 4 and the n0 calculation for Table 13-11 index 2

Sub Test 4 : SSB index 0, SearchSpace0 = 3

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-3.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-3.cfg

In gnb-sa-searchspace0index-3.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 3 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 3 test

The search space0 is set to the index 3 of 38.213 Table 13-11 (search_space0_index = 3). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 3 in the pdcch block of nr_cell_default. Index 3 of Table 13-11 gives O = 2 and M = 1/2, with two search space sets per slot. The first symbol index of this row is 0 when the SSB index (i) is even. It is the number of CORESET symbols when i is odd. The SSB index is 0 in this test, so the first symbol index is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 3 and row 3 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 3 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 3 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 3. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 3 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 3 of Table 13-11 gives O = 2 and M = 1/2. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (2 * 2 + 0) mod 20 = 4. In the RB map, PDSCH SI appears in slot 4, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 4 and the n0 calculation for Table 13-11 index 3

Sub Test 5 : SSB index 0, SearchSpace0 = 4

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-4.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-4.cfg

In gnb-sa-searchspace0index-4.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 4 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 4 test

The search space0 is set to the index 4 of 38.213 Table 13-11 (search_space0_index = 4). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 4 in the pdcch block of nr_cell_default. Index 4 of Table 13-11 gives O = 5 and M = 1, with one search space set per slot. The first symbol index of this row is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 4 and row 4 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 4 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 4 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 4. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 4 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 4 of Table 13-11 gives O = 5 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (5 * 2 + 0) mod 20 = 10. In the RB map, PDSCH SI appears in slot 10, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 10 and the n0 calculation for Table 13-11 index 4

Sub Test 6 : SSB index 0, SearchSpace0 = 5

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-5.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-5.cfg

In gnb-sa-searchspace0index-5.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 5 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 5 test

The search space0 is set to the index 5 of 38.213 Table 13-11 (search_space0_index = 5). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 5 in the pdcch block of nr_cell_default. Index 5 of Table 13-11 gives O = 5 and M = 1/2, with two search space sets per slot. The first symbol index of this row is 0 when the SSB index (i) is even. It is the number of CORESET symbols when i is odd. The SSB index is 0 in this test, so the first symbol index is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 5 and row 5 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 5 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 5 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 5. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 5 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 5 of Table 13-11 gives O = 5 and M = 1/2. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (5 * 2 + 0) mod 20 = 10. In the RB map, PDSCH SI appears in slot 10, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 10 and the n0 calculation for Table 13-11 index 5

Sub Test 7 : SSB index 0, SearchSpace0 = 6

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-6.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-6.cfg

In gnb-sa-searchspace0index-6.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 6 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 6 test

The search space0 is set to the index 6 of 38.213 Table 13-11 (search_space0_index = 6). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 6 in the pdcch block of nr_cell_default. Index 6 of Table 13-11 gives O = 7 and M = 1, with one search space set per slot. The first symbol index of this row is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 6 and row 6 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 6 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 6 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 6. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 6 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 6 of Table 13-11 gives O = 7 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (7 * 2 + 0) mod 20 = 14. In the RB map, PDSCH SI appears in slot 14, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 14 and the n0 calculation for Table 13-11 index 6

Sub Test 8 : SSB index 0, SearchSpace0 = 7

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-7.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-7.cfg

In gnb-sa-searchspace0index-7.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 7 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 7 test

The search space0 is set to the index 7 of 38.213 Table 13-11 (search_space0_index = 7). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 7 in the pdcch block of nr_cell_default. Index 7 of Table 13-11 gives O = 7 and M = 1/2, with two search space sets per slot. The first symbol index of this row is 0 when the SSB index (i) is even. It is the number of CORESET symbols when i is odd. The SSB index is 0 in this test, so the first symbol index is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 7 and row 7 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 7 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 7 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 7. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 7 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 7 of Table 13-11 gives O = 7 and M = 1/2. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (7 * 2 + 0) mod 20 = 14. In the RB map, PDSCH SI appears in slot 14, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 14 and the n0 calculation for Table 13-11 index 7

Sub Test 9 : SSB index 0, SearchSpace0 = 8

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-8.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-8.cfg

In gnb-sa-searchspace0index-8.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 8 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 8 test

The search space0 is set to the index 8 of 38.213 Table 13-11 (search_space0_index = 8). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 8 in the pdcch block of nr_cell_default. Index 8 of Table 13-11 gives O = 0 and M = 2, with one search space set per slot. The first symbol index of this row is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 8 and row 8 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 8 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 8 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 8. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 8 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 8 of Table 13-11 gives O = 0 and M = 2. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (0 * 2 + 0) mod 20 = 0. In the RB map, PDSCH SI appears in slot 0, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 0 and the n0 calculation for Table 13-11 index 8

Sub Test 10 : SSB index 0, SearchSpace0 = 9

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-9.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-9.cfg

In gnb-sa-searchspace0index-9.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 9 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 9 test

The search space0 is set to the index 9 of 38.213 Table 13-11 (search_space0_index = 9). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 9 in the pdcch block of nr_cell_default. Index 9 of Table 13-11 gives O = 5 and M = 2, with one search space set per slot. The first symbol index of this row is 0.

css holds only n_candidates : [ 0, 0, 4, 0, 0 ] in this file. If you select an index with a first symbol index other than 0, add start_symb to css with that value.

pdcch block with search_space0_index 9 and row 9 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 9 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 9 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 9. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space.

MIB log on BCCH-BCH-NR with searchSpaceZero 9 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 9 of Table 13-11 gives O = 5 and M = 2. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (5 * 2 + 0) mod 20 = 10. In the RB map, PDSCH SI appears in slot 10, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 10 and the n0 calculation for Table 13-11 index 9

Sub Test 11 : SSB index 0, SearchSpace0 = 10

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-10.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-10.cfg

In gnb-sa-searchspace0index-10.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 10 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 10 test

The search space0 is set to the index 10 of 38.213 Table 13-11 (search_space0_index = 10). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 10 in the pdcch block of nr_cell_default. Index 10 of Table 13-11 gives O = 0 and M = 1, with one search space set per slot. The first symbol index of this row is 1.

In this file, start_symb : 1 is configured in css, above n_candidates. It has to be configured here because 1 is not the default value (0).

pdcch block with search_space0_index 10, css start_symb 1 and row 10 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 10 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 10 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 10. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space. The PDCCH lines also show symb=1. This matches start_symb : 1 in css.

MIB log on BCCH-BCH-NR with searchSpaceZero 10 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 10 of Table 13-11 gives O = 0 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (0 * 2 + 0) mod 20 = 0. In the RB map, PDSCH SI appears in slot 0, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 0 and the n0 calculation for Table 13-11 index 10

Sub Test 12 : SSB index 1, SearchSpace0 = 11

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-11.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-11.cfg

In gnb-sa-searchspace0index-11.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 11 test

I set "01000000" for SSB bitmap which indicates that the configured SSB index (i) is 1. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213 (NOTE : I changed the ssb bitmap pattern to 01000000 because 1000000 cause conflict between SSB burst and control channel when css start_symb = 2)

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "01000000" in the same branch.

Only the second bit of ssb_pos_bitmap is set. That means only the SSB with index 1 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 01000000 selecting SSB index 1 for the search_space0_index 11 test

The search space0 is set to the index 11 of 38.213 Table 13-11 (search_space0_index = 11). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 11 in the pdcch block of nr_cell_default. Index 11 of Table 13-11 gives O = 0 and M = 1, with one search space set per slot. The first symbol index of this row is 2.

In this file, start_symb : 2 is configured in css, above n_candidates. It has to be configured here because 2 is not the default value (0).

pdcch block with search_space0_index 11, css start_symb 2 and row 11 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 11 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 11 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 11. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space. The PDCCH lines also show symb=2. This matches start_symb : 2 in css.

MIB log on BCCH-BCH-NR with searchSpaceZero 11 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 11 of Table 13-11 gives O = 0 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 1 in this test. A frame has 20 slots at this SCS.

This gives n0 = (0 * 2 + 1) mod 20 = 1. In the RB map, PDSCH SI appears in slot 1, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 1 and the n0 calculation for Table 13-11 index 11

Sub Test 13 : SSB index 0, SearchSpace0 = 12

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-12.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-12.cfg

In gnb-sa-searchspace0index-12.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 12 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 12 test

The search space0 is set to the index 12 of 38.213 Table 13-11 (search_space0_index = 12). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 12 in the pdcch block of nr_cell_default. Index 12 of Table 13-11 gives O = 2 and M = 1, with one search space set per slot. The first symbol index of this row is 1.

In this file, start_symb : 1 is configured in css, above n_candidates. It has to be configured here because 1 is not the default value (0).

pdcch block with search_space0_index 12, css start_symb 1 and row 12 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 12 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 12 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 12. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space. The PDCCH lines also show symb=1. This matches start_symb : 1 in css.

MIB log on BCCH-BCH-NR with searchSpaceZero 12 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 12 of Table 13-11 gives O = 2 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (2 * 2 + 0) mod 20 = 4. In the RB map, PDSCH SI appears in slot 4, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 4 and the n0 calculation for Table 13-11 index 12

Sub Test 14 : SSB index 1, SearchSpace0 = 13

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-13.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-13.cfg

In gnb-sa-searchspace0index-13.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 13 test

I set "01000000" for SSB bitmap which indicates that the configured SSB index (i) is 1. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213 (NOTE : I changed the ssb bitmap pattern to 01000000 because 1000000 cause conflict between SSB burst and control channel when css start_symb = 2)

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "01000000" in the same branch.

Only the second bit of ssb_pos_bitmap is set. That means only the SSB with index 1 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 01000000 selecting SSB index 1 for the search_space0_index 13 test

The search space0 is set to the index 13 of 38.213 Table 13-11 (search_space0_index = 13). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 13 in the pdcch block of nr_cell_default. Index 13 of Table 13-11 gives O = 2 and M = 1, with one search space set per slot. The first symbol index of this row is 2.

In this file, start_symb : 2 is configured in css, above n_candidates. It has to be configured here because 2 is not the default value (0).

pdcch block with search_space0_index 13, css start_symb 2 and row 13 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 13 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 13 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 13. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space. The PDCCH lines also show symb=2. This matches start_symb : 2 in css.

MIB log on BCCH-BCH-NR with searchSpaceZero 13 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 13 of Table 13-11 gives O = 2 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 1 in this test. A frame has 20 slots at this SCS.

This gives n0 = (2 * 2 + 1) mod 20 = 5. In the RB map, PDSCH SI appears in slot 5, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 5 and the n0 calculation for Table 13-11 index 13

Sub Test 15 : SSB index 0, SearchSpace0 = 14

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-14.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-14.cfg

In gnb-sa-searchspace0index-14.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 14 test

I set "10000000" for SSB bitmap which indicates that the configured SSB index (i) is 0. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "10000000" in the same branch.

Only the first bit of ssb_pos_bitmap is set. That means only the SSB with index 0 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 10000000 selecting SSB index 0 for the search_space0_index 14 test

The search space0 is set to the index 14 of 38.213 Table 13-11 (search_space0_index = 14). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 14 in the pdcch block of nr_cell_default. Index 14 of Table 13-11 gives O = 5 and M = 1, with one search space set per slot. The first symbol index of this row is 1.

In this file, start_symb : 1 is configured in css, above n_candidates. It has to be configured here because 1 is not the default value (0).

pdcch block with search_space0_index 14, css start_symb 1 and row 14 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 14 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 14 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 14. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space. The PDCCH lines also show symb=1. This matches start_symb : 1 in css.

MIB log on BCCH-BCH-NR with searchSpaceZero 14 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 14 of Table 13-11 gives O = 5 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 0 in this test. A frame has 20 slots at this SCS.

This gives n0 = (5 * 2 + 0) mod 20 = 10. In the RB map, PDSCH SI appears in slot 10, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 10 and the n0 calculation for Table 13-11 index 14

Sub Test 16 : SSB index 1, SearchSpace0 = 15

In this sub test, it will be shown where (in which slot) Search Space 0 is allocated for FR1 and Coreset0 Multiplexing Pattern 1. In this case, the search space 0 is allocated based on TS 38.213 - Table 13-11

Configuration

gnb-sa-searchspace0index-15.cfg is used for gNB configuration.

enb.cfg symbolic link pointing to gnb-sa-searchspace0index-15.cfg

In gnb-sa-searchspace0index-15.cfg , gNB setting is configured as follows.

In this case, the cell is set to TDD (NR_TDD = 1) and the channel bandwidth (NR_BANDWIDTH) is set to 40 Mhz. You can set it to any bandwidth as long as it is valid for the specified band (You may refer to 38.101-1 regarding the valid channel bandwidth for a specific band)

NR_TDD is 1 and FR2 is 0 in this file. The #if FR2 branch is not used in this test. The cell takes the #else branch, where NR_TDD_CONFIG is 2 and NR_BANDWIDTH is 40.

You can use any bandwidth for this test. A bandwidth of 10 MHz or more is easier to test. N_ANTENNA_DL and N_ANTENNA_UL are both 1, so the cell runs in SISO.

gNB defines with NR_TDD 1 and NR_BANDWIDTH 40 for the search_space0_index 15 test

I set "01000000" for SSB bitmap which indicates that the configured SSB index (i) is 1. Remember this index since it is one of the parameter to determine the time domain position of searchspace 0 according to TS 38.213 (NOTE : I changed the ssb bitmap pattern to 01000000 because 1000000 cause conflict between SSB burst and control channel when css start_symb = 2)

The cell takes the FR1 TDD branch of nr_cell_list. That branch sets band 78, dl_nr_arfcn 632628 (3489.42 MHz) and subcarrier_spacing 30 kHz. ssb_pos_bitmap is "01000000" in the same branch.

Only the second bit of ssb_pos_bitmap is set. That means only the SSB with index 1 is transmitted. If you want a different SSB index, move the 1 to the bit position of that index.

The FR2 branch and the FDD branch are not used in this test.

nr_cell_list with ssb_pos_bitmap 01000000 selecting SSB index 1 for the search_space0_index 15 test

The search space0 is set to the index 15 of 38.213 Table 13-11 (search_space0_index = 15). In this case, the first symbol index (start_symb) is not configured since it is 0 (the default value of start_symb). You can explicitely set start_symb : 0 in css if you like.

search_space0_index is set to 15 in the pdcch block of nr_cell_default. Index 15 of Table 13-11 gives O = 5 and M = 1, with one search space set per slot. The first symbol index of this row is 2.

In this file, start_symb : 2 is configured in css, above n_candidates. It has to be configured here because 2 is not the default value (0).

pdcch block with search_space0_index 15, css start_symb 2 and row 15 of 38.213 Table 13-11 marked

Perform the Test

Start the lte service and check out the result of cell phy and see if the configuration is properly set as intended.

cell phy reports the cell as NR in band n78 with BW 40. The SCS is 30 for DL, for UL and for SSB. The DL ARFCN is 632628 and the SSB ARFCN is 631968.

cell phy output with band n78, BW 40 and SCS 30 for the search_space0_index 15 test

This is all you need to do for the test. You don't need to connect any UE for the test.

Log Analysis

For this test, it is important to collect MIB and BCCH and PHY layer log.  A simple way to do it is to check MIB, BCCH and click [+] button in ENB configuration on WebGUI.

In the Configure ENB window, MIB and BCCH are checked in the Flags row. After the [+] button is clicked, all the layers in the list are at the debug level, PHY included. Click Update to apply the setting.

WebGUI Configure ENB window with MIB and BCCH flags checked for the search_space0_index 15 test

First check out the confents of MIB message and make it sure searchSpaceZero is configured as intended.

The MIB is logged on the BCCH-BCH-NR channel. Select the MIB line and the decoded message is shown on the right. pdcch-ConfigSIB1 carries searchSpaceZero 15. This is the same value as search_space0_index in the configuration file. controlResourceSetZero is 10 in this test.

The PDCCH lines around the MIB show ss_id=0, al=4 and dci=1_0. The PDSCH lines with harq=si are the SIB1 PDSCH scheduled from this search space. The PDCCH lines also show symb=2. This matches start_symb : 2 in css.

MIB log on BCCH-BCH-NR with searchSpaceZero 15 in pdcch-ConfigSIB1

Now check out the location of search space 0 slot in RB map on WebGUI. The RB map does not explicitely plot the resource allocation for CORESET0 and SearchSpace0, but you can indirectly figure out the slot based on SIB1 PDSCH since CORESET0, SearchSpace0 and SIB1 PDSCH are all in the same slot.

The slot is calculated as n0 = (O * 2μ + floor(i * M)) mod Nslotframe,μ. Index 15 of Table 13-11 gives O = 5 and M = 1. 2μ is 2 for 30 kHz SCS. i is the SSB index, and it is 1 in this test. A frame has 20 slots at this SCS.

This gives n0 = (5 * 2 + 1) mod 20 = 11. In the RB map, PDSCH SI appears in slot 11, counted from the start of the frame. This is the slot calculated above.

RB map with SIB1 PDSCH in slot 11 and the n0 calculation for Table 13-11 index 15

RRC / NAS Signaling

This section shows the ASN.1 structure of the message that carries the SearchSpace0 setting. For this tutorial, that is the MIB only. No RRC connection and no NAS message are involved because no UE is connected.

MIB (SA)

: Amarisoft Callbox does not print out the full contents of MIB (PBCH) in the trace log (The MIB contents related to CORESET 0 is printed in the log at meta data section as shown above). The ASN.1 structure of NR SA MIB is as shown below.

NOTE: For further details of each of the parameters, refer to this note from sharetechnote.com

pdcch-ConfigSIB1 is the field to look at in the MIB. It is an 8 bit value (INTEGER 0..255) made of controlResourceSetZero and searchSpaceZero. The upper 4 bits are controlResourceSetZero and define CORESET 0. The lower 4 bits are searchSpaceZero and determine the PDCCH monitoring occasion.

The table for searchSpaceZero depends on the CORESET multiplexing pattern and the frequency range. Pattern 1 in FR1 uses 38.213 Table 13-11. That is the table used in every sub test of this tutorial. Pattern 1 in FR2 uses Table 13-12. Pattern 2 uses Table 13-13 or Table 13-14, depending on the SSB SCS and the PDCCH SCS.

The table for controlResourceSetZero is selected by the SSB SCS, the PDCCH SCS and the minimum bandwidth. The candidates are 38.213 Table 13-1 to Table 13-10. The minimum bandwidth comes from 38.101-1 Table 5.3.5-1.

NR MIB ASN.1 with pdcch-ConfigSIB1 split into controlResourceSetZero and searchSpaceZero bits