removed bug introduced in ra_procedures.c
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7766 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -122,7 +122,7 @@ void get_prach_resources(module_id_t module_idP,
|
|||||||
RACH_ConfigCommon_t *rach_ConfigCommon = NULL;
|
RACH_ConfigCommon_t *rach_ConfigCommon = NULL;
|
||||||
uint8_t noGroupB = 0;
|
uint8_t noGroupB = 0;
|
||||||
uint8_t f_id = 0,num_prach=0;
|
uint8_t f_id = 0,num_prach=0;
|
||||||
int numberOfRA_Preambles = (1+rach_ConfigCommon->preambleInfo.numberOfRA_Preambles)<<2;
|
int numberOfRA_Preambles;
|
||||||
int messageSizeGroupA;
|
int messageSizeGroupA;
|
||||||
int sizeOfRA_PreamblesGroupA;
|
int sizeOfRA_PreamblesGroupA;
|
||||||
int messagePowerOffsetGroupB;
|
int messagePowerOffsetGroupB;
|
||||||
@@ -142,6 +142,8 @@ void get_prach_resources(module_id_t module_idP,
|
|||||||
return; // not reached
|
return; // not reached
|
||||||
}
|
}
|
||||||
|
|
||||||
|
numberOfRA_Preambles = (1+rach_ConfigCommon->preambleInfo.numberOfRA_Preambles)<<2;
|
||||||
|
|
||||||
if (rach_ConfigDedicated) { // This is for network controlled Mobility, later
|
if (rach_ConfigDedicated) { // This is for network controlled Mobility, later
|
||||||
if (rach_ConfigDedicated->ra_PRACH_MaskIndex != 0) {
|
if (rach_ConfigDedicated->ra_PRACH_MaskIndex != 0) {
|
||||||
prach_resources->ra_PreambleIndex = rach_ConfigDedicated->ra_PreambleIndex;
|
prach_resources->ra_PreambleIndex = rach_ConfigDedicated->ra_PreambleIndex;
|
||||||
|
|||||||
Reference in New Issue
Block a user