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
eb577d11
Commit
eb577d11
authored
Oct 23, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove warnings in enb_config.c and rrc_eNB.c
parent
1114efad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+6
-3
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+1
-3
No files found.
openair2/ENB_APP/enb_config.c
View file @
eb577d11
...
...
@@ -2137,7 +2137,7 @@ int RCconfig_DU_F1(MessageDef *msg_p, uint32_t i) {
F1AP_SETUP_REQ
(
msg_p
).
num_cells_available
++
;
F1AP_SETUP_REQ
(
msg_p
).
gNB_DU_id
=
*
(
ENBParamList
.
paramarray
[
0
][
ENB_ENB_ID_IDX
].
uptr
);
LOG_I
(
ENB_APP
,
"F1AP: gNB_DU_id[%d] %d
\n
"
,
k
,
F1AP_SETUP_REQ
(
msg_p
).
gNB_DU_id
);
LOG_I
(
ENB_APP
,
"F1AP: gNB_DU_id[%d] %
l
d
\n
"
,
k
,
F1AP_SETUP_REQ
(
msg_p
).
gNB_DU_id
);
F1AP_SETUP_REQ
(
msg_p
).
gNB_DU_name
=
strdup
(
*
(
ENBParamList
.
paramarray
[
0
][
ENB_ENB_NAME_IDX
].
strptr
));
LOG_I
(
ENB_APP
,
"F1AP: gNB_DU_name[%d] %s
\n
"
,
k
,
F1AP_SETUP_REQ
(
msg_p
).
gNB_DU_name
);
...
...
@@ -2160,7 +2160,7 @@ int RCconfig_DU_F1(MessageDef *msg_p, uint32_t i) {
F1AP_SETUP_REQ
(
msg_p
).
mnc_digit_length
[
k
]);
F1AP_SETUP_REQ
(
msg_p
).
nr_cellid
[
k
]
=
(
uint64_t
)
*
(
ENBParamList
.
paramarray
[
i
][
ENB_NRCELLID_IDX
].
u64ptr
);
LOG_I
(
ENB_APP
,
"F1AP: nr_cellid[%d] %d
\n
"
,
k
,
F1AP_SETUP_REQ
(
msg_p
).
nr_cellid
[
k
]);
LOG_I
(
ENB_APP
,
"F1AP: nr_cellid[%d] %
l
d
\n
"
,
k
,
F1AP_SETUP_REQ
(
msg_p
).
nr_cellid
[
k
]);
LOG_I
(
ENB_APP
,
"F1AP: CU_ip4_address in DU %s
\n
"
,
RC
.
mac
[
k
]
->
eth_params_n
.
remote_addr
);
LOG_I
(
ENB_APP
,
"FIAP: CU_ip4_address in DU %p, strlen %d
\n
"
,
F1AP_SETUP_REQ
(
msg_p
).
CU_f1_ip_address
.
ipv4_address
,(
int
)
strlen
(
RC
.
mac
[
k
]
->
eth_params_n
.
remote_addr
));
...
...
@@ -2770,6 +2770,9 @@ void extract_and_decode_SI(int inst,int si_ind,uint8_t *si_container,int si_cont
}
break
;
}
case
BCCH_DL_SCH_MessageType__c1_PR_NOTHING
:
AssertFatal
(
0
,
"Should have received SIB1 from CU
\n
"
);
break
;
}
}
...
...
@@ -2842,7 +2845,7 @@ void handle_f1ap_setup_resp(f1ap_setup_resp_t *resp) {
for
(
i
=
0
;
i
<
RC
.
nb_inst
;
i
++
)
{
rrc_eNB_carrier_data_t
*
carrier
=
&
RC
.
rrc
[
i
]
->
carrier
[
0
];
// identify local index of cell j by nr_cellid, plmn identity and physical cell ID
printf
(
"Checking cell %d, rrc inst %d : rrc->nr_cellid %
x, resp->nr_cellid %
x
\n
"
,
printf
(
"Checking cell %d, rrc inst %d : rrc->nr_cellid %
lx, resp->nr_cellid %l
x
\n
"
,
j
,
i
,
RC
.
rrc
[
i
]
->
nr_cellid
,
resp
->
nr_cellid
[
j
]);
if
(
RC
.
rrc
[
i
]
->
nr_cellid
==
resp
->
nr_cellid
[
j
]
&&
(
check_plmn_identity
(
carrier
,
resp
->
mcc
[
j
],
resp
->
mnc
[
j
],
resp
->
mnc_digit_length
[
j
])
>
0
&&
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
eb577d11
...
...
@@ -6919,7 +6919,7 @@ if (ue_context_p->ue_context.nb_of_modify_e_rabs > 0) {
ul_dcch_msg
->
message
.
choice
.
c1
.
choice
.
rrcConnectionReconfigurationComplete
.
rrc_TransactionIdentifier
);
}
}
else
if
(
dedicated_DRB
==
0
){
LOG_D
(
RRC
,
"Sending rrc_eNB_send_S1AP_INITIAL_CONTEXT_SETUP_RESP, establishment cause %d
\n
"
,
LOG_D
(
RRC
,
"Sending rrc_eNB_send_S1AP_INITIAL_CONTEXT_SETUP_RESP, establishment cause %ld
\n
"
,
ue_context_p
->
ue_context
.
reestablishment_cause
);
// NN: not sure what we need to send S1AP_INITIAL_CONTEXT_SETUP_RESP only with this cause?
//if(ue_context_p->ue_context.reestablishment_cause == ReestablishmentCause_spare1){
...
...
@@ -7560,8 +7560,6 @@ rrc_enb_task(
instance_t
instance
;
int
rrc_inst
;
int
result
;
SRB_INFO
*
srb_info_p
;
int
CC_id
;
protocol_ctxt_t
ctxt
;
...
...
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