Only use NR RRC >= v16
This commit is contained in:
@@ -1133,11 +1133,7 @@ void nr_configure_pucch(nfapi_nr_pucch_pdu_t* pucch_pdu,
|
|||||||
AssertFatal(1==0,"Couldn't fine pucch resource indicator %d in PUCCH resource set %d for %d UCI bits",pucch_resource,i,O_uci);
|
AssertFatal(1==0,"Couldn't fine pucch resource indicator %d in PUCCH resource set %d for %d UCI bits",pucch_resource,i,O_uci);
|
||||||
}
|
}
|
||||||
if (pucchresset->pucch_ResourceSetId == 1 && O_uci>2) {
|
if (pucchresset->pucch_ResourceSetId == 1 && O_uci>2) {
|
||||||
#if (NR_RRC_VERSION >= MAKE_VERSION(16, 0, 0))
|
|
||||||
N3 = pucchresset->maxPayloadSize!= NULL ? *pucchresset->maxPayloadSize : 1706;
|
N3 = pucchresset->maxPayloadSize!= NULL ? *pucchresset->maxPayloadSize : 1706;
|
||||||
#else
|
|
||||||
N3 = pucchresset->maxPayloadMinus1!= NULL ? *pucchresset->maxPayloadMinus1 : 1706;
|
|
||||||
#endif
|
|
||||||
if (N2<O_uci && N3>O_uci) {
|
if (N2<O_uci && N3>O_uci) {
|
||||||
if (pucch_resource < n_list)
|
if (pucch_resource < n_list)
|
||||||
resource_id = pucchresset->resourceList.list.array[pucch_resource];
|
resource_id = pucchresset->resourceList.list.array[pucch_resource];
|
||||||
|
|||||||
Reference in New Issue
Block a user