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
canghaiwuhen
OpenXG-RAN
Commits
1c33d18d
Commit
1c33d18d
authored
Oct 24, 2017
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logging
parent
e4250564
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
10 deletions
+32
-10
openair1/PHY/LTE_TRANSPORT/print_stats.c
openair1/PHY/LTE_TRANSPORT/print_stats.c
+2
-2
openair1/SCHED/fapi_l1.c
openair1/SCHED/fapi_l1.c
+2
-0
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler_bch.c
openair2/LAYER2/MAC/eNB_scheduler_bch.c
+3
-2
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
...JECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
+24
-5
No files found.
openair1/PHY/LTE_TRANSPORT/print_stats.c
View file @
1c33d18d
...
...
@@ -37,8 +37,8 @@
#include "SCHED/extern.h"
#ifdef OPENAIR2
#include "
../
openair2/LAYER2/MAC/proto.h"
#include "
../
openair2/RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
#include "openair2/LAYER2/MAC/proto.h"
#include "openair2/RRC/L2_INTERFACE/openair_rrc_L2_interface.h"
#endif
extern
int
mac_get_rrc_status
(
uint8_t
Mod_id
,
uint8_t
eNB_flag
,
uint8_t
index
);
...
...
openair1/SCHED/fapi_l1.c
View file @
1c33d18d
...
...
@@ -189,6 +189,8 @@ void handle_nfapi_dlsch_pdu(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
dlsch0
->
sib1_br_flag
=
0
;
if
((
rel13
->
pdsch_payload_type
<
2
)
&&
(
rel13
->
ue_type
>
0
))
{
// this is a BR/CE UE and SIB1-BR/SI-BR
LOG_I
(
PHY
,
"NFAPI: frame %d, subframe %d: Programming SI-BR
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
dlsch0
->
rnti
=
0xFFFF
;
dlsch0
->
Kmimo
=
1
;
dlsch0
->
Mdlharq
=
4
;
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
1c33d18d
...
...
@@ -272,7 +272,7 @@ void pdsch_procedures(PHY_VARS_eNB *eNB,
if
(
frame
<
200
)
{
LOG_
D
(
PHY
,
LOG_
I
(
PHY
,
"[eNB %"
PRIu8
"][PDSCH %"
PRIx16
"/%"
PRIu8
"] Frame %d, subframe %d: Generating PDSCH/DLSCH with input size = %"
PRIu16
", pdsch_start %d, G %d, nb_rb %"
PRIu16
", rb0 %x, rb1 %x, TBS %"
PRIu16
", pmi_alloc %"
PRIx64
", rv %"
PRIu8
" (round %"
PRIu8
")
\n
"
,
eNB
->
Mod_id
,
dlsch
->
rnti
,
harq_pid
,
frame
,
subframe
,
input_buffer_length
,
dlsch_harq
->
pdsch_start
,
...
...
openair2/LAYER2/MAC/eNB_scheduler_bch.c
View file @
1c33d18d
...
...
@@ -196,7 +196,7 @@ schedule_SIB1_BR(
AssertFatal
(
bcch_sdu_length
<=
TBS
,
"length returned by RRC %d is not compatible with the TBS %d from MIB
\n
"
,
bcch_sdu_length
,
TBS
);
if
((
frameP
&
1023
)
<
200
)
LOG_
D
(
MAC
,
"[eNB %d] Frame %d Subframe %d: SIB1_BR->DLSCH CC_id %d, Received %d bytes, scheduling on NB %d (i %d,m %d,N_S_NB %d) rvidx %d
\n
"
,
module_idP
,
frameP
,
subframeP
,
CC_id
,
bcch_sdu_length
,
n_NB
,
i
,
m
,
N_S_NB
,
rvidx
);
if
((
frameP
&
1023
)
<
200
)
LOG_
I
(
MAC
,
"[eNB %d] Frame %d Subframe %d: SIB1_BR->DLSCH CC_id %d, Received %d bytes, scheduling on NB %d (i %d,m %d,N_S_NB %d) rvidx %d
\n
"
,
module_idP
,
frameP
,
subframeP
,
CC_id
,
bcch_sdu_length
,
n_NB
,
i
,
m
,
N_S_NB
,
rvidx
);
// allocate all 6 PRBs in narrowband for SIB1_BR
...
...
@@ -315,6 +315,7 @@ schedule_SI_BR(
int
rvidx
;
int
absSF
=
(
frameP
*
10
)
+
subframeP
;
return
;
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
...
...
@@ -400,7 +401,7 @@ schedule_SI_BR(
vrb_map
[
first_rb
+
4
]
=
1
;
vrb_map
[
first_rb
+
5
]
=
1
;
if
((
frameP
&
1023
)
<
200
)
LOG_
D
(
MAC
,
"[eNB %d] Frame %d Subframe %d: SI_BR->DLSCH CC_id %d, Narrowband %d rvidx %d (sf_mod_period %d : si_WindowLength_BR_r13 %d : si_RepetitionPattern_r13 %d) bcch_sdu_length %d
\n
"
,
if
((
frameP
&
1023
)
<
200
)
LOG_
I
(
MAC
,
"[eNB %d] Frame %d Subframe %d: SI_BR->DLSCH CC_id %d, Narrowband %d rvidx %d (sf_mod_period %d : si_WindowLength_BR_r13 %d : si_RepetitionPattern_r13 %d) bcch_sdu_length %d
\n
"
,
module_idP
,
frameP
,
subframeP
,
CC_id
,(
int
)
si_Narrowband_r13
-
1
,
rvidx
,
sf_mod_period
,(
int
)
si_WindowLength_BR_r13
,(
int
)
si_RepetitionPattern_r13
,
bcch_sdu_length
);
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
View file @
1c33d18d
...
...
@@ -355,7 +355,7 @@ eNBs =
//////////
MME
parameters
:
mme_ip_address
= ( {
ipv4
=
"1
72.17.0.10
"
;
mme_ip_address
= ( {
ipv4
=
"1
92.168.12.26
"
;
ipv6
=
"192:168:30::17"
;
active
=
"yes"
;
preference
=
"ipv4"
;
...
...
@@ -365,10 +365,10 @@ eNBs =
NETWORK_INTERFACES
:
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"e
np0s31f6:S1-C
"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"1
72.17.0.21
/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"e
np0s31f6:S1-U
"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"1
72.16.0.21
/24"
;
ENB_INTERFACE_NAME_FOR_S1_MME
=
"e
th0
"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"1
92.168.12.150
/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"e
th0
"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"1
92.168.12.150
/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
...
...
@@ -420,3 +420,22 @@ RUs = (
eNB_instances
= [
0
];
}
);
log_config
:
{
global_log_level
=
"info"
;
global_log_verbosity
=
"medium"
;
hw_log_level
=
"info"
;
hw_log_verbosity
=
"medium"
;
phy_log_level
=
"info"
;
phy_log_verbosity
=
"medium"
;
mac_log_level
=
"info"
;
mac_log_verbosity
=
"high"
;
rlc_log_level
=
"info"
;
rlc_log_verbosity
=
"medium"
;
pdcp_log_level
=
"info"
;
pdcp_log_verbosity
=
"medium"
;
rrc_log_level
=
"info"
;
rrc_log_verbosity
=
"medium"
;
};
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