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
wangjie
OpenXG-RAN
Commits
c88d3e06
Commit
c88d3e06
authored
Nov 19, 2018
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed call to check_band_frequencies in enb_config.c (order was was wrong).
parent
7900864f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+8
-9
No files found.
openair2/ENB_APP/enb_config.c
View file @
c88d3e06
...
...
@@ -528,15 +528,6 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
RRC_CONFIGURATION_REQ
(
msg_p
).
downlink_frequency
[
j
]
=
(
uint32_t
)
ccparams_lte
.
downlink_frequency
;
RRC_CONFIGURATION_REQ
(
msg_p
).
uplink_frequency_offset
[
j
]
=
(
unsigned
int
)
ccparams_lte
.
uplink_frequency_offset
;
if
(
config_check_band_frequencies
(
j
,
RRC_CONFIGURATION_REQ
(
msg_p
).
eutra_band
[
j
],
RRC_CONFIGURATION_REQ
(
msg_p
).
downlink_frequency
[
j
],
RRC_CONFIGURATION_REQ
(
msg_p
).
uplink_frequency_offset
[
j
],
RRC_CONFIGURATION_REQ
(
msg_p
).
frame_type
[
j
]))
{
AssertFatal
(
0
,
"error calling enb_check_band_frequencies
\n
"
);
}
RRC_CONFIGURATION_REQ
(
msg_p
).
Nid_cell
[
j
]
=
ccparams_lte
.
Nid_cell
;
...
...
@@ -569,6 +560,14 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
RC
.
config_file_name
,
i
,
ccparams_lte
.
frame_type
);
}
if
(
config_check_band_frequencies
(
j
,
RRC_CONFIGURATION_REQ
(
msg_p
).
eutra_band
[
j
],
RRC_CONFIGURATION_REQ
(
msg_p
).
downlink_frequency
[
j
],
RRC_CONFIGURATION_REQ
(
msg_p
).
uplink_frequency_offset
[
j
],
RRC_CONFIGURATION_REQ
(
msg_p
).
frame_type
[
j
]))
{
AssertFatal
(
0
,
"error calling enb_check_band_frequencies
\n
"
);
}
if
((
ccparams_lte
.
nb_antenna_ports
<
1
)
||
(
ccparams_lte
.
nb_antenna_ports
>
2
))
AssertFatal
(
0
,
...
...
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