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
promise
OpenXG-RAN
Commits
3f94ec0a
Commit
3f94ec0a
authored
Mar 30, 2017
by
younes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional measurents for RRU IF4p5
parent
aaa71cfc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
openair1/PHY/LTE_TRANSPORT/if4_tools.c
openair1/PHY/LTE_TRANSPORT/if4_tools.c
+2
-1
openair1/PHY/defs.h
openair1/PHY/defs.h
+1
-0
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+4
-0
No files found.
openair1/PHY/LTE_TRANSPORT/if4_tools.c
View file @
3f94ec0a
...
...
@@ -147,13 +147,14 @@ void send_IF4p5(PHY_VARS_eNB *eNB, int frame, int subframe, uint16_t packet_type
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_COMPR_IF, 1 );
LOG_D(PHY,"IF4p5_PULFFT: frame %d, subframe %d, symbol %d\n",frame,subframe,symbol_id);
for (element_id=0; element_id<db_halflength; element_id++) {
start_meas(&eNB->send_if4p5_comp_stats);
i = (uint16_t*) &rxdataF[0][blockoffsetF+element_id];
data_block[element_id] = ((uint16_t) lin2alaw_if4p5[*i]) | ((uint16_t)(lin2alaw_if4p5[*(i+1)]<<8));
i = (uint16_t*) &rxdataF[0][slotoffsetF+element_id];
data_block[element_id+db_halflength] = ((uint16_t) lin2alaw_if4p5[*i]) | ((uint16_t)(lin2alaw_if4p5[*(i+1)]<<8));
//if (element_id==0) LOG_I(PHY,"send_if4p5: symbol %d rxdata0 = (%d,%d)\n",symbol_id,*i,*(i+1));
stop_meas(&eNB->send_if4p5_comp_stats);
}
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME( VCD_SIGNAL_DUMPER_FUNCTIONS_TRX_COMPR_IF, 0 );
packet_header->frame_status &= ~(0x000f<<26);
...
...
openair1/PHY/defs.h
View file @
3f94ec0a
...
...
@@ -637,6 +637,7 @@ typedef struct PHY_VARS_eNB_s {
time_stats_t
recv_if4p5_stats
;
time_stats_t
trx_write_if4p5_stats
;
time_stats_t
trx_read_if4p5_stats
;
time_stats_t
send_if4p5_comp_stats
;
#ifdef LOCALIZATION
...
...
targets/RT/USER/lte-enb.c
View file @
3f94ec0a
...
...
@@ -684,12 +684,16 @@ static void* print_stats_thread( void* param ) {
reset_meas
(
&
eNB
->
trx_write_if4p5_stats
);
reset_meas
(
&
eNB
->
trx_read_if4p5_stats
);
reset_meas
(
&
eNB
->
send_if4p5_comp_stats
);
while
(
!
oai_exit
)
{
sleep
(
2
);
print_meas
(
&
eNB
->
send_if4p5_stats
,
"send_if4p5_stats"
,
NULL
,
NULL
);
print_meas
(
&
eNB
->
recv_if4p5_stats
,
"recv_if4p5_stats"
,
NULL
,
NULL
);
print_meas
(
&
eNB
->
trx_write_if4p5_stats
,
"trx_write_if4p5_stats"
,
NULL
,
NULL
);
print_meas
(
&
eNB
->
trx_read_if4p5_stats
,
"trx_read_if4p5_stats"
,
NULL
,
NULL
);
print_meas
(
&
eNB
->
send_if4p5_comp_stats
,
"send_if4p5_comp_stats"
,
NULL
,
NULL
);
printf
(
"
\n
"
);
}
}
...
...
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