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
62a5d903
Commit
62a5d903
authored
Sep 14, 2018
by
Bing-Kai Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update complete the NR_Mode_Info structure for F1 SETUP REQUEST
parent
30977ecc
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
153 additions
and
54 deletions
+153
-54
openair2/COMMON/f1ap_messages_types.h
openair2/COMMON/f1ap_messages_types.h
+9
-4
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+12
-2
openair2/F1AP/f1ap_du_interface_management.c
openair2/F1AP/f1ap_du_interface_management.c
+132
-48
No files found.
openair2/COMMON/f1ap_messages_types.h
View file @
62a5d903
...
@@ -127,10 +127,15 @@ typedef struct f1ap_setup_req_s {
...
@@ -127,10 +127,15 @@ typedef struct f1ap_setup_req_s {
uint8_t
sul_scs
;
uint8_t
sul_scs
;
uint8_t
sul_nrb
;
uint8_t
sul_nrb
;
uint8_t
num_frequency_bands
;
uint8_t
ul_num_frequency_bands
;
uint16_t
nr_band
[
32
];
uint16_t
ul_nr_band
[
32
];
uint8_t
num_sul_frequency_bands
;
uint8_t
ul_num_sul_frequency_bands
;
uint16_t
nr_sul_band
[
32
];
uint16_t
ul_nr_sul_band
[
32
];
uint8_t
dl_num_frequency_bands
;
uint16_t
dl_nr_band
[
32
];
uint8_t
dl_num_sul_frequency_bands
;
uint16_t
dl_nr_sul_band
[
32
];
}
fdd
;
}
fdd
;
struct
{
struct
{
...
...
openair2/ENB_APP/enb_config.c
View file @
62a5d903
...
@@ -2473,8 +2473,18 @@ int RCconfig_DU_F1(MessageDef *msg_p, uint32_t i) {
...
@@ -2473,8 +2473,18 @@ int RCconfig_DU_F1(MessageDef *msg_p, uint32_t i) {
// use nrb field to hold LTE N_RB_DL (0...5)
// use nrb field to hold LTE N_RB_DL (0...5)
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
ul_nrb
=
rrc
->
carrier
[
0
].
mib
.
message
.
dl_Bandwidth
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
ul_nrb
=
rrc
->
carrier
[
0
].
mib
.
message
.
dl_Bandwidth
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
ul_nrb
=
rrc
->
carrier
[
0
].
mib
.
message
.
dl_Bandwidth
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
ul_nrb
=
rrc
->
carrier
[
0
].
mib
.
message
.
dl_Bandwidth
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
num_frequency_bands
=
1
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
nr_band
[
0
]
=
rrc
->
carrier
[
0
].
sib1
->
freqBandIndicator
;
// RK: we need to check there value for FDD's frequency_bands DL/UL
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
ul_num_frequency_bands
=
1
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
ul_nr_band
[
0
]
=
rrc
->
carrier
[
0
].
sib1
->
freqBandIndicator
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
dl_num_frequency_bands
=
1
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
dl_nr_band
[
0
]
=
rrc
->
carrier
[
0
].
sib1
->
freqBandIndicator
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
ul_num_sul_frequency_bands
=
0
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
ul_nr_sul_band
[
0
]
=
rrc
->
carrier
[
0
].
sib1
->
freqBandIndicator
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
dl_num_sul_frequency_bands
=
0
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
dl_nr_sul_band
[
0
]
=
rrc
->
carrier
[
0
].
sib1
->
freqBandIndicator
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
sul_active
=
0
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
sul_active
=
0
;
}
}
F1AP_SETUP_REQ
(
msg_p
).
measurement_timing_information
[
k
]
=
"0"
;
F1AP_SETUP_REQ
(
msg_p
).
measurement_timing_information
[
k
]
=
"0"
;
...
...
openair2/F1AP/f1ap_du_interface_management.c
View file @
62a5d903
This diff is collapsed.
Click to expand it.
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