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
4b5f608c
Commit
4b5f608c
authored
Jun 30, 2020
by
Andrew Burger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added logging of encoded size
parent
d836650d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf
ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf
+2
-2
ci-scripts/conf_files/ue.nfapi.conf
ci-scripts/conf_files/ue.nfapi.conf
+2
-2
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+7
-5
No files found.
ci-scripts/conf_files/rcc.band7.tm1.nfapi.conf
View file @
4b5f608c
...
...
@@ -230,9 +230,9 @@ log_config =
global_log_verbosity
=
"medium"
;
hw_log_level
=
"info"
;
hw_log_verbosity
=
"medium"
;
phy_log_level
=
"
info
"
;
phy_log_level
=
"
debug
"
;
phy_log_verbosity
=
"medium"
;
mac_log_level
=
"
info
"
;
mac_log_level
=
"
debug
"
;
mac_log_verbosity
=
"high"
;
rlc_log_level
=
"info"
;
rlc_log_verbosity
=
"medium"
;
...
...
ci-scripts/conf_files/ue.nfapi.conf
View file @
4b5f608c
...
...
@@ -3,9 +3,9 @@ log_config = {
global_log_verbosity
=
"medium"
;
hw_log_level
=
"info"
;
hw_log_verbosity
=
"medium"
;
phy_log_level
=
"
info
"
;
phy_log_level
=
"
debug
"
;
phy_log_verbosity
=
"medium"
;
mac_log_level
=
"
info
"
;
mac_log_level
=
"
debug
"
;
mac_log_verbosity
=
"medium"
;
rlc_log_level
=
"info"
;
rlc_log_verbosity
=
"medium"
;
...
...
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
4b5f608c
...
...
@@ -1280,26 +1280,27 @@ const char *hexdump(const void *data, size_t data_len, char *out, size_t out_len
{
case
NFAPI_RACH_INDICATION
:
encoded_size
=
nfapi_p7_message_pack
(
&
UL
->
rach_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
LOG_D
(
MAC
,
"RACH_IND sent to Proxy, Size: %d
\n
"
,
encoded_size
);
break
;
case
NFAPI_CRC_INDICATION
:
encoded_size
=
nfapi_p7_message_pack
(
&
UL
->
crc_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
LOG_D
(
MAC
,
"CRC_IND sent to Proxy
\n
"
);
LOG_D
(
MAC
,
"CRC_IND sent to Proxy
, Size: %d
\n
"
,
encoded_size
);
break
;
case
NFAPI_RX_ULSCH_INDICATION
:
// is this the right nfapi message_id? Ask Raymond
encoded_size
=
nfapi_p7_message_pack
(
&
UL
->
rx_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
LOG_D
(
MAC
,
"RX_IND sent to Proxy
\n
"
);
LOG_D
(
MAC
,
"RX_IND sent to Proxy
, Size: %d
\n
"
,
encoded_size
);
break
;
case
NFAPI_RX_CQI_INDICATION
:
// is this the right nfapi message_id? Ask Raymond
encoded_size
=
nfapi_p7_message_pack
(
&
UL
->
cqi_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
LOG_D
(
MAC
,
"CQI_IND sent to Proxy
\n
"
);
LOG_D
(
MAC
,
"CQI_IND sent to Proxy
, Size: %d
\n
"
,
encoded_size
);
break
;
case
NFAPI_HARQ_INDICATION
:
LOG_D
(
MAC
,
"HARQ_IND sent to Proxy
\n
"
);
LOG_D
(
MAC
,
"HARQ_IND sent to Proxy
, Size: %d
\n
"
,
encoded_size
);
encoded_size
=
nfapi_p7_message_pack
(
&
UL
->
harq_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
break
;
case
NFAPI_RX_SR_INDICATION
:
// is this the right nfapi message_id? Ask Raymond
encoded_size
=
nfapi_p7_message_pack
(
&
UL
->
sr_ind
,
buffer
,
sizeof
(
buffer
),
NULL
);
LOG_D
(
MAC
,
"SR_IND sent to Proxy
\n
"
);
LOG_D
(
MAC
,
"SR_IND sent to Proxy
, Size: %d
\n
"
,
encoded_size
);
break
;
default:
LOG_E
(
MAC
,
"%s Unknown Message msg_type :: %u
\n
"
,
__func__
,
msg_type
);
...
...
@@ -1320,6 +1321,7 @@ const char *hexdump(const void *data, size_t data_len, char *out, size_t out_len
void
send_standalone_dummy
()
{
static
const
uint16_t
dummy
[]
=
{
0
,
0
};
LOG_D
(
MAC
,
"Dummy sent to Proxy, Size: %zu
\n
"
,
sizeof
(
dummy
));
if
(
send
(
ue_sock_descriptor
,
dummy
,
sizeof
(
dummy
),
0
)
<
0
)
{
LOG_E
(
MAC
,
"send dummy to OAI UE failed: %s
\n
"
,
strerror
(
errno
));
...
...
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