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
zzha zzha
OpenXG-RAN
Commits
3d21f622
Commit
3d21f622
authored
Nov 23, 2015
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into bugfix-40-channel_bandwidth
Conflicts: openair1/PHY/LTE_TRANSPORT/proto.h
parents
031535e9
916008f4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
+16
-11
cmake_targets/autotests/tools/remove_old_programs.bash~
cmake_targets/autotests/tools/remove_old_programs.bash~
+0
-7
openair1/PHY/LTE_TRANSPORT/proto.h
openair1/PHY/LTE_TRANSPORT/proto.h
+2
-2
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+14
-2
No files found.
cmake_targets/autotests/tools/remove_old_programs.bash~
deleted
100755 → 0
View file @
031535e9
#!/bin/bash
#$1 programs to be killed and checked
var
=
`
ps
-A
|grep
-E
-i
$1
`
echo
$var
if
[
-n
\"
$var
\"
]
;
then
echo
'Match found'
;
else
echo
'Match not found'
;
fi
openair1/PHY/LTE_TRANSPORT/proto.h
View file @
3d21f622
...
@@ -83,9 +83,9 @@ void clean_eNb_ulsch(LTE_eNB_ULSCH_t *ulsch, uint8_t abstraction_flag);
...
@@ -83,9 +83,9 @@ void clean_eNb_ulsch(LTE_eNB_ULSCH_t *ulsch, uint8_t abstraction_flag);
void
free_ue_ulsch
(
LTE_UE_ULSCH_t
*
ulsch
);
void
free_ue_ulsch
(
LTE_UE_ULSCH_t
*
ulsch
);
LTE_UE_ULSCH_t
*
new_ue_ulsch
(
uint8_t
Mdlharq
,
unsigned
char
N_RB_UL
,
uint8_t
abstraction_flag
);
LTE_eNB_ULSCH_t
*
new_eNB_ulsch
(
uint8_t
Mdlharq
,
uint8_t
max_turbo_iterations
,
uint8_t
N_RB_UL
,
uint8_t
abstraction_flag
);
LTE_UE_ULSCH_t
*
new_ue_ulsch
(
uint8_t
Mdlharq
,
unsigned
char
N_RB_UL
,
uint8_t
abstraction_flag
);
/** \fn dlsch_encoding(uint8_t *input_buffer,
/** \fn dlsch_encoding(uint8_t *input_buffer,
LTE_DL_FRAME_PARMS *frame_parms,
LTE_DL_FRAME_PARMS *frame_parms,
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
3d21f622
...
@@ -195,6 +195,7 @@ int main(int argc, char **argv)
...
@@ -195,6 +195,7 @@ int main(int argc, char **argv)
// FILE *rx_frame_file;
// FILE *rx_frame_file;
FILE
*
csv_fdUL
=
NULL
;
FILE
*
csv_fdUL
=
NULL
;
/*
FILE *fperen=NULL;
FILE *fperen=NULL;
char fperen_name[512];
char fperen_name[512];
...
@@ -203,6 +204,7 @@ int main(int argc, char **argv)
...
@@ -203,6 +204,7 @@ int main(int argc, char **argv)
FILE *flogeren=NULL;
FILE *flogeren=NULL;
char flogeren_name[512];
char flogeren_name[512];
*/
/* FILE *ftxlev;
/* FILE *ftxlev;
char ftxlev_name[512];
char ftxlev_name[512];
...
@@ -579,6 +581,7 @@ int main(int argc, char **argv)
...
@@ -579,6 +581,7 @@ int main(int argc, char **argv)
time_meas_fd
=
fopen
(
time_meas_fname
,
"w"
);
time_meas_fd
=
fopen
(
time_meas_fname
,
"w"
);
}
}
/*
if(abstx) {
if(abstx) {
sprintf(fperen_name,"ULchan_estims_F_mcs%d_rb%d_chanMod%d_nframes%d_chanReal%d.m",mcs,nb_rb,chMod,n_frames,n_ch_rlz);
sprintf(fperen_name,"ULchan_estims_F_mcs%d_rb%d_chanMod%d_nframes%d_chanReal%d.m",mcs,nb_rb,chMod,n_frames,n_ch_rlz);
fperen = fopen(fperen_name,"a+");
fperen = fopen(fperen_name,"a+");
...
@@ -595,6 +598,7 @@ int main(int argc, char **argv)
...
@@ -595,6 +598,7 @@ int main(int argc, char **argv)
fprintf(flogeren,"mag_f = [");
fprintf(flogeren,"mag_f = [");
fclose(flogeren);
fclose(flogeren);
}
}
*/
/*
/*
sprintf(ftxlev_name,"txlevel_mcs%d_rb%d_chanMod%d_nframes%d_chanReal%d.m",mcs,nb_rb,chMod,n_frames,n_ch_rlz);
sprintf(ftxlev_name,"txlevel_mcs%d_rb%d_chanMod%d_nframes%d_chanReal%d.m",mcs,nb_rb,chMod,n_frames,n_ch_rlz);
...
@@ -607,6 +611,10 @@ int main(int argc, char **argv)
...
@@ -607,6 +611,10 @@ int main(int argc, char **argv)
// CSV file
// CSV file
sprintf
(
csv_fname
,
"EULdataout_tx%d_mcs%d_nbrb%d_chan%d_nsimus%d_eren.m"
,
transmission_mode
,
mcs
,
nb_rb
,
chMod
,
n_frames
);
sprintf
(
csv_fname
,
"EULdataout_tx%d_mcs%d_nbrb%d_chan%d_nsimus%d_eren.m"
,
transmission_mode
,
mcs
,
nb_rb
,
chMod
,
n_frames
);
csv_fdUL
=
fopen
(
csv_fname
,
"w"
);
csv_fdUL
=
fopen
(
csv_fname
,
"w"
);
if
(
csv_fdUL
==
NULL
)
{
fprintf
(
stderr
,
"Problem opening file %s
\n
"
,
csv_fname
);
exit
(
-
1
);
}
fprintf
(
csv_fdUL
,
"data_all%d=["
,
mcs
);
fprintf
(
csv_fdUL
,
"data_all%d=["
,
mcs
);
}
}
...
@@ -1252,11 +1260,13 @@ int main(int argc, char **argv)
...
@@ -1252,11 +1260,13 @@ int main(int argc, char **argv)
PHY_vars_eNB
->
ulsch_eNB
[
0
]
->
cyclicShift
=
cyclic_shift
;
// cyclic shift for DMRS
PHY_vars_eNB
->
ulsch_eNB
[
0
]
->
cyclicShift
=
cyclic_shift
;
// cyclic shift for DMRS
/*
if(abstx) {
if(abstx) {
namepointer_log2 = &flogeren_name;
namepointer_log2 = &flogeren_name;
namepointer_chMag = &fmageren_name;
namepointer_chMag = &fmageren_name;
//namepointer_txlev = &ftxlev;
//namepointer_txlev = &ftxlev;
}
}
*/
start_meas
(
&
PHY_vars_eNB
->
ulsch_demodulation_stats
);
start_meas
(
&
PHY_vars_eNB
->
ulsch_demodulation_stats
);
rx_ulsch
(
PHY_vars_eNB
,
rx_ulsch
(
PHY_vars_eNB
,
...
@@ -1267,6 +1277,7 @@ int main(int argc, char **argv)
...
@@ -1267,6 +1277,7 @@ int main(int argc, char **argv)
cooperation_flag
);
cooperation_flag
);
stop_meas
(
&
PHY_vars_eNB
->
ulsch_demodulation_stats
);
stop_meas
(
&
PHY_vars_eNB
->
ulsch_demodulation_stats
);
/*
if(abstx) {
if(abstx) {
namepointer_chMag = NULL;
namepointer_chMag = NULL;
...
@@ -1278,8 +1289,7 @@ int main(int argc, char **argv)
...
@@ -1278,8 +1289,7 @@ int main(int argc, char **argv)
// flagMag = 1;
// flagMag = 1;
}
}
}
}
*/
///////
start_meas
(
&
PHY_vars_eNB
->
ulsch_decoding_stats
);
start_meas
(
&
PHY_vars_eNB
->
ulsch_decoding_stats
);
ret
=
ulsch_decoding
(
PHY_vars_eNB
,
ret
=
ulsch_decoding
(
PHY_vars_eNB
,
...
@@ -1798,6 +1808,7 @@ int main(int argc, char **argv)
...
@@ -1798,6 +1808,7 @@ int main(int argc, char **argv)
}
//ch realization
}
//ch realization
/*
if(abstx) {
if(abstx) {
fperen = fopen(fperen_name,"a+");
fperen = fopen(fperen_name,"a+");
fprintf(fperen,"];\n");
fprintf(fperen,"];\n");
...
@@ -1811,6 +1822,7 @@ int main(int argc, char **argv)
...
@@ -1811,6 +1822,7 @@ int main(int argc, char **argv)
fprintf(flogeren,"];\n");
fprintf(flogeren,"];\n");
fclose(flogeren);
fclose(flogeren);
}
}
*/
// ftxlev = fopen(ftxlev_name,"a+");
// ftxlev = fopen(ftxlev_name,"a+");
//fprintf(ftxlev,"];\n");
//fprintf(ftxlev,"];\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