addressing a couple of review comments
This commit is contained in:
committed by
Robert Schmidt
parent
5a153c502f
commit
ffe0630d93
@@ -488,7 +488,8 @@ void ra_preambles_config(NR_PRACH_RESOURCES_t *prach_resources, NR_UE_MAC_INST_t
|
||||
// Overwrite seed with non-random seed for IQ player/recorder
|
||||
seed = 1;
|
||||
} else {
|
||||
seed=(unsigned int) (rdtsc_oai() & ~0);
|
||||
// & to truncate the int64_t and keep only the LSB bits, up to sizeof(int)
|
||||
seed = (unsigned int) (rdtsc_oai() & ~0);
|
||||
}
|
||||
|
||||
RA_config_t *ra = &mac->ra;
|
||||
@@ -1038,7 +1039,8 @@ void nr_ra_failed(uint8_t mod_id, uint8_t CC_id, NR_PRACH_RESOURCES_t *prach_res
|
||||
// Overwrite seed with non-random seed for IQ player/recorder
|
||||
seed = 1;
|
||||
} else {
|
||||
seed=(unsigned int) (rdtsc_oai() & ~0);
|
||||
// & to truncate the int64_t and keep only the LSB bits, up to sizeof(int)
|
||||
seed = (unsigned int) (rdtsc_oai() & ~0);
|
||||
}
|
||||
|
||||
ra->first_Msg3 = 1;
|
||||
|
||||
Reference in New Issue
Block a user