reworking the handling of freq_alloc_bitmap_t to make it more efficient
Co-Authored-By: @schmidtr Assisted-by: Gemini:3 Flash
This commit is contained in:
co-authored by
@schmidtr
parent
0dd1243e6e
commit
29457abe71
@@ -120,8 +120,9 @@ static bool check_csi_resourceMapping_consistency(NR_CSI_RS_ResourceMapping_t re
|
||||
valid = false;
|
||||
break;
|
||||
case NR_CSI_RS_ResourceMapping__nrofPorts_p8: {
|
||||
uint8_t freq = BIT_STRING_to_uint8(&resourceMapping.frequencyDomainAllocation.choice.other);
|
||||
if (resourceMapping.cdm_Type == NR_CSI_RS_ResourceMapping__cdm_Type_cdm4_FD2_TD2 || count_bits(&freq, 1) != 4) {
|
||||
uint32_t freq32 = 0;
|
||||
freq32 = (uint32_t)BIT_STRING_to_uint8(&resourceMapping.frequencyDomainAllocation.choice.other);
|
||||
if (resourceMapping.cdm_Type == NR_CSI_RS_ResourceMapping__cdm_Type_cdm4_FD2_TD2 || count_bits(&freq32, 1) != 4) {
|
||||
// row 7 and 8 -> l0+1
|
||||
if (resourceMapping.firstOFDMSymbolInTimeDomain == 13)
|
||||
valid = false;
|
||||
|
||||
Reference in New Issue
Block a user