Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kun
openairinterface5G
Commits
43df2913
Commit
43df2913
authored
8 years ago
by
Cédric Roux
Browse files
Options
Downloads
Patches
Plain Diff
T: add some traces
- Msg3 allocation - initiation of Random Access procedure
parent
85361335
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/utils/T/T_messages.txt
+8
-0
8 additions, 0 deletions
common/utils/T/T_messages.txt
openair1/SCHED/phy_procedures_lte_eNb.c
+11
-0
11 additions, 0 deletions
openair1/SCHED/phy_procedures_lte_eNb.c
with
19 additions
and
0 deletions
common/utils/T/T_messages.txt
+
8
−
0
View file @
43df2913
...
...
@@ -65,6 +65,14 @@ ID = ENB_PHY_PHICH
DESC = eNodeB PHICH
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
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
ID = ENB_MAC_UE_DL_SDU
...
...
This diff is collapsed.
Click to expand it.
openair1/SCHED/phy_procedures_lte_eNb.c
+
11
−
0
View file @
43df2913
...
...
@@ -968,6 +968,10 @@ void pdsch_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,LTE_eNB_DLSCH_t *d
UE_id
,
eNB
->
ulsch
[(
uint32_t
)
UE_id
]
->
Msg3_frame
,
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
;
}
...
...
@@ -1959,6 +1963,9 @@ void prach_procedures(PHY_VARS_eNB *eNB) {
preamble_energy_max
%
10
,
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
)
{
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
frame
,
&
eNB
->
ulsch
[
i
]
->
Msg3_frame
,
&
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
);
}
// This is Msg3 error
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment