Commit 445aac11 authored by Laurent THOMAS's avatar Laurent THOMAS Committed by Robert Schmidt

put dci search in trace level trace, so the trace level debug prints the decoded DCIs

parent 309d5cac
...@@ -43,7 +43,7 @@ void fill_dci_search_candidates(const NR_SearchSpace_t *ss, ...@@ -43,7 +43,7 @@ void fill_dci_search_candidates(const NR_SearchSpace_t *ss,
fapi_nr_dl_config_dci_dl_pdu_rel15_t *rel15, fapi_nr_dl_config_dci_dl_pdu_rel15_t *rel15,
const uint32_t Y) const uint32_t Y)
{ {
LOG_D(NR_MAC_DCI, "Filling search candidates for DCI\n"); LOG_T(NR_MAC_DCI, "Filling search candidates for DCI\n");
int i = 0; int i = 0;
for (int maxL = 16; maxL > 0; maxL >>= 1) { for (int maxL = 16; maxL > 0; maxL >>= 1) {
...@@ -54,7 +54,7 @@ void fill_dci_search_candidates(const NR_SearchSpace_t *ss, ...@@ -54,7 +54,7 @@ void fill_dci_search_candidates(const NR_SearchSpace_t *ss,
maxL); maxL);
if (max_number_of_candidates == 0) if (max_number_of_candidates == 0)
continue; continue;
LOG_D(NR_MAC_DCI, "L %d, max number of candidates %d, aggregation %d\n", maxL, max_number_of_candidates, aggregation); LOG_T(NR_MAC_DCI, "L %d, max number of candidates %d, aggregation %d\n", maxL, max_number_of_candidates, aggregation);
int N_cce_sym = 0; // nb of rbs of coreset per symbol int N_cce_sym = 0; // nb of rbs of coreset per symbol
for (int f = 0; f < 6; f++) { for (int f = 0; f < 6; f++) {
for (int t = 0; t < 8; t++) { for (int t = 0; t < 8; t++) {
...@@ -66,7 +66,7 @@ void fill_dci_search_candidates(const NR_SearchSpace_t *ss, ...@@ -66,7 +66,7 @@ void fill_dci_search_candidates(const NR_SearchSpace_t *ss,
continue; continue;
for (int j = 0; j < max_number_of_candidates; j++) { for (int j = 0; j < max_number_of_candidates; j++) {
int first_cce = aggregation * ((Y + ((j * N_cces) / (aggregation * max_number_of_candidates)) + 0) % (N_cces / aggregation)); int first_cce = aggregation * ((Y + ((j * N_cces) / (aggregation * max_number_of_candidates)) + 0) % (N_cces / aggregation));
LOG_D(NR_MAC_DCI, LOG_T(NR_MAC_DCI,
"Candidate %d of %d first_cce %d (L %d N_cces %d Y %d)\n", "Candidate %d of %d first_cce %d (L %d N_cces %d Y %d)\n",
j, j,
max_number_of_candidates, max_number_of_candidates,
...@@ -79,7 +79,7 @@ void fill_dci_search_candidates(const NR_SearchSpace_t *ss, ...@@ -79,7 +79,7 @@ void fill_dci_search_candidates(const NR_SearchSpace_t *ss,
for (int k = 0; k < i; k++) { for (int k = 0; k < i; k++) {
if (rel15->CCE[k] == first_cce && rel15->L[k] == aggregation) { if (rel15->CCE[k] == first_cce && rel15->L[k] == aggregation) {
duplicated = true; duplicated = true;
LOG_D(NR_MAC_DCI, "Candidate %d of %d is duplicated\n", j, max_number_of_candidates); LOG_T(NR_MAC_DCI, "Candidate %d of %d is duplicated\n", j, max_number_of_candidates);
} }
} }
if (!duplicated) { if (!duplicated) {
...@@ -315,7 +315,7 @@ void config_dci_pdu(NR_UE_MAC_INST_t *mac, ...@@ -315,7 +315,7 @@ void config_dci_pdu(NR_UE_MAC_INST_t *mac,
#ifdef DEBUG_DCI #ifdef DEBUG_DCI
for (int i = 0; i < rel15->num_dci_options; i++) { for (int i = 0; i < rel15->num_dci_options; i++) {
LOG_D(NR_MAC_DCI, LOG_T(NR_MAC_DCI,
"[DCI_CONFIG] Configure DCI PDU: rnti_type %d BWPSize %d BWPStart %d rel15->SubcarrierSpacing %d rel15->dci_format %d " "[DCI_CONFIG] Configure DCI PDU: rnti_type %d BWPSize %d BWPStart %d rel15->SubcarrierSpacing %d rel15->dci_format %d "
"rel15->dci_length %d sps %d monitoringSymbolsWithinSlot %d \n", "rel15->dci_length %d sps %d monitoringSymbolsWithinSlot %d \n",
rnti_type, rnti_type,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment