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
alex037yang
OpenXG-RAN
Commits
f701c02f
Commit
f701c02f
authored
Jun 27, 2018
by
WEI-TAI CHEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Log for NR
parent
b57054b6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
3 deletions
+35
-3
openair2/RRC/NR/MESSAGES/asn1_msg.c
openair2/RRC/NR/MESSAGES/asn1_msg.c
+1
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+1
-1
openair2/UTIL/LOG/log.c
openair2/UTIL/LOG/log.c
+32
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
.../GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
+1
-1
No files found.
openair2/RRC/NR/MESSAGES/asn1_msg.c
View file @
f701c02f
...
...
@@ -297,7 +297,7 @@ void do_SERVINGCELLCONFIGCOMMON(uint8_t Mod_id,
(
*
servingcellconfigcommon
)
->
frequencyInfoDL
=
CALLOC
(
1
,
sizeof
(
struct
NR_FrequencyInfoDL
));
(
*
servingcellconfigcommon
)
->
initialDownlinkBWP
=
CALLOC
(
1
,
sizeof
(
struct
NR_BWP_DownlinkCommon
));
(
*
servingcellconfigcommon
)
->
uplinkConfigCommon
=
CALLOC
(
1
,
sizeof
(
struct
NR_UplinkConfigCommon
));
//(*servingcellconfigcommon)->supplementaryUplinkConfig
= CALLOC(1,sizeof(struct NR_UplinkConfigCommon));
//(*servingcellconfigcommon)->supplementaryUplinkConfig = CALLOC(1,sizeof(struct NR_UplinkConfigCommon));
(
*
servingcellconfigcommon
)
->
ssb_PositionsInBurst
=
CALLOC
(
1
,
sizeof
(
struct
NR_ServingCellConfigCommon__ssb_PositionsInBurst
));
(
*
servingcellconfigcommon
)
->
ssb_periodicityServingCell
=
CALLOC
(
1
,
sizeof
(
long
));
//(*servingcellconfigcommon)->lte_CRS_ToMatchAround = CALLOC(1,sizeof(struct NR_SetupRelease_RateMatchPatternLTE_CRS));
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
f701c02f
...
...
@@ -296,7 +296,7 @@ void* rrc_gnb_task(void* args_p){
msg_name_p
=
ITTI_MSG_NAME
(
msg_p
);
instance
=
ITTI_MSG_INSTANCE
(
msg_p
);
LOG_I
(
RRC
,
"Received message %s
\n
"
,
msg_name_p
);
LOG_I
(
NR_
RRC
,
"Received message %s
\n
"
,
msg_name_p
);
switch
(
ITTI_MSG_ID
(
msg_p
))
{
case
TERMINATE_MESSAGE
:
...
...
openair2/UTIL/LOG/log.c
View file @
f701c02f
...
...
@@ -172,6 +172,14 @@ int logInit (void)
g_log
->
log_component
[
PHY
].
filelog
=
0
;
g_log
->
log_component
[
PHY
].
filelog_name
=
"/tmp/phy.log"
;
g_log
->
log_component
[
NR_PHY
].
name
=
"NR_PHY"
;
g_log
->
log_component
[
NR_PHY
].
level
=
LOG_EMERG
;
g_log
->
log_component
[
NR_PHY
].
flag
=
LOG_MED
;
g_log
->
log_component
[
NR_PHY
].
interval
=
1
;
g_log
->
log_component
[
NR_PHY
].
fd
=
0
;
g_log
->
log_component
[
NR_PHY
].
filelog
=
0
;
g_log
->
log_component
[
NR_PHY
].
filelog_name
=
"/tmp/nrphy.log"
;
g_log
->
log_component
[
MAC
].
name
=
"MAC"
;
g_log
->
log_component
[
MAC
].
level
=
LOG_EMERG
;
g_log
->
log_component
[
MAC
].
flag
=
LOG_MED
;
...
...
@@ -180,6 +188,14 @@ int logInit (void)
g_log
->
log_component
[
MAC
].
filelog
=
0
;
g_log
->
log_component
[
MAC
].
filelog_name
=
"/tmp/mac.log"
;
g_log
->
log_component
[
NR_MAC
].
name
=
"NR_MAC"
;
g_log
->
log_component
[
NR_MAC
].
level
=
LOG_EMERG
;
g_log
->
log_component
[
NR_MAC
].
flag
=
LOG_MED
;
g_log
->
log_component
[
NR_MAC
].
interval
=
1
;
g_log
->
log_component
[
NR_MAC
].
fd
=
0
;
g_log
->
log_component
[
NR_MAC
].
filelog
=
0
;
g_log
->
log_component
[
NR_MAC
].
filelog_name
=
"/tmp/nrmac.log"
;
g_log
->
log_component
[
OPT
].
name
=
"OPT"
;
g_log
->
log_component
[
OPT
].
level
=
LOG_EMERG
;
g_log
->
log_component
[
OPT
].
flag
=
LOG_MED
;
...
...
@@ -212,6 +228,14 @@ int logInit (void)
g_log
->
log_component
[
RRC
].
filelog
=
0
;
g_log
->
log_component
[
RRC
].
filelog_name
=
"/tmp/rrc.log"
;
g_log
->
log_component
[
NR_RRC
].
name
=
"NR_RRC"
;
g_log
->
log_component
[
NR_RRC
].
level
=
LOG_TRACE
;
g_log
->
log_component
[
NR_RRC
].
flag
=
LOG_MED
;
g_log
->
log_component
[
NR_RRC
].
interval
=
1
;
g_log
->
log_component
[
NR_RRC
].
fd
=
0
;
g_log
->
log_component
[
NR_RRC
].
filelog
=
0
;
g_log
->
log_component
[
NR_RRC
].
filelog_name
=
"/tmp/nrrrc.log"
;
g_log
->
log_component
[
EMU
].
name
=
"EMU"
;
g_log
->
log_component
[
EMU
].
level
=
LOG_EMERG
;
g_log
->
log_component
[
EMU
].
flag
=
LOG_MED
;
...
...
@@ -364,6 +388,14 @@ int logInit (void)
g_log
->
log_component
[
ENB_APP
].
filelog
=
0
;
g_log
->
log_component
[
ENB_APP
].
filelog_name
=
""
;
g_log
->
log_component
[
GNB_APP
].
name
=
"GNB_APP"
;
g_log
->
log_component
[
GNB_APP
].
level
=
LOG_EMERG
;
g_log
->
log_component
[
GNB_APP
].
flag
=
LOG_MED
;
g_log
->
log_component
[
GNB_APP
].
interval
=
1
;
g_log
->
log_component
[
GNB_APP
].
fd
=
0
;
g_log
->
log_component
[
GNB_APP
].
filelog
=
0
;
g_log
->
log_component
[
GNB_APP
].
filelog_name
=
""
;
g_log
->
log_component
[
FLEXRAN_AGENT
].
name
=
"FLEXRAN_AGENT"
;
g_log
->
log_component
[
FLEXRAN_AGENT
].
level
=
LOG_DEBUG
;
g_log
->
log_component
[
FLEXRAN_AGENT
].
flag
=
LOG_MED
;
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
View file @
f701c02f
...
...
@@ -8,7 +8,7 @@ gNBs =
//////////
Identification
parameters
:
gNB_ID
=
0
xe00
;
cell_type
=
"CELL_MACRO_
E
NB"
;
cell_type
=
"CELL_MACRO_
G
NB"
;
gNB_name
=
"gNB-Eurecom-5GNRBox"
;
...
...
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