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
ZhouShuya
OpenXG-RAN
Commits
43df2913
Commit
43df2913
authored
Nov 22, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T: add some traces
- Msg3 allocation - initiation of Random Access procedure
parent
85361335
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
common/utils/T/T_messages.txt
common/utils/T/T_messages.txt
+8
-0
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+11
-0
No files found.
common/utils/T/T_messages.txt
View file @
43df2913
...
@@ -65,6 +65,14 @@ ID = ENB_PHY_PHICH
...
@@ -65,6 +65,14 @@ ID = ENB_PHY_PHICH
DESC = eNodeB PHICH
DESC = eNodeB PHICH
GROUP = ALL:PHY:ENB
GROUP = ALL:PHY:ENB
FORMAT = int,eNB_ID : int,frame : int,subframe : int,UE_id : int,rnti : int,harq_pid : int,NGROUP : int,NSF : int,ngroup : int,nseq : int,ACK : int,first_rb : int,n_DMRS
FORMAT = int,eNB_ID : int,frame : int,subframe : int,UE_id : int,rnti : int,harq_pid : int,NGROUP : int,NSF : int,ngroup : int,nseq : int,ACK : int,first_rb : int,n_DMRS
ID = ENB_PHY_MSG3_ALLOCATION
DESC = eNodeB Msg3 allocation/reallocation
GROUP = ALL:PHY:ENB
FORMAT = int,eNB_ID : int,frame : int,subframe : int,UE_id : int,rnti : int,first_transmission : int,Msg3_frame : int,Msg3_subframe
ID = ENB_PHY_INITIATE_RA_PROCEDURE
DESC = eNodeB initiates a random access procedure after detecting enough energy for one of the preambles
GROUP = ALL:PHY:ENB
FORMAT = int,eNB_ID : int,frame : int,subframe : int,UE_id : int,preamble : int,energy : int,delay
#MAC logs
#MAC logs
ID = ENB_MAC_UE_DL_SDU
ID = ENB_MAC_UE_DL_SDU
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
43df2913
...
@@ -968,6 +968,10 @@ void pdsch_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,LTE_eNB_DLSCH_t *d
...
@@ -968,6 +968,10 @@ void pdsch_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,LTE_eNB_DLSCH_t *d
UE_id
,
UE_id
,
eNB
->
ulsch
[(
uint32_t
)
UE_id
]
->
Msg3_frame
,
eNB
->
ulsch
[(
uint32_t
)
UE_id
]
->
Msg3_frame
,
eNB
->
ulsch
[(
uint32_t
)
UE_id
]
->
Msg3_subframe
);
eNB
->
ulsch
[(
uint32_t
)
UE_id
]
->
Msg3_subframe
);
T
(
T_ENB_PHY_MSG3_ALLOCATION
,
T_INT
(
eNB
->
Mod_id
),
T_INT
(
frame
),
T_INT
(
subframe
),
T_INT
(
UE_id
),
T_INT
((
uint16_t
)
crnti
),
T_INT
(
1
/* 1 is for initial transmission*/
),
T_INT
(
eNB
->
ulsch
[
UE_id
]
->
Msg3_frame
),
T_INT
(
eNB
->
ulsch
[
UE_id
]
->
Msg3_subframe
));
}
}
if
(
ue_stats
)
ue_stats
->
total_TBS_MAC
+=
dlsch_harq
->
TBS
;
if
(
ue_stats
)
ue_stats
->
total_TBS_MAC
+=
dlsch_harq
->
TBS
;
}
}
...
@@ -1959,6 +1963,9 @@ void prach_procedures(PHY_VARS_eNB *eNB) {
...
@@ -1959,6 +1963,9 @@ void prach_procedures(PHY_VARS_eNB *eNB) {
preamble_energy_max
%
10
,
preamble_energy_max
%
10
,
preamble_delay_list
[
preamble_max
]);
preamble_delay_list
[
preamble_max
]);
T
(
T_ENB_PHY_INITIATE_RA_PROCEDURE
,
T_INT
(
eNB
->
Mod_id
),
T_INT
(
frame
),
T_INT
(
subframe
),
T_INT
(
UE_id
),
T_INT
(
preamble_max
),
T_INT
(
preamble_energy_max
),
T_INT
(
preamble_delay_list
[
preamble_max
]));
if
(
eNB
->
mac_enabled
==
1
)
{
if
(
eNB
->
mac_enabled
==
1
)
{
uint8_t
update_TA
=
4
;
uint8_t
update_TA
=
4
;
...
@@ -3059,6 +3066,10 @@ void phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,const
...
@@ -3059,6 +3066,10 @@ void phy_procedures_eNB_uespec_RX(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,const
frame
,
frame
,
&
eNB
->
ulsch
[
i
]
->
Msg3_frame
,
&
eNB
->
ulsch
[
i
]
->
Msg3_frame
,
&
eNB
->
ulsch
[
i
]
->
Msg3_subframe
);
&
eNB
->
ulsch
[
i
]
->
Msg3_subframe
);
T
(
T_ENB_PHY_MSG3_ALLOCATION
,
T_INT
(
eNB
->
Mod_id
),
T_INT
(
frame
),
T_INT
(
subframe
),
T_INT
(
i
),
T_INT
(
eNB
->
ulsch
[
i
]
->
rnti
),
T_INT
(
0
/* 0 is for retransmission*/
),
T_INT
(
eNB
->
ulsch
[
i
]
->
Msg3_frame
),
T_INT
(
eNB
->
ulsch
[
i
]
->
Msg3_subframe
));
}
}
LOG_D
(
PHY
,
"[eNB] Frame %d, Subframe %d: Msg3 in error, i = %d
\n
"
,
frame
,
subframe
,
i
);
LOG_D
(
PHY
,
"[eNB] Frame %d, Subframe %d: Msg3 in error, i = %d
\n
"
,
frame
,
subframe
,
i
);
}
// This is Msg3 error
}
// This is Msg3 error
...
...
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