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
lizhongxiao
OpenXG-RAN
Commits
c5747d16
Commit
c5747d16
authored
May 26, 2023
by
Anatolii Pankevych
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugz 124092: fix OAI typos; reduce verbosity for repeated messages
parent
69ac5265
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
97 additions
and
99 deletions
+97
-99
common/utils/ocp_itti/intertask_interface.cpp
common/utils/ocp_itti/intertask_interface.cpp
+5
-5
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+48
-50
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+1
-1
openair2/RRC/LTE/rrc_UE.c
openair2/RRC/LTE/rrc_UE.c
+5
-5
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+38
-38
No files found.
common/utils/ocp_itti/intertask_interface.cpp
View file @
c5747d16
...
...
@@ -131,10 +131,10 @@ extern "C" {
size_t
s
=
t
->
message_queue
.
size
();
if
(
s
>
t
->
admin
.
queue_size
)
LOG_
E
(
TMR
,
"Queue for %s task contains %ld messages
\n
"
,
itti_get_task_name
(
destination_task_id
),
s
);
LOG_
D
(
TMR
,
"Queue for %s task contains %ld messages
\n
"
,
itti_get_task_name
(
destination_task_id
),
s
);
if
(
s
>
50
)
LOG_
I
(
ITTI
,
"Queue for %s task size: %ld (last message %s)
\n
"
,
itti_get_task_name
(
destination_task_id
),
s
+
1
,
ITTI_MSG_NAME
(
message
));
LOG_
D
(
ITTI
,
"Queue for %s task size: %ld (last message %s)
\n
"
,
itti_get_task_name
(
destination_task_id
),
s
+
1
,
ITTI_MSG_NAME
(
message
));
t
->
message_queue
.
insert
(
t
->
message_queue
.
begin
(),
message
);
eventfd_t
sem_counter
=
1
;
...
...
@@ -147,7 +147,7 @@ extern "C" {
task_list_t
*
t
=
tasks
[
destination_task_id
];
pthread_mutex_lock
(
&
t
->
queue_cond_lock
);
int
ret
=
itti_send_msg_to_task_locked
(
destination_task_id
,
destinationInstance
,
message
);
LOG_
I
(
ITTI
,
"src task:%s dest task:%s msg_name:%s
\n
"
,
ITTI_MSG_ORIGIN_NAME
(
message
),
ITTI_MSG_DESTINATION_NAME
(
message
),
ITTI_MSG_NAME
(
message
)
);
LOG_
D
(
ITTI
,
"src task:%s dest task:%s msg_name:%s
\n
"
,
ITTI_MSG_ORIGIN_NAME
(
message
),
ITTI_MSG_DESTINATION_NAME
(
message
),
ITTI_MSG_NAME
(
message
)
);
while
(
t
->
message_queue
.
size
()
>
0
&&
t
->
admin
.
func
!=
NULL
)
{
if
(
t
->
message_queue
.
size
()
>
1
)
LOG_W
(
ITTI
,
"queue in no thread mode is %ld
\n
"
,
t
->
message_queue
.
size
());
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
c5747d16
...
...
@@ -3708,17 +3708,15 @@ void nr_ue_process_mac_pdu(nr_downlink_indication_t *dl_info,
1
,
NULL
);
}
else
{
LOG_
E
(
MAC
,
"[UE %d] Frame %d : unknown LCID %d (gNB %d)
\n
"
,
module_idP
,
frameP
,
rx_lcid
,
gNB_index
);
LOG_
I
(
MAC
,
"[UE %d] Frame %d : unknown LCID %d (gNB %d)
\n
"
,
module_idP
,
frameP
,
rx_lcid
,
gNB_index
);
}
break
;
}
}
pduP
+=
(
mac_subheader_len
+
mac_len
);
pdu_len
-=
(
mac_subheader_len
+
mac_len
);
if
(
pdu_len
<
0
)
LOG_
E
(
MAC
,
"[UE %d][%d.%d] nr_ue_process_mac_pdu, residual mac pdu length %d < 0!
\n
"
,
module_idP
,
frameP
,
slot
,
pdu_len
);
LOG_
I
(
MAC
,
"[UE %d][%d.%d] nr_ue_process_mac_pdu, residual mac pdu length %d < 0!
\n
"
,
module_idP
,
frameP
,
slot
,
pdu_len
);
}
}
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
c5747d16
...
...
@@ -989,7 +989,7 @@ static void enqueue_nr_nfapi_msg(void *buffer, ssize_t len, nfapi_p7_message_hea
PHY_FIND_CELL_IND
(
message_p
).
cells
[
i
].
rsrp
=
cell_ind
.
lte_cell_search_indication
.
lte_found_cells
[
i
].
rsrp
;
PHY_FIND_CELL_IND
(
message_p
).
cells
[
i
].
rsrq
=
cell_ind
.
lte_cell_search_indication
.
lte_found_cells
[
i
].
rsrq
;
LOG_
A
(
NR_PHY
,
"Cell No: %d PCI: %d EARFCN: %d RSRP: %d RSRQ: %d
\n
"
,
PHY_FIND_CELL_IND
(
message_p
).
cell_nb
,
LOG_
D
(
NR_PHY
,
"Cell No: %d PCI: %d EARFCN: %d RSRP: %d RSRQ: %d
\n
"
,
PHY_FIND_CELL_IND
(
message_p
).
cell_nb
,
PHY_FIND_CELL_IND
(
message_p
).
cells
[
i
].
cell_id
,
PHY_FIND_CELL_IND
(
message_p
).
cells
[
i
].
earfcn
,
PHY_FIND_CELL_IND
(
message_p
).
cells
[
i
].
rsrp
,
...
...
openair2/RRC/LTE/rrc_UE.c
View file @
c5747d16
...
...
@@ -1555,7 +1555,7 @@ rrc_ue_process_securityModeCommand(
if
(
h_rc
==
HASH_TABLE_OK
)
{
LOG_D
(
RRC
,
"PDCP_COLL_KEY_VALUE() returns valid key = %ld
\n
"
,
key
);
LOG_D
(
RRC
,
"driving kRRCenc, kRRCint and kUPenc from KeNB="
LOG_D
(
RRC
,
"d
e
riving kRRCenc, kRRCint and kUPenc from KeNB="
"%02x%02x%02x%02x"
"%02x%02x%02x%02x"
"%02x%02x%02x%02x"
...
...
openair2/RRC/NR_UE/rrc_UE.c
View file @
c5747d16
...
...
@@ -1731,7 +1731,7 @@ int8_t nr_rrc_ue_decode_ccch( const protocol_ctxt_t *const ctxt_pP, const NR_SRB
nr_derive_key_rrc_int
(
NR_UE_rrc_inst
[
ctxt_pP
->
module_id
].
integrityProtAlgorithm
,
NR_UE_rrc_inst
[
ctxt_pP
->
module_id
].
kgnb
,
&
kRRCint
);
LOG_I
(
NR_RRC
,
"driving kRRCenc, kRRCint and kUPenc from KgNB="
LOG_I
(
NR_RRC
,
"d
e
riving kRRCenc, kRRCint and kUPenc from KgNB="
"%02x%02x%02x%02x"
"%02x%02x%02x%02x"
"%02x%02x%02x%02x"
...
...
@@ -2604,7 +2604,7 @@ nr_rrc_ue_establish_srb2(
{
rsrp_cell
=
PHY_FIND_CELL_IND
(
msg_p
).
cells
[
i
].
rsrp
;
rsrq_cell
=
PHY_FIND_CELL_IND
(
msg_p
).
cells
[
i
].
rsrq
;
LOG_
A
(
RRC
,
"PHY_FIND_CELL_IND Cell: %d RSRP: %d RSRQ: %d
\n
"
,
LOG_
D
(
RRC
,
"PHY_FIND_CELL_IND Cell: %d RSRP: %d RSRQ: %d
\n
"
,
PHY_FIND_CELL_IND
(
msg_p
).
cell_nb
,
rsrp_cell
,
rsrq_cell
);
}
break
;
...
...
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