LOG_E(PHY,"generate_srs: resource number of this resource set %d exceeds maximum supported value %d!\n",p_srs_resource_set->number_srs_Resource,MAX_NR_OF_SRS_RESOURCES_PER_SET);
return(-1);
}
}
uint16_tn_b[B_SRS_NUMBER];
uint16_tF_b;
uint16_tsubcarrier;
uint8_tN_b;
uint8_tk_0_overbar_p;
if(p_srs_resource_set->resourceType!=periodic){
LOG_E(PHY,"generate_srs: only SRS periodic is supported up to now!\n");
return(-1);
}
/* get parameters from SRS resource configuration */
uint8_tB_SRS=p_SRS_Resource->freqHopping_b_SRS;
uint8_tC_SRS=p_SRS_Resource->freqHopping_c_SRS;
uint8_tb_hop=p_SRS_Resource->freqHopping_b_hop;
uint8_tK_TC=p_SRS_Resource->transmissionComb;
uint8_tK_TC_overbar=p_SRS_Resource->combOffset;/* FFS_TODO_NR is this parameter for K_TC_overbar ?? */
uint8_tn_SRS_cs=p_SRS_Resource->cyclicShift;
uint8_tn_ID_SRS=p_SRS_Resource->sequenceId;
uint8_tn_shift=p_SRS_Resource->freqDomainPosition;/* it adjusts the SRS allocation to align with the common resource block grid in multiples of four */