Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OAI-RAN-5G-sheduler_MaxTBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
MAQ5G-PFC
OAI-RAN-5G-sheduler_MaxTBS
Commits
36717c68
Commit
36717c68
authored
6 years ago
by
Guy De Souza
Browse files
Options
Downloads
Patches
Plain Diff
Ofdm mod update
parent
1440e3c5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
openair1/PHY/MODULATION/ofdm_mod.c
+16
-0
16 additions, 0 deletions
openair1/PHY/MODULATION/ofdm_mod.c
openair1/SCHED_NR/nr_ru_procedures.c
+1
-1
1 addition, 1 deletion
openair1/SCHED_NR/nr_ru_procedures.c
with
17 additions
and
1 deletion
openair1/PHY/MODULATION/ofdm_mod.c
+
16
−
0
View file @
36717c68
...
@@ -58,6 +58,22 @@ void normal_prefix_mod(int32_t *txdataF,int32_t *txdata,uint8_t nsymb,LTE_DL_FRA
...
@@ -58,6 +58,22 @@ void normal_prefix_mod(int32_t *txdataF,int32_t *txdata,uint8_t nsymb,LTE_DL_FRA
}
}
void
nr_normal_prefix_mod
(
int32_t
*
txdataF
,
int32_t
*
txdata
,
uint8_t
nsymb
,
NR_DL_FRAME_PARMS
*
frame_parms
)
{
PHY_ofdm_mod
(
txdataF
,
// input
txdata
,
// output
frame_parms
->
ofdm_symbol_size
,
1
,
// number of symbols
frame_parms
->
nb_prefix_samples0
,
// number of prefix samples
CYCLIC_PREFIX
);
PHY_ofdm_mod
(
txdataF
+
frame_parms
->
ofdm_symbol_size
,
// input
txdata
+
OFDM_SYMBOL_SIZE_COMPLEX_SAMPLES0
,
// output
frame_parms
->
ofdm_symbol_size
,
nsymb
-
1
,
frame_parms
->
nb_prefix_samples
,
// number of prefix samples
CYCLIC_PREFIX
);
}
void
PHY_ofdm_mod
(
int
*
input
,
/// pointer to complex input
void
PHY_ofdm_mod
(
int
*
input
,
/// pointer to complex input
int
*
output
,
/// pointer to complex output
int
*
output
,
/// pointer to complex output
int
fftsize
,
/// FFT_SIZE
int
fftsize
,
/// FFT_SIZE
...
...
This diff is collapsed.
Click to expand it.
openair1/SCHED_NR/nr_ru_procedures.c
+
1
−
1
View file @
36717c68
...
@@ -236,7 +236,7 @@ void nr_feptx_ofdm(RU_t *ru) {
...
@@ -236,7 +236,7 @@ void nr_feptx_ofdm(RU_t *ru) {
fp
);
fp
);
// if S-subframe generate first slot only
// if S-subframe generate first slot only
if
(
subframe_select
(
fp
,
subframe
)
==
SF_DL
)
if
(
subframe_select
(
fp
,
subframe
)
==
SF_DL
)
normal_prefix_mod
(
&
ru
->
common
.
txdataF_BF
[
aa
][
slot_offset_F
+
slot_sizeF
],
nr_
normal_prefix_mod
(
&
ru
->
common
.
txdataF_BF
[
aa
][
slot_offset_F
+
slot_sizeF
],
dummy_tx_b
+
(
fp
->
samples_per_subframe
/
fp
->
slots_per_subframe
),
dummy_tx_b
+
(
fp
->
samples_per_subframe
/
fp
->
slots_per_subframe
),
14
,
14
,
fp
);
fp
);
...
...
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