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
abddc13a
Commit
abddc13a
authored
Feb 14, 2022
by
Melissa Elkadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding \n to several logs and demoting two logs
parent
ea6e96aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
+1
-1
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+6
-6
No files found.
openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
View file @
abddc13a
...
@@ -181,7 +181,7 @@ int8_t nr_ue_scheduled_response_stub(nr_scheduled_response_t *scheduled_response
...
@@ -181,7 +181,7 @@ int8_t nr_ue_scheduled_response_stub(nr_scheduled_response_t *scheduled_response
uci_ind
->
uci_list
=
CALLOC
(
uci_ind
->
num_ucis
,
sizeof
(
*
uci_ind
->
uci_list
));
uci_ind
->
uci_list
=
CALLOC
(
uci_ind
->
num_ucis
,
sizeof
(
*
uci_ind
->
uci_list
));
for
(
int
j
=
0
;
j
<
uci_ind
->
num_ucis
;
j
++
)
for
(
int
j
=
0
;
j
<
uci_ind
->
num_ucis
;
j
++
)
{
{
LOG_I
(
NR_MAC
,
"ul_config->ul_config_list[%d].pucch_config_pdu.n_bit = %d"
,
i
,
ul_config
->
ul_config_list
[
i
].
pucch_config_pdu
.
n_bit
);
LOG_I
(
NR_MAC
,
"ul_config->ul_config_list[%d].pucch_config_pdu.n_bit = %d
\n
"
,
i
,
ul_config
->
ul_config_list
[
i
].
pucch_config_pdu
.
n_bit
);
if
(
ul_config
->
ul_config_list
[
i
].
pucch_config_pdu
.
n_bit
>
3
&&
mac
->
nr_ue_emul_l1
.
num_csi_reports
>
0
)
if
(
ul_config
->
ul_config_list
[
i
].
pucch_config_pdu
.
n_bit
>
3
&&
mac
->
nr_ue_emul_l1
.
num_csi_reports
>
0
)
{
{
uci_ind
->
uci_list
[
j
].
pdu_type
=
NFAPI_NR_UCI_FORMAT_2_3_4_PDU_TYPE
;
uci_ind
->
uci_list
[
j
].
pdu_type
=
NFAPI_NR_UCI_FORMAT_2_3_4_PDU_TYPE
;
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
abddc13a
...
@@ -144,7 +144,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
...
@@ -144,7 +144,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
case
NFAPI_NR_PHY_MSG_TYPE_RACH_INDICATION
:
case
NFAPI_NR_PHY_MSG_TYPE_RACH_INDICATION
:
{
{
char
buffer
[
NFAPI_MAX_PACKED_MESSAGE_SIZE
];
char
buffer
[
NFAPI_MAX_PACKED_MESSAGE_SIZE
];
LOG_D
(
NR_MAC
,
"RACH header id :%d"
,
UL_INFO
->
rach_ind
.
header
.
message_id
);
LOG_D
(
NR_MAC
,
"RACH header id :%d
\n
"
,
UL_INFO
->
rach_ind
.
header
.
message_id
);
int
encoded_size
=
nfapi_nr_p7_message_pack
(
&
UL_INFO
->
rach_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
int
encoded_size
=
nfapi_nr_p7_message_pack
(
&
UL_INFO
->
rach_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
if
(
encoded_size
<=
0
)
if
(
encoded_size
<=
0
)
{
{
...
@@ -164,7 +164,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
...
@@ -164,7 +164,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
case
NFAPI_NR_PHY_MSG_TYPE_RX_DATA_INDICATION
:
case
NFAPI_NR_PHY_MSG_TYPE_RX_DATA_INDICATION
:
{
{
char
buffer
[
NFAPI_MAX_PACKED_MESSAGE_SIZE
];
char
buffer
[
NFAPI_MAX_PACKED_MESSAGE_SIZE
];
LOG_D
(
NR_MAC
,
"RX header id :%d"
,
UL_INFO
->
rx_ind
.
header
.
message_id
);
LOG_D
(
NR_MAC
,
"RX header id :%d
\n
"
,
UL_INFO
->
rx_ind
.
header
.
message_id
);
int
encoded_size
=
nfapi_nr_p7_message_pack
(
&
UL_INFO
->
rx_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
int
encoded_size
=
nfapi_nr_p7_message_pack
(
&
UL_INFO
->
rx_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
if
(
encoded_size
<=
0
)
if
(
encoded_size
<=
0
)
{
{
...
@@ -184,7 +184,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
...
@@ -184,7 +184,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
case
NFAPI_NR_PHY_MSG_TYPE_CRC_INDICATION
:
case
NFAPI_NR_PHY_MSG_TYPE_CRC_INDICATION
:
{
{
char
buffer
[
NFAPI_MAX_PACKED_MESSAGE_SIZE
];
char
buffer
[
NFAPI_MAX_PACKED_MESSAGE_SIZE
];
LOG_D
(
NR_MAC
,
"CRC header id :%d"
,
UL_INFO
->
crc_ind
.
header
.
message_id
);
LOG_D
(
NR_MAC
,
"CRC header id :%d
\n
"
,
UL_INFO
->
crc_ind
.
header
.
message_id
);
int
encoded_size
=
nfapi_nr_p7_message_pack
(
&
UL_INFO
->
crc_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
int
encoded_size
=
nfapi_nr_p7_message_pack
(
&
UL_INFO
->
crc_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
if
(
encoded_size
<=
0
)
if
(
encoded_size
<=
0
)
{
{
...
@@ -204,7 +204,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
...
@@ -204,7 +204,7 @@ void send_nsa_standalone_msg(NR_UL_IND_t *UL_INFO, uint16_t msg_id)
case
NFAPI_NR_PHY_MSG_TYPE_UCI_INDICATION
:
case
NFAPI_NR_PHY_MSG_TYPE_UCI_INDICATION
:
{
{
char
buffer
[
NFAPI_MAX_PACKED_MESSAGE_SIZE
];
char
buffer
[
NFAPI_MAX_PACKED_MESSAGE_SIZE
];
LOG_I
(
NR_MAC
,
"UCI header id :%d"
,
UL_INFO
->
uci_ind
.
header
.
message_id
);
LOG_I
(
NR_MAC
,
"UCI header id :%d
\n
"
,
UL_INFO
->
uci_ind
.
header
.
message_id
);
int
encoded_size
=
nfapi_nr_p7_message_pack
(
&
UL_INFO
->
uci_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
int
encoded_size
=
nfapi_nr_p7_message_pack
(
&
UL_INFO
->
uci_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
if
(
encoded_size
<=
0
)
if
(
encoded_size
<=
0
)
{
{
...
@@ -656,7 +656,7 @@ static void copy_ul_tti_data_req_to_dl_info(nr_downlink_indication_t *dl_info, n
...
@@ -656,7 +656,7 @@ static void copy_ul_tti_data_req_to_dl_info(nr_downlink_indication_t *dl_info, n
"Too many pdus %d in ul_tti_req
\n
"
,
num_pdus
);
"Too many pdus %d in ul_tti_req
\n
"
,
num_pdus
);
if
(
!
send_crc_ind_and_rx_ind
(
sfn_slot
))
if
(
!
send_crc_ind_and_rx_ind
(
sfn_slot
))
{
{
LOG_
E
(
NR_MAC
,
"CRC_RX ind not sent
\n
"
);
LOG_
D
(
NR_MAC
,
"CRC_RX ind not sent
\n
"
);
if
(
!
put_queue
(
&
nr_ul_tti_req_queue
,
ul_tti_req
))
if
(
!
put_queue
(
&
nr_ul_tti_req_queue
,
ul_tti_req
))
{
{
LOG_E
(
NR_PHY
,
"put_queue failed for ul_tti_req.
\n
"
);
LOG_E
(
NR_PHY
,
"put_queue failed for ul_tti_req.
\n
"
);
...
@@ -758,7 +758,7 @@ void check_and_process_dci(nfapi_nr_dl_tti_request_t *dl_tti_request,
...
@@ -758,7 +758,7 @@ void check_and_process_dci(nfapi_nr_dl_tti_request_t *dl_tti_request,
{
{
frame
=
ul_tti_request
->
SFN
;
frame
=
ul_tti_request
->
SFN
;
slot
=
ul_tti_request
->
Slot
;
slot
=
ul_tti_request
->
Slot
;
LOG_
I
(
NR_PHY
,
"[%d, %d] ul_tti_request
\n
"
,
frame
,
slot
);
LOG_
D
(
NR_PHY
,
"[%d, %d] ul_tti_request
\n
"
,
frame
,
slot
);
copy_ul_tti_data_req_to_dl_info
(
&
mac
->
dl_info
,
ul_tti_request
);
copy_ul_tti_data_req_to_dl_info
(
&
mac
->
dl_info
,
ul_tti_request
);
}
}
else
else
...
...
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