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
Michael Black
OpenXG-RAN
Commits
3416b846
Commit
3416b846
authored
May 18, 2021
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log demotion and size for buffer encoding updated
parent
09fb68de
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
10 deletions
+13
-10
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-1
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_UE.c
+6
-6
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+1
-1
openair2/RRC/LTE/rrc_eNB_endc.c
openair2/RRC/LTE/rrc_eNB_endc.c
+2
-1
openair2/RRC/NR/rrc_gNB_nsa.c
openair2/RRC/NR/rrc_gNB_nsa.c
+3
-1
No files found.
cmake_targets/CMakeLists.txt
View file @
3416b846
...
...
@@ -395,7 +395,7 @@ set (FIRMWARE_VERSION "No svn information")
add_definitions
(
"-DFIRMWARE_VERSION=
\"
${
FIRMWARE_VERSION
}
\"
"
)
add_definitions
(
"-DPACKAGE_VERSION=
\"
Branch:
${
GIT_BRANCH
}
Abrev. Hash:
${
GIT_COMMIT_HASH
}
Date:
${
GIT_COMMIT_DATE
}
\"
"
)
add_definitions
(
"-DPACKAGE_BUGREPORT=
\"
openair4g-devel@lists.eurecom.fr
\"
"
)
#
add_definitions("-DASN_EMIT_DEBUG=1")
add_definitions
(
"-DASN_EMIT_DEBUG=1"
)
# Debug related options
...
...
openair2/RRC/LTE/rrc_UE.c
View file @
3416b846
...
...
@@ -4530,7 +4530,7 @@ void ue_measurement_report_triggering(protocol_ctxt_t *const ctxt_pP, const uint
LTE_ReportConfigInterRAT_t
*
rc
=
&
ue
->
ReportConfig
[
i
][
reportConfigId
-
1
]
->
reportConfig
.
choice
.
reportConfigInterRAT
;
LTE_TimeToTrigger_t
trig_per
=
rc
->
triggerType
.
choice
.
event
.
timeToTrigger
;
ttt_ms
=
timeToTrigger_ms
[
trig_per
];
LOG_
I
(
RRC
,
"[UE %d] Frame %d: B1_NR_r15 event. count %d, ttt %ld
\n
"
,
LOG_
D
(
RRC
,
"[UE %d] Frame %d: B1_NR_r15 event. count %d, ttt %ld
\n
"
,
ctxt_pP
->
module_id
,
ctxt_pP
->
frame
,
ue
->
subframeCount
,
ttt_ms
);
if
(
ue
->
subframeCount
<
ttt_ms
)
{
++
ue
->
subframeCount
;
...
...
@@ -4592,11 +4592,11 @@ uint8_t check_trigger_meas_event(
uint8_t
eNB_offset
;
// uint8_t currentCellIndex = frame_parms->Nid_cell;
uint8_t
tmp_offset
;
LOG_
I
(
RRC
,
"[UE %d] ofn(%ld) ocn(%ld) hys(%ld) ofs(%ld) ocs(%ld) ttt(%ld) rssi %3.1f
\n
"
,
LOG_
D
(
RRC
,
"[UE %d] ofn(%ld) ocn(%ld) hys(%ld) ofs(%ld) ocs(%ld) ttt(%ld) rssi %3.1f
\n
"
,
ue_mod_idP
,
ofn
,
ocn
,
hys
,
ofs
,
ocs
,
ttt
,
10
*
log10
(
get_RSSI
(
ue_mod_idP
,
0
))
-
get_rx_total_gain_dB
(
ue_mod_idP
,
0
));
LOG_
I
(
RRC
,
"Elkadi
[UE %d] Frame %d: num_adj: %d eNB_idx: %d, NB_eNB_INST: %d
\n
"
,
LOG_
D
(
RRC
,
"
[UE %d] Frame %d: num_adj: %d eNB_idx: %d, NB_eNB_INST: %d
\n
"
,
ue_mod_idP
,
frameP
,
get_n_adj_cells
(
ue_mod_idP
,
0
),
eNB_index
,
NB_eNB_INST
);
for
(
eNB_offset
=
0
;
eNB_offset
<
1
+
get_n_adj_cells
(
ue_mod_idP
,
0
);
eNB_offset
++
)
{
...
...
@@ -4610,17 +4610,17 @@ uint8_t check_trigger_meas_event(
if
(
UE_rrc_inst
[
ue_mod_idP
].
rsrp_db_filtered
[
eNB_offset
]
+
ofn
+
ocn
-
hys
>
UE_rrc_inst
[
ue_mod_idP
].
rsrp_db_filtered
[
eNB_index
]
+
ofs
+
ocs
-
1
/*+a3_offset*/
)
{
UE_rrc_inst
->
measTimer
[
ue_cnx_index
][
meas_index
][
tmp_offset
]
+=
2
;
//Called every subframe = 2ms
LOG_
I
(
RRC
,
"[UE %d] Frame %d: Entry measTimer[%d][%d][%d]: %d currentCell: %d betterCell: %d
\n
"
,
LOG_
D
(
RRC
,
"[UE %d] Frame %d: Entry measTimer[%d][%d][%d]: %d currentCell: %d betterCell: %d
\n
"
,
ue_mod_idP
,
frameP
,
ue_cnx_index
,
meas_index
,
tmp_offset
,
UE_rrc_inst
->
measTimer
[
ue_cnx_index
][
meas_index
][
tmp_offset
],
0
,
eNB_offset
);
}
else
{
UE_rrc_inst
->
measTimer
[
ue_cnx_index
][
meas_index
][
tmp_offset
]
=
0
;
//Exit condition: Resetting the measurement timer
LOG_
I
(
RRC
,
"[UE %d] Frame %d: Exit measTimer[%d][%d][%d]: %d currentCell: %d betterCell: %d
\n
"
,
LOG_
D
(
RRC
,
"[UE %d] Frame %d: Exit measTimer[%d][%d][%d]: %d currentCell: %d betterCell: %d
\n
"
,
ue_mod_idP
,
frameP
,
ue_cnx_index
,
meas_index
,
tmp_offset
,
UE_rrc_inst
->
measTimer
[
ue_cnx_index
][
meas_index
][
tmp_offset
],
0
,
eNB_offset
);
}
if
(
UE_rrc_inst
->
measTimer
[
ue_cnx_index
][
meas_index
][
tmp_offset
]
>=
ttt
)
{
UE_rrc_inst
->
HandoverInfoUe
.
targetCellId
=
get_adjacent_cell_id
(
ue_mod_idP
,
tmp_offset
);
//WARNING!!!...check this!
LOG_
I
(
RRC
,
"[UE %d] Frame %d eNB %d: Handover triggered: targetCellId: %ld currentCellId: %d eNB_offset: %d rsrp source: %3.1f rsrp target: %3.1f
\n
"
,
LOG_
D
(
RRC
,
"[UE %d] Frame %d eNB %d: Handover triggered: targetCellId: %ld currentCellId: %d eNB_offset: %d rsrp source: %3.1f rsrp target: %3.1f
\n
"
,
ue_mod_idP
,
frameP
,
eNB_index
,
UE_rrc_inst
->
HandoverInfoUe
.
targetCellId
,
ue_cnx_index
,
eNB_offset
,
get_RSRP
(
ue_mod_idP
,
0
,
0
),
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
3416b846
...
...
@@ -9026,7 +9026,7 @@ void rrc_eNB_process_ENDC_x2_setup_request(int mod_id, x2ap_ENDC_setup_req_t *m)
}
void
rrc_eNB_process_AdditionResponseInformation
(
const
module_id_t
enb_mod_idP
,
x2ap_ENDC_sgnb_addition_req_ACK_t
*
m
)
{
LOG_I
(
RRC
,
"Melissa we got here %s():%d
\n
"
,
__FUNCTION__
,
__LINE__
);
LOG_I
(
RRC
,
"Melissa
Elkadi
we got here %s():%d
\n
"
,
__FUNCTION__
,
__LINE__
);
NR_CG_Config_t
*
CG_Config
=
NULL
;
{
int
i
;
...
...
openair2/RRC/LTE/rrc_eNB_endc.c
View file @
3416b846
...
...
@@ -234,7 +234,8 @@ int rrc_eNB_generate_RRCConnectionReconfiguration_endc(protocol_ctxt_t *ctxt,
(
void
*
)
&
dl_dcch_msg
,
buffer
,
buffer_size
);
AssertFatal
(
enc_rval
.
encoded
>
0
,
"asn_DEF_LTE_DL_DCCH_Message message encoding failed (%s, %jd)!
\n
"
,
enc_rval
.
failed_type
->
name
,
enc_rval
.
encoded
);
{
int
len
=
(
enc_rval
.
encoded
+
7
)
/
8
;
int
i
;
...
...
openair2/RRC/NR/rrc_gNB_nsa.c
View file @
3416b846
...
...
@@ -281,6 +281,7 @@ void rrc_add_nsa_user(gNB_RRC_INST *rrc,struct rrc_gNB_ue_context_s *ue_context_
create_tunnel_req
.
num_tunnels
=
m
->
nb_e_rabs_tobeadded
;
RB_INSERT
(
rrc_nr_ue_tree_s
,
&
RC
.
nrrrc
[
rrc
->
module_id
]
->
rrc_ue_head
,
ue_context_p
);
PROTOCOL_CTXT_SET_BY_MODULE_ID
(
&
ctxt
,
rrc
->
module_id
,
GNB_FLAG_YES
,
ue_context_p
->
ue_id_rnti
,
0
,
0
,
rrc
->
module_id
);
#if 0
gtpv1u_create_s1u_tunnel(
ctxt.instance,
&create_tunnel_req,
...
...
@@ -289,6 +290,7 @@ void rrc_add_nsa_user(gNB_RRC_INST *rrc,struct rrc_gNB_ue_context_s *ue_context_
&ctxt,
&create_tunnel_resp,
&inde_list[0]);
#endif
X2AP_ENDC_SGNB_ADDITION_REQ_ACK
(
msg
).
nb_e_rabs_admitted_tobeadded
=
m
->
nb_e_rabs_tobeadded
;
X2AP_ENDC_SGNB_ADDITION_REQ_ACK
(
msg
).
target_assoc_id
=
m
->
target_assoc_id
;
...
...
@@ -326,7 +328,7 @@ void rrc_add_nsa_user(gNB_RRC_INST *rrc,struct rrc_gNB_ue_context_s *ue_context_
NULL
,
(
void
*
)
CG_Config
,
X2AP_ENDC_SGNB_ADDITION_REQ_ACK
(
msg
).
rrc_buffer
,
1024
);
sizeof
(
X2AP_ENDC_SGNB_ADDITION_REQ_ACK
(
msg
).
rrc_buffer
)
);
X2AP_ENDC_SGNB_ADDITION_REQ_ACK
(
msg
).
rrc_buffer_size
=
(
enc_rval
.
encoded
+
7
)
>>
3
;
itti_send_msg_to_task
(
TASK_X2AP
,
ENB_MODULE_ID_TO_INSTANCE
(
0
),
msg
);
//Check right id instead of hardcoding
}
else
if
(
get_softmodem_params
()
->
do_ra
)
{
...
...
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