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
wangjie
OpenXG-RAN
Commits
8dec69ea
Commit
8dec69ea
authored
Apr 11, 2018
by
Guy De Souza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Frame Parms update
parent
7e7c15c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
openair1/PHY/INIT/nr_parms.c
openair1/PHY/INIT/nr_parms.c
+7
-1
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
.../GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
+3
-3
No files found.
openair1/PHY/INIT/nr_parms.c
View file @
8dec69ea
...
@@ -134,8 +134,12 @@ int nr_init_frame_parms(nfapi_config_request_t config,
...
@@ -134,8 +134,12 @@ int nr_init_frame_parms(nfapi_config_request_t config,
AssertFatal
(
1
==
0
,
"Invalid numerology index %d"
,
mu
);
AssertFatal
(
1
==
0
,
"Invalid numerology index %d"
,
mu
);
}
}
frame_parms
->
samples_per_subframe_wCP
=
frame_parms
->
ofdm_symbol_size
*
((
Ncp
==
0
)
?
14
:
12
)
*
frame_parms
->
slots_per_subframe
;
frame_parms
->
symbols_per_slot
=
((
Ncp
==
0
)
?
14
:
12
);
// to redefine for different slot formats
frame_parms
->
samples_per_subframe_wCP
=
frame_parms
->
ofdm_symbol_size
*
frame_parms
->
symbols_per_slot
*
frame_parms
->
slots_per_subframe
;
frame_parms
->
samples_per_frame_wCP
=
10
*
frame_parms
->
samples_per_subframe_wCP
;
frame_parms
->
samples_per_frame_wCP
=
10
*
frame_parms
->
samples_per_subframe_wCP
;
frame_parms
->
samples_per_subframe
=
frame_parms
->
samples_per_subframe_wCP
+
(
frame_parms
->
nb_prefix_samples0
*
frame_parms
->
slots_per_subframe
)
+
(
frame_parms
->
nb_prefix_samples
*
frame_parms
->
slots_per_subframe
*
(
frame_parms
->
symbols_per_slot
-
1
));
frame_parms
->
samples_per_frame
=
10
*
frame_parms
->
samples_per_subframe
;
return
0
;
return
0
;
...
@@ -150,4 +154,6 @@ void nr_dump_frame_parms(NR_DL_FRAME_PARMS *frame_parms)
...
@@ -150,4 +154,6 @@ void nr_dump_frame_parms(NR_DL_FRAME_PARMS *frame_parms)
LOG_I
(
PHY
,
"frame_parms->slots_per_subframe=%d
\n
"
,
frame_parms
->
slots_per_subframe
);
LOG_I
(
PHY
,
"frame_parms->slots_per_subframe=%d
\n
"
,
frame_parms
->
slots_per_subframe
);
LOG_I
(
PHY
,
"frame_parms->samples_per_subframe_wCP=%d
\n
"
,
frame_parms
->
samples_per_subframe_wCP
);
LOG_I
(
PHY
,
"frame_parms->samples_per_subframe_wCP=%d
\n
"
,
frame_parms
->
samples_per_subframe_wCP
);
LOG_I
(
PHY
,
"frame_parms->samples_per_frame_wCP=%d
\n
"
,
frame_parms
->
samples_per_frame_wCP
);
LOG_I
(
PHY
,
"frame_parms->samples_per_frame_wCP=%d
\n
"
,
frame_parms
->
samples_per_frame_wCP
);
LOG_I
(
PHY
,
"frame_parms->samples_per_subframe=%d
\n
"
,
frame_parms
->
samples_per_subframe
);
LOG_I
(
PHY
,
"frame_parms->samples_per_frame=%d
\n
"
,
frame_parms
->
samples_per_frame
);
}
}
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpx300.conf
View file @
8dec69ea
...
@@ -151,9 +151,9 @@ eNBs =
...
@@ -151,9 +151,9 @@ eNBs =
{
{
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1_MME
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.
59
/24"
;
ENB_IPV4_ADDRESS_FOR_S1_MME
=
"192.168.12.
111
/24"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_INTERFACE_NAME_FOR_S1U
=
"eth0"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.
59
/24"
;
ENB_IPV4_ADDRESS_FOR_S1U
=
"192.168.12.
111
/24"
;
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
ENB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
};
}
}
...
@@ -183,7 +183,7 @@ RUs = (
...
@@ -183,7 +183,7 @@ RUs = (
att_rx
=
0
;
att_rx
=
0
;
bands
= [
7
];
bands
= [
7
];
max_pdschReferenceSignalPower
= -
27
;
max_pdschReferenceSignalPower
= -
27
;
max_rxgain
=
12
5
;
max_rxgain
=
12
0
;
eNB_instances
= [
0
];
eNB_instances
= [
0
];
}
}
...
...
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