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
canghaiwuhen
OpenXG-RAN
Commits
a8d8b590
Commit
a8d8b590
authored
May 28, 2019
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing files for nr_prach with respect to previous commit. Added nr_prachsim to build_oai.
parent
48c24e5f
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1026 additions
and
3 deletions
+1026
-3
cmake_targets/build_oai
cmake_targets/build_oai
+1
-1
openair1/PHY/INIT/lte_parms.c
openair1/PHY/INIT/lte_parms.c
+2
-0
openair1/PHY/NR_TRANSPORT/nr_prach_common.c
openair1/PHY/NR_TRANSPORT/nr_prach_common.c
+361
-0
openair1/PHY/defs_common.h
openair1/PHY/defs_common.h
+4
-0
openair1/SIMULATION/LTE_PHY/prachsim.c
openair1/SIMULATION/LTE_PHY/prachsim.c
+2
-2
openair1/SIMULATION/NR_PHY/prachsim.c
openair1/SIMULATION/NR_PHY/prachsim.c
+656
-0
No files found.
cmake_targets/build_oai
View file @
a8d8b590
...
@@ -684,7 +684,7 @@ function main() {
...
@@ -684,7 +684,7 @@ function main() {
echo_info
"Compiling unitary tests simulators"
echo_info
"Compiling unitary tests simulators"
# TODO: fix: dlsim_tm4 pucchsim prachsim pdcchsim pbchsim mbmssim
# TODO: fix: dlsim_tm4 pucchsim prachsim pdcchsim pbchsim mbmssim
#simlist="dlsim_tm4 dlsim ulsim pucchsim prachsim pdcchsim pbchsim mbmssim"
#simlist="dlsim_tm4 dlsim ulsim pucchsim prachsim pdcchsim pbchsim mbmssim"
simlist
=
"dlsim ulsim polartest ldpctest smallblocktest nr_pbchsim nr_dlschsim nr_dlsim nr_ulschsim"
simlist
=
"dlsim ulsim polartest ldpctest smallblocktest nr_pbchsim nr_dlschsim nr_dlsim nr_ulschsim
nr_prachsim
"
for
f
in
$simlist
;
do
for
f
in
$simlist
;
do
compilations
\
compilations
\
phy_simulators
$f
\
phy_simulators
$f
\
...
...
openair1/PHY/INIT/lte_parms.c
View file @
a8d8b590
...
@@ -183,6 +183,8 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf)
...
@@ -183,6 +183,8 @@ int init_frame_parms(LTE_DL_FRAME_PARMS *frame_parms,uint8_t osf)
if
(
frame_parms
->
frame_type
==
TDD
)
set_S_config
(
frame_parms
);
if
(
frame_parms
->
frame_type
==
TDD
)
set_S_config
(
frame_parms
);
frame_parms
->
samples_per_subframe
=
frame_parms
->
samples_per_tti
;
frame_parms
->
samples_per_slot
=
frame_parms
->
samples_per_tti
>>
1
;
// frame_parms->tdd_config=3;
// frame_parms->tdd_config=3;
return
(
0
);
return
(
0
);
}
}
...
...
openair1/PHY/NR_TRANSPORT/nr_prach_common.c
0 → 100644
View file @
a8d8b590
This diff is collapsed.
Click to expand it.
openair1/PHY/defs_common.h
View file @
a8d8b590
...
@@ -629,6 +629,10 @@ typedef struct LTE_DL_FRAME_PARMS {
...
@@ -629,6 +629,10 @@ typedef struct LTE_DL_FRAME_PARMS {
uint16_t
first_carrier_offset
;
uint16_t
first_carrier_offset
;
/// Number of samples in a subframe
/// Number of samples in a subframe
uint32_t
samples_per_tti
;
uint32_t
samples_per_tti
;
/// Number of samples in a subframe
uint32_t
samples_per_subframe
;
/// Number of samples in a slot
uint32_t
samples_per_slot
;
/// Number of OFDM/SC-FDMA symbols in one subframe (to be modified to account for potential different in UL/DL)
/// Number of OFDM/SC-FDMA symbols in one subframe (to be modified to account for potential different in UL/DL)
uint16_t
symbols_per_tti
;
uint16_t
symbols_per_tti
;
/// Number of OFDM symbols in DL portion of S-subframe
/// Number of OFDM symbols in DL portion of S-subframe
...
...
openair1/SIMULATION/LTE_PHY/prachsim.c
View file @
a8d8b590
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
#include <string.h>
#include <string.h>
#include <math.h>
#include <math.h>
#include <unistd.h>
#include <unistd.h>
#include "SIMULATION/TOOLS/
defs
.h"
#include "SIMULATION/TOOLS/
sim
.h"
#include "SIMULATION/RF/
defs
.h"
#include "SIMULATION/RF/
rf
.h"
#include "PHY/types.h"
#include "PHY/types.h"
#include "PHY/defs.h"
#include "PHY/defs.h"
#include "PHY/vars.h"
#include "PHY/vars.h"
...
...
openair1/SIMULATION/NR_PHY/prachsim.c
0 → 100644
View file @
a8d8b590
This diff is collapsed.
Click to expand it.
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