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
Expand all
Hide 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
());
...
...
@@ -240,8 +240,8 @@ extern "C" {
AssertFatal
(
nb_events
>=
0
,
"epoll_wait failed for task %s, nb fds %d, timeout %lu: %s!
\n
"
,
itti_get_task_name
(
task_id
),
t
->
nb_fd_epoll
,
t
->
next_timer
!=
UINT64_MAX
?
t
->
next_timer
-
current_time
:
-
1
,
itti_get_task_name
(
task_id
),
t
->
nb_fd_epoll
,
t
->
next_timer
!=
UINT64_MAX
?
t
->
next_timer
-
current_time
:
-
1
,
strerror
(
errno
));
LOG_D
(
ITTI
,
"receive on %d descriptors for %s
\n
"
,
nb_events
,
itti_get_task_name
(
task_id
));
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
c5747d16
This diff is collapsed.
Click to expand it.
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"
...
...
@@ -1658,7 +1658,7 @@ rrc_ue_process_MBMSCountingRequest(
LTE_MBMSCountingResponse_r10_t
*
MBMSCountingResponse
=
&
ul_dcch_msg
.
message
.
choice
.
c1
.
choice
.
mbmsCountingResponse_r10
;
MBMSCountingResponse
->
criticalExtensions
.
present
=
LTE_MBMSCountingResponse_r10__criticalExtensions_PR_c1
;
MBMSCountingResponse
->
criticalExtensions
.
choice
.
c1
.
present
=
LTE_MBMSCountingResponse_r10__criticalExtensions__c1_PR_countingResponse_r10
;
MBMSCountingResponse
->
criticalExtensions
.
choice
.
c1
.
present
=
LTE_MBMSCountingResponse_r10__criticalExtensions__c1_PR_countingResponse_r10
;
LTE_MBMSCountingResponse_r10_IEs_t
*
MBMSCountingResponse_r10_IEs
=
&
MBMSCountingResponse
->
criticalExtensions
.
choice
.
c1
.
choice
.
countingResponse_r10
;
MBMSCountingResponse_r10_IEs
->
mbsfn_AreaIndex_r10
=
calloc
(
1
,
sizeof
(
long
));
...
...
@@ -3086,7 +3086,7 @@ int decode_SIB1_MBMS( const protocol_ctxt_t *const ctxt_pP, const uint8_t eNB_in
UE_rrc_inst
[
ctxt_pP
->
module_id
].
Info
[
eNB_index
].
SIB1systemInfoValueTag_MBMS
=
sib1_MBMS
->
systemInfoValueTag_r14
;
/*
if (EPC_MODE_ENABLED)
if (EPC_MODE_ENABLED)
{
int cell_valid = 0;
...
...
@@ -4275,10 +4275,10 @@ int decode_SI( const protocol_ctxt_t *const ctxt_pP, const uint8_t eNB_index ) {
}
if
(
new_sib
==
1
)
{
UE_rrc_inst
[
ctxt_pP
->
module_id
].
Info
[
eNB_index
].
SIcnt
++
;
if
(
UE_rrc_inst
[
ctxt_pP
->
module_id
].
Info
[
eNB_index
].
SIcnt
==
sib1
->
schedulingInfoList
.
list
.
count
)
rrc_set_sub_state
(
ctxt_pP
->
module_id
,
RRC_SUB_STATE_IDLE_SIB_COMPLETE
);
LOG_I
(
RRC
,
"SIStatus %x, SIcnt %d/%d
\n
"
,
UE_rrc_inst
[
ctxt_pP
->
module_id
].
Info
[
eNB_index
].
SIStatus
,
UE_rrc_inst
[
ctxt_pP
->
module_id
].
Info
[
eNB_index
].
SIcnt
,
...
...
openair2/RRC/NR_UE/rrc_UE.c
View file @
c5747d16
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