mirror of https://github.com/PentHertz/srsLTE.git
Fixed PRACH opportunity evaluator procedure to consider option 14 of PRACH Configuration Index as stated on 3GPP specifications.
This commit is contained in:
parent
4c5b3700f3
commit
cfd0f01aa2
|
@ -195,6 +195,11 @@ bool srslte_prach_tti_opportunity(srslte_prach_t *p, uint32_t current_tti, int a
|
|||
// Get SFN and sf_idx from the PRACH configuration index
|
||||
srslte_prach_sfn_t prach_sfn = srslte_prach_get_sfn(config_idx);
|
||||
|
||||
// This is the only option which provides always an opportunity for PRACH transmission.
|
||||
if(config_idx == 14) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if ((prach_sfn == SRSLTE_PRACH_SFN_EVEN && ((current_tti/10)%2)==0) ||
|
||||
prach_sfn == SRSLTE_PRACH_SFN_ANY)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue