srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
528 stars 179 forks source link

compute_pdcch_code_rate error(lib\scheduler\support\pdcch_aggregation_level_calculator.cpp) #512

Closed lpg-delete closed 7 months ago

lpg-delete commented 8 months ago

Issue Description

static double compute_pdcch_code_rate(unsigned nof_dci_bits, aggregation_level lvl) { static const unsigned pdcch_crc_bits = 24U; static const unsigned nof_bits_per_symbols_qpsk = 2U; return ((double)nof_dci_bits + pdcch_crc_bits) / *(double)(pdcch_constants::NOF_REG_PER_CCE NRE nof_bits_per_symbols_qpsk to_nof_cces(lvl));** } The pdcch dmrs re needs to be removed.

Expected Behavior

static double compute_pdcch_code_rate(unsigned nof_dci_bits, aggregation_level lvl) { static const unsigned pdcch_crc_bits = 24U; static const unsigned nof_bits_per_symbols_qpsk = 2U; return ((double)nof_dci_bits + pdcch_crc_bits) / *(double) (pdcch_constants::NOF_BITS_PER_CCE to_nof_cces(lvl)));** }

herlesupreeth commented 7 months ago

Hey @lpg-delete , thanks for letting us know. The fix will be available in the next release.