Use clang format
This commit is contained in:
committed by
Robert Schmidt
parent
bec8ebc311
commit
b166286a78
@@ -368,8 +368,13 @@ int nr_dlsch_encoding(PHY_VARS_gNB *gNB,
|
|||||||
impp.rv = rel15->rvIndex[0];
|
impp.rv = rel15->rvIndex[0];
|
||||||
int nb_re_dmrs =
|
int nb_re_dmrs =
|
||||||
(rel15->dmrsConfigType == NFAPI_NR_DMRS_TYPE1) ? (6 * rel15->numDmrsCdmGrpsNoData) : (4 * rel15->numDmrsCdmGrpsNoData);
|
(rel15->dmrsConfigType == NFAPI_NR_DMRS_TYPE1) ? (6 * rel15->numDmrsCdmGrpsNoData) : (4 * rel15->numDmrsCdmGrpsNoData);
|
||||||
impp.G = nr_get_G(rel15->rbSize, rel15->NrOfSymbols, nb_re_dmrs, get_num_dmrs(rel15->dlDmrsSymbPos), harq->unav_res,
|
impp.G = nr_get_G(rel15->rbSize,
|
||||||
rel15->qamModOrder[0], rel15->nrOfLayers);
|
rel15->NrOfSymbols,
|
||||||
|
nb_re_dmrs,
|
||||||
|
get_num_dmrs(rel15->dlDmrsSymbPos),
|
||||||
|
harq->unav_res,
|
||||||
|
rel15->qamModOrder[0],
|
||||||
|
rel15->nrOfLayers);
|
||||||
int r_offset = 0;
|
int r_offset = 0;
|
||||||
for (int r = 0; r < impp.n_segments; r++) {
|
for (int r = 0; r < impp.n_segments; r++) {
|
||||||
impp.E = nr_get_E(impp.G, impp.n_segments, impp.Qm, rel15->nrOfLayers, r);
|
impp.E = nr_get_E(impp.G, impp.n_segments, impp.Qm, rel15->nrOfLayers, r);
|
||||||
|
|||||||
@@ -181,7 +181,16 @@ int nr_ulsch_encoding(PHY_VARS_NR_UE *ue,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_D(PHY,"Rate Matching, Code segment %d (coded bits (G) %u, unpunctured/repeated bits per code segment %d, mod_order %d, nb_rb %d, rvidx %d)...\n", r, G, impp.Kr*3, impp.Qm, nb_rb, ulsch->pusch_pdu.pusch_data.rv_index);
|
LOG_D(PHY,
|
||||||
|
"Rate Matching, Code segment %d (coded bits (G) %u, unpunctured/repeated bits per code segment %d, mod_order %d, nb_rb "
|
||||||
|
"%d, "
|
||||||
|
"rvidx %d)...\n",
|
||||||
|
r,
|
||||||
|
G,
|
||||||
|
impp.Kr * 3,
|
||||||
|
impp.Qm,
|
||||||
|
nb_rb,
|
||||||
|
ulsch->pusch_pdu.pusch_data.rv_index);
|
||||||
|
|
||||||
///////////////////////// d---->| Rate matching bit selection |---->e /////////////////////////
|
///////////////////////// d---->| Rate matching bit selection |---->e /////////////////////////
|
||||||
impp.E = nr_get_E(G, impp.n_segments, impp.Qm, ulsch->pusch_pdu.nrOfLayers, r);
|
impp.E = nr_get_E(G, impp.n_segments, impp.Qm, ulsch->pusch_pdu.nrOfLayers, r);
|
||||||
|
|||||||
Reference in New Issue
Block a user