Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canghaiwuhen
OpenXG-RAN
Commits
e4250564
Commit
e4250564
authored
Oct 17, 2017
by
Ahmed Elias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solving minor issue in configuration
parent
7cecfa10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+4
-4
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+0
-15
No files found.
openair2/ENB_APP/enb_config.c
View file @
e4250564
...
@@ -1833,7 +1833,7 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc)
...
@@ -1833,7 +1833,7 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc)
//
#ifdef Rel14
#ifdef Rel14
char
brparamspath
[
MAX_OPTNAME_SIZE
*
2
+
16
];
char
brparamspath
[
MAX_OPTNAME_SIZE
*
2
+
16
];
sprintf
(
brparamspath
,
"%s.%s"
,
ccspath
,
ENB_CONFIG_STRING_COMPONENT_BR_PARAMETERS
);
sprintf
(
brparamspath
,
"%s.%s"
,
ccspath
,
ENB_CONFIG_STRING_COMPONENT_BR_PARAMETERS
);
config_get
(
brParams
,
sizeof
(
brParams
)
/
sizeof
(
paramdef_t
),
brparamspath
);
config_get
(
brParams
,
sizeof
(
brParams
)
/
sizeof
(
paramdef_t
),
brparamspath
);
...
@@ -1915,10 +1915,10 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc)
...
@@ -1915,10 +1915,10 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc)
// kogo -- recheck
// kogo -- recheck
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_r13
[
j
]
=
CALLOC
(
1
,
sizeof
(
BOOLEAN_t
));
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_r13
[
j
]
=
CALLOC
(
1
,
sizeof
(
BOOLEAN_t
));
if
(
!
strcmp
(
fdd_DownlinkOrTddSubframeBitmapBR_r13
,
"subframePattern40-r13"
))
{
if
(
!
strcmp
(
fdd_DownlinkOrTddSubframeBitmapBR_r13
,
"subframePattern40-r13"
))
{
*
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_r13
[
j
]
=
TRU
E
;
*
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_r13
[
j
]
=
FALS
E
;
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
[
j
]
=
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
;
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
[
j
]
=
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
;
}
else
{
}
else
{
*
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_r13
[
j
]
=
FALS
E
;
*
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_r13
[
j
]
=
TRU
E
;
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
[
j
]
=
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
;
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
[
j
]
=
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
;
}
}
printf
(
"[DEBUGGING][KOGO] fdd_DownlinkOrTddSubframeBitmapBR_r13 = %s
\n
"
,
fdd_DownlinkOrTddSubframeBitmapBR_r13
);
printf
(
"[DEBUGGING][KOGO] fdd_DownlinkOrTddSubframeBitmapBR_r13 = %s
\n
"
,
fdd_DownlinkOrTddSubframeBitmapBR_r13
);
...
@@ -4271,7 +4271,7 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc)
...
@@ -4271,7 +4271,7 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc)
}*/
}*/
//
#endif
#endif
//sprintf(brpath,"%s.%s.[%i].%s",enbpath,ENB_CONFIG_STRING_COMPONENT_CARRIERS,ENB_CONFIG_STRING_BR_PARAMETERS,j);
//sprintf(brpath,"%s.%s.[%i].%s",enbpath,ENB_CONFIG_STRING_COMPONENT_CARRIERS,ENB_CONFIG_STRING_BR_PARAMETERS,j);
//config_get( CCsParams,sizeof(CCsParams)/sizeof(paramdef_t),ccspath);
//config_get( CCsParams,sizeof(CCsParams)/sizeof(paramdef_t),ccspath);
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
e4250564
...
@@ -1501,15 +1501,6 @@ uint8_t do_SIB23(uint8_t Mod_id,
...
@@ -1501,15 +1501,6 @@ uint8_t do_SIB23(uint8_t Mod_id,
prach_parametersce_r13
->
mpdcch_NumRepetition_RA_r13
=
configuration
->
mpdcch_NumRepetition_RA_r13
[
CC_id
][
prach_parameters_index
];
prach_parametersce_r13
->
mpdcch_NumRepetition_RA_r13
=
configuration
->
mpdcch_NumRepetition_RA_r13
[
CC_id
][
prach_parameters_index
];
prach_parametersce_r13
->
prach_HoppingConfig_r13
=
configuration
->
prach_HoppingConfig_r13
[
CC_id
][
prach_parameters_index
];
prach_parametersce_r13
->
prach_HoppingConfig_r13
=
configuration
->
prach_HoppingConfig_r13
[
CC_id
][
prach_parameters_index
];
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : prach_ConfigIndex_r13 = %d
\n
"
,
prach_parametersce_r13
->
prach_ConfigIndex_r13
);
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : prach_FreqOffset_r13 = %d
\n
"
,
prach_parametersce_r13
->
prach_FreqOffset_r13
);
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : prach_StartingSubframe_r13 = %d
\n
"
,
*
prach_parametersce_r13
->
prach_StartingSubframe_r13
);
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : maxNumPreambleAttemptCE_r13 = %d
\n
"
,
*
prach_parametersce_r13
->
maxNumPreambleAttemptCE_r13
);
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : numRepetitionPerPreambleAttempt_r13 = %d
\n
"
,
prach_parametersce_r13
->
numRepetitionPerPreambleAttempt_r13
);
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : mpdcch_NumRepetition_RA_r13 = %d
\n
"
,
prach_parametersce_r13
->
mpdcch_NumRepetition_RA_r13
);
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : prach_HoppingConfig_r13 = %d
\n
"
,
prach_parametersce_r13
->
prach_HoppingConfig_r13
);
long
*
maxavailablenarrowband
;
long
*
maxavailablenarrowband
;
int
num_narrow_bands
=
configuration
->
max_available_narrow_band_size
[
CC_id
][
prach_parameters_index
];
int
num_narrow_bands
=
configuration
->
max_available_narrow_band_size
[
CC_id
][
prach_parameters_index
];
int
narrow_band_index
;
int
narrow_band_index
;
...
@@ -1521,15 +1512,9 @@ uint8_t do_SIB23(uint8_t Mod_id,
...
@@ -1521,15 +1512,9 @@ uint8_t do_SIB23(uint8_t Mod_id,
}
}
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : maxavailablenarrowband = %d
\n
"
,
*
maxavailablenarrowband
);
prach_parametersce_r13
->
mpdcch_NumRepetition_RA_r13
=
PRACH_ParametersCE_r13__mpdcch_NumRepetition_RA_r13_r1
;
prach_parametersce_r13
->
mpdcch_NumRepetition_RA_r13
=
PRACH_ParametersCE_r13__mpdcch_NumRepetition_RA_r13_r1
;
prach_parametersce_r13
->
prach_HoppingConfig_r13
=
PRACH_ParametersCE_r13__prach_HoppingConfig_r13_off
;
prach_parametersce_r13
->
prach_HoppingConfig_r13
=
PRACH_ParametersCE_r13__prach_HoppingConfig_r13_off
;
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : mpdcch_NumRepetition_RA_r13 = %d
\n
"
,
prach_parametersce_r13
->
mpdcch_NumRepetition_RA_r13
);
printf
(
"[DEBUGGING][KOGO][SIB23][WTF] : prach_HoppingConfig_r13 = %d
\n
"
,
prach_parametersce_r13
->
prach_HoppingConfig_r13
);
ASN_SEQUENCE_ADD
(
&
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
prach_ConfigCommon_v1310
->
prach_ParametersListCE_r13
.
list
,
prach_parametersce_r13
);
ASN_SEQUENCE_ADD
(
&
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
prach_ConfigCommon_v1310
->
prach_ParametersListCE_r13
.
list
,
prach_parametersce_r13
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment