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
lizhongxiao
OpenXG-RAN
Commits
4840b895
Commit
4840b895
authored
Mar 24, 2021
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding PRACH signal to T tracer
parent
feb2b9c8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
common/utils/T/T_defs.h
common/utils/T/T_defs.h
+2
-2
common/utils/T/T_messages.txt
common/utils/T/T_messages.txt
+4
-0
executables/nr-ru.c
executables/nr-ru.c
+4
-0
No files found.
common/utils/T/T_defs.h
View file @
4840b895
...
...
@@ -42,9 +42,9 @@
/* maximum size of a message - increase if needed */
#if BASIC_SIMULATOR
/* let's have 100 RBs functional for the basic simulator */
# define T_BUFFER_MAX (1024*64*
2
)
# define T_BUFFER_MAX (1024*64*
4
)
#else
# define T_BUFFER_MAX (1024*64*
2
)
# define T_BUFFER_MAX (1024*64*
4
)
#endif
/* size of the local cache for messages (must be pow(2,something)) */
...
...
common/utils/T/T_messages.txt
View file @
4840b895
...
...
@@ -93,6 +93,10 @@ ID = GNB_PHY_PUCCH_PUSCH_IQ
DESC = gNodeB input data in the frequency domain for a slot where some PUCCH or PUSCH detection was done
GROUP = ALL:PHY:GRAPHIC:HEAVY:GNB
FORMAT = int,frame : int,slot : buffer,rxdataF
ID = GNB_PHY_PRACH_INPUT_SIGNAL
DESC = gNodeB input data in the time domain for slots with PRACH detection
GROUP = ALL:PHY:GRAPHIC:HEAVY:GNB
FORMAT = int,frame : int,slot : int,antenna : buffer,rxdata
#MAC logs
ID = ENB_MAC_UE_DL_SDU
...
...
executables/nr-ru.c
View file @
4840b895
...
...
@@ -1343,6 +1343,10 @@ void *ru_thread( void *param ) {
int
prach_id
=
find_nr_prach_ru
(
ru
,
proc
->
frame_rx
,
proc
->
tti_rx
,
SEARCH_EXIST
);
uint8_t
prachStartSymbol
,
N_dur
;
if
(
prach_id
>=
0
)
{
T
(
T_GNB_PHY_PRACH_INPUT_SIGNAL
,
T_INT
(
proc
->
frame_rx
),
T_INT
(
proc
->
tti_rx
),
T_INT
(
0
),
T_BUFFER
(
&
ru
->
common
.
rxdata
[
0
][
fp
->
get_samples_slot_timestamp
(
proc
->
tti_rx
-
1
,
fp
,
0
)]
/*-ru->N_TA_offset*/
,
fp
->
get_samples_per_slot
(
proc
->
tti_rx
,
fp
)
*
4
*
2
));
N_dur
=
get_nr_prach_duration
(
ru
->
prach_list
[
prach_id
].
fmt
);
/*
get_nr_prach_info_from_index(ru->config.prach_config.prach_ConfigurationIndex.value,
...
...
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