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
30977ecc
Commit
30977ecc
authored
Sep 14, 2018
by
Bing-Kai Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace some dummy value with DU from exist define in f1ap_setup_req_t
parent
cedc13d7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
21 deletions
+11
-21
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+1
-1
openair2/F1AP/f1ap_cu_interface_management.c
openair2/F1AP/f1ap_cu_interface_management.c
+1
-1
openair2/F1AP/f1ap_du_interface_management.c
openair2/F1AP/f1ap_du_interface_management.c
+7
-7
openair2/F1AP/f1ap_du_ue_context_management.c
openair2/F1AP/f1ap_du_ue_context_management.c
+2
-12
No files found.
openair2/ENB_APP/enb_config.c
View file @
30977ecc
...
@@ -2477,7 +2477,7 @@ int RCconfig_DU_F1(MessageDef *msg_p, uint32_t i) {
...
@@ -2477,7 +2477,7 @@ int RCconfig_DU_F1(MessageDef *msg_p, uint32_t i) {
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
nr_band
[
0
]
=
rrc
->
carrier
[
0
].
sib1
->
freqBandIndicator
;
F1AP_SETUP_REQ
(
msg_p
).
nr_mode_info
[
k
].
fdd
.
nr_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
]
=
NULL
;
F1AP_SETUP_REQ
(
msg_p
).
measurement_timing_information
[
k
]
=
"0"
;
F1AP_SETUP_REQ
(
msg_p
).
ranac
[
k
]
=
0
;
F1AP_SETUP_REQ
(
msg_p
).
ranac
[
k
]
=
0
;
F1AP_SETUP_REQ
(
msg_p
).
mib
[
k
]
=
rrc
->
carrier
[
0
].
MIB
;
F1AP_SETUP_REQ
(
msg_p
).
mib
[
k
]
=
rrc
->
carrier
[
0
].
MIB
;
F1AP_SETUP_REQ
(
msg_p
).
sib1
[
k
]
=
rrc
->
carrier
[
0
].
SIB1
;
F1AP_SETUP_REQ
(
msg_p
).
sib1
[
k
]
=
rrc
->
carrier
[
0
].
SIB1
;
...
...
openair2/F1AP/f1ap_cu_interface_management.c
View file @
30977ecc
...
@@ -212,7 +212,7 @@ void CU_handle_F1_SETUP_REQUEST(instance_t instance,
...
@@ -212,7 +212,7 @@ void CU_handle_F1_SETUP_REQUEST(instance_t instance,
// } tdd;
// } tdd;
// } nr_mode_info[F1AP_MAX_NB_CELLS];
// } nr_mode_info[F1AP_MAX_NB_CELLS];
if
(
num_cells_available
<
1
)
{
if
(
num_cells_available
>
0
)
{
itti_send_msg_to_task
(
TASK_RRC_ENB
,
ENB_MODULE_ID_TO_INSTANCE
(
instance
),
message_p
);
itti_send_msg_to_task
(
TASK_RRC_ENB
,
ENB_MODULE_ID_TO_INSTANCE
(
instance
),
message_p
);
}
else
{
}
else
{
CU_send_F1_SETUP_FAILURE
(
instance
);
CU_send_F1_SETUP_FAILURE
(
instance
);
...
...
openair2/F1AP/f1ap_du_interface_management.c
View file @
30977ecc
...
@@ -265,7 +265,7 @@ void DU_send_F1_SETUP_REQUEST(instance_t instance) {
...
@@ -265,7 +265,7 @@ void DU_send_F1_SETUP_REQUEST(instance_t instance) {
served_cell_information
.
nR_Mode_Info
=
nR_Mode_Info
;
served_cell_information
.
nR_Mode_Info
=
nR_Mode_Info
;
/* - measurementTimingConfiguration */
/* - measurementTimingConfiguration */
char
*
measurementTimingConfiguration
=
"0"
;
//&
f1ap_du_data->measurement_timing_information[i]; // sept. 2018
char
*
measurementTimingConfiguration
=
f1ap_du_data
->
measurement_timing_information
[
i
];
// sept. 2018
OCTET_STRING_fromBuf
(
&
served_cell_information
.
measurementTimingConfiguration
,
OCTET_STRING_fromBuf
(
&
served_cell_information
.
measurementTimingConfiguration
,
measurementTimingConfiguration
,
measurementTimingConfiguration
,
...
@@ -390,11 +390,11 @@ void DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
...
@@ -390,11 +390,11 @@ void DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
served_cell_information
.
nRCGI
=
nRCGI
;
served_cell_information
.
nRCGI
=
nRCGI
;
/* - nRPCI */
/* - nRPCI */
served_cell_information
.
nRPCI
=
321L
;
// int 0..1007
served_cell_information
.
nRPCI
=
f1ap_du_data
->
nr_pci
[
i
]
;
// int 0..1007
/* - fiveGS_TAC */
/* - fiveGS_TAC */
OCTET_STRING_fromBuf
(
&
served_cell_information
.
fiveGS_TAC
,
OCTET_STRING_fromBuf
(
&
served_cell_information
.
fiveGS_TAC
,
"10"
,
&
f1ap_du_data
->
tac
[
i
]
,
3
);
3
);
/* - Configured_EPS_TAC */
/* - Configured_EPS_TAC */
...
@@ -556,11 +556,11 @@ void DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
...
@@ -556,11 +556,11 @@ void DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
served_cell_information
.
nRCGI
=
nRCGI
;
served_cell_information
.
nRCGI
=
nRCGI
;
/* - nRPCI */
/* - nRPCI */
served_cell_information
.
nRPCI
=
321L
;
// int 0..1007
served_cell_information
.
nRPCI
=
f1ap_du_data
->
nr_pci
[
i
]
;
// int 0..1007
/* - fiveGS_TAC */
/* - fiveGS_TAC */
OCTET_STRING_fromBuf
(
&
served_cell_information
.
fiveGS_TAC
,
OCTET_STRING_fromBuf
(
&
served_cell_information
.
fiveGS_TAC
,
"10"
,
&
f1ap_du_data
->
tac
[
i
]
,
3
);
3
);
/* - Configured_EPS_TAC */
/* - Configured_EPS_TAC */
...
@@ -706,7 +706,7 @@ void DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
...
@@ -706,7 +706,7 @@ void DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
F1AP_NRCGI_t
oldNRCGI
;
F1AP_NRCGI_t
oldNRCGI
;
MCC_MNC_TO_PLMNID
(
f1ap_du_data
->
mcc
[
i
],
f1ap_du_data
->
mnc
[
i
],
f1ap_du_data
->
mnc_digit_length
[
i
],
MCC_MNC_TO_PLMNID
(
f1ap_du_data
->
mcc
[
i
],
f1ap_du_data
->
mnc
[
i
],
f1ap_du_data
->
mnc_digit_length
[
i
],
&
oldNRCGI
.
pLMN_Identity
);
&
oldNRCGI
.
pLMN_Identity
);
NR_CELL_ID_TO_BIT_STRING
(
123456
,
&
oldNRCGI
.
nRCellIdentity
);
NR_CELL_ID_TO_BIT_STRING
(
f1ap_du_data
->
nr_cellid
[
i
]
,
&
oldNRCGI
.
nRCellIdentity
);
served_cells_to_delete_item
.
oldNRCGI
=
oldNRCGI
;
served_cells_to_delete_item
.
oldNRCGI
=
oldNRCGI
;
/* ADD */
/* ADD */
...
@@ -742,7 +742,7 @@ void DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
...
@@ -742,7 +742,7 @@ void DU_send_gNB_DU_CONFIGURATION_UPDATE(instance_t instance,
F1AP_NRCGI_t
nRCGI
;
F1AP_NRCGI_t
nRCGI
;
MCC_MNC_TO_PLMNID
(
f1ap_du_data
->
mcc
[
i
],
f1ap_du_data
->
mnc
[
i
],
f1ap_du_data
->
mnc_digit_length
[
i
],
MCC_MNC_TO_PLMNID
(
f1ap_du_data
->
mcc
[
i
],
f1ap_du_data
->
mnc
[
i
],
f1ap_du_data
->
mnc_digit_length
[
i
],
&
nRCGI
.
pLMN_Identity
);
&
nRCGI
.
pLMN_Identity
);
NR_CELL_ID_TO_BIT_STRING
(
123456
,
&
nRCGI
.
nRCellIdentity
);
NR_CELL_ID_TO_BIT_STRING
(
f1ap_du_data
->
nr_cellid
[
i
]
,
&
nRCGI
.
nRCellIdentity
);
active_cells_item
.
nRCGI
=
nRCGI
;
active_cells_item
.
nRCGI
=
nRCGI
;
/* ADD */
/* ADD */
...
...
openair2/F1AP/f1ap_du_ue_context_management.c
View file @
30977ecc
...
@@ -259,18 +259,8 @@ void DU_send_UE_CONTEXT_SETUP_RESPONSE(void) {
...
@@ -259,18 +259,8 @@ void DU_send_UE_CONTEXT_SETUP_RESPONSE(void) {
/* - nRCGI */
/* - nRCGI */
F1AP_NRCGI_t
nRCGI
;
// issue here
F1AP_NRCGI_t
nRCGI
;
// issue here
MCC_MNC_TO_PLMNID
(
f1ap_du_data
->
mcc
[
i
],
f1ap_du_data
->
mnc
[
i
],
f1ap_du_data
->
mnc_digit_length
[
i
],
&
nRCGI
.
pLMN_Identity
);
MCC_MNC_TO_PLMNID
(
f1ap_du_data
->
mcc
[
i
],
f1ap_du_data
->
mnc
[
i
],
f1ap_du_data
->
mnc_digit_length
[
i
],
&
nRCGI
.
pLMN_Identity
);
//
// INT32_TO_BIT_STRING(123, &nRCGI.nRCellIdentity);
// nRCGI.nRCellIdentity.buf = malloc((36+7)/8);
// nRCGI.nRCellIdentity.size = (36+7)/8;
NR_CELL_ID_TO_BIT_STRING
(
f1ap_du_data
->
nr_cellid
[
0
],
&
nRCGI
.
nRCellIdentity
);
// nRCGI.nRCellIdentity.bits_unused = 4;
// nRCGI.nRCellIdentity.buf[0] = 123;
//nRCGI.nRCellIdentity = 15;
NR_CELL_ID_TO_BIT_STRING
(
123456
,
&
nRCGI
.
nRCellIdentity
);
sCell_FailedtoSetup_item
.
sCell_ID
=
nRCGI
;
sCell_FailedtoSetup_item
.
sCell_ID
=
nRCGI
;
...
@@ -625,7 +615,7 @@ void DU_send_UE_CONTEXT_MODIFICATION_RESPONSE(void) {
...
@@ -625,7 +615,7 @@ void DU_send_UE_CONTEXT_MODIFICATION_RESPONSE(void) {
MCC_MNC_TO_PLMNID
(
f1ap_du_data
->
mcc
[
i
],
f1ap_du_data
->
mnc
[
i
],
f1ap_du_data
->
mnc_digit_length
[
i
],
MCC_MNC_TO_PLMNID
(
f1ap_du_data
->
mcc
[
i
],
f1ap_du_data
->
mnc
[
i
],
f1ap_du_data
->
mnc_digit_length
[
i
],
&
nRCGI
.
pLMN_Identity
);
&
nRCGI
.
pLMN_Identity
);
NR_CELL_ID_TO_BIT_STRING
(
123456
,
&
nRCGI
.
nRCellIdentity
);
NR_CELL_ID_TO_BIT_STRING
(
f1ap_du_data
->
nr_cellid
[
0
]
,
&
nRCGI
.
nRCellIdentity
);
scell_failedtoSetupMod_item
.
sCell_ID
=
nRCGI
;
scell_failedtoSetupMod_item
.
sCell_ID
=
nRCGI
;
...
...
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