Commit e3d13131 authored by Raymond Knopp's avatar Raymond Knopp

fix for last commit (removal on one line in asn1_msg.c)

parent 60e0048c
...@@ -1142,6 +1142,7 @@ bool nr_acknack_scheduling(int mod_id, ...@@ -1142,6 +1142,7 @@ bool nr_acknack_scheduling(int mod_id,
} }
} }
LOG_I(MAC,"1. DL slot %d, UL_ACK %d\n",slot,pucch->ul_slot);
/* if the UE's next PUCCH occasion is after the possible UL slots (within the /* if the UE's next PUCCH occasion is after the possible UL slots (within the
* same frame) or wrapped around to the next frame, then we assume there is * same frame) or wrapped around to the next frame, then we assume there is
* no possible PUCCH allocation anymore */ * no possible PUCCH allocation anymore */
...@@ -1252,6 +1253,8 @@ bool nr_acknack_scheduling(int mod_id, ...@@ -1252,6 +1253,8 @@ bool nr_acknack_scheduling(int mod_id,
} }
pucch->timing_indicator = i; // index in the list of timing indicators pucch->timing_indicator = i; // index in the list of timing indicators
LOG_I(MAC,"2. DL slot %d, UL_ACK %d\n",slot,pucch->ul_slot);
pucch->dai_c++; pucch->dai_c++;
const int pucch_res = pucch_index_used[pucch->ul_slot]; const int pucch_res = pucch_index_used[pucch->ul_slot];
pucch->resource_indicator = pucch_res; pucch->resource_indicator = pucch_res;
......
...@@ -1039,8 +1039,6 @@ void fill_initial_SpCellConfig(rnti_t rnti, ...@@ -1039,8 +1039,6 @@ void fill_initial_SpCellConfig(rnti_t rnti,
schedulingRequestResourceConfig->resource = calloc(1,sizeof(*schedulingRequestResourceConfig->resource)); schedulingRequestResourceConfig->resource = calloc(1,sizeof(*schedulingRequestResourceConfig->resource));
*schedulingRequestResourceConfig->resource = 0; *schedulingRequestResourceConfig->resource = 0;
ASN_SEQUENCE_ADD(&pucch_Config->schedulingRequestResourceToAddModList->list,schedulingRequestResourceConfig); ASN_SEQUENCE_ADD(&pucch_Config->schedulingRequestResourceToAddModList->list,schedulingRequestResourceConfig);
pucch_Config->dl_DataToUL_ACK = calloc(1,sizeof(*pucch_Config->dl_DataToUL_ACK));
} }
void fill_initial_cellGroupConfig(rnti_t rnti, void fill_initial_cellGroupConfig(rnti_t rnti,
......
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