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
ZhouShuya
OpenXG-RAN
Commits
c05ac86e
Commit
c05ac86e
authored
Feb 16, 2018
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix in pilots
parent
2300b9fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
openair1/PHY/LTE_REFSIG/lte_dl_cell_spec_NB_IoT.c
openair1/PHY/LTE_REFSIG/lte_dl_cell_spec_NB_IoT.c
+9
-1
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
+1
-1
No files found.
openair1/PHY/LTE_REFSIG/lte_dl_cell_spec_NB_IoT.c
View file @
c05ac86e
...
@@ -30,6 +30,7 @@ int lte_dl_cell_spec_NB_IoT(PHY_VARS_eNB *phy_vars_eNB,
...
@@ -30,6 +30,7 @@ int lte_dl_cell_spec_NB_IoT(PHY_VARS_eNB *phy_vars_eNB,
unsigned
short
RB_IoT_ID
)
// the ID of the RB dedicated for NB_IoT
unsigned
short
RB_IoT_ID
)
// the ID of the RB dedicated for NB_IoT
{
{
unsigned
char
nu
,
m
;
unsigned
char
nu
,
m
;
unsigned
char
mprime
,
mprime_dword
,
mprime_qpsk_symb
;
unsigned
short
k
,
a
;
unsigned
short
k
,
a
;
unsigned
short
NB_IoT_start
,
bandwidth_even_odd
;
unsigned
short
NB_IoT_start
,
bandwidth_even_odd
;
int32_t
qpsk
[
4
];
int32_t
qpsk
[
4
];
...
@@ -57,6 +58,8 @@ int lte_dl_cell_spec_NB_IoT(PHY_VARS_eNB *phy_vars_eNB,
...
@@ -57,6 +58,8 @@ int lte_dl_cell_spec_NB_IoT(PHY_VARS_eNB *phy_vars_eNB,
return
(
-
1
);
return
(
-
1
);
}
}
//mprime = 110 - eNB->frame_parms.N_RB_DL;
mprime
=
109
;
// testing if the total number of RBs is even or odd
// testing if the total number of RBs is even or odd
bandwidth_even_odd
=
phy_vars_eNB
->
frame_parms
.
N_RB_DL
%
2
;
// 0 even, 1 odd
bandwidth_even_odd
=
phy_vars_eNB
->
frame_parms
.
N_RB_DL
%
2
;
// 0 even, 1 odd
...
@@ -77,7 +80,12 @@ int lte_dl_cell_spec_NB_IoT(PHY_VARS_eNB *phy_vars_eNB,
...
@@ -77,7 +80,12 @@ int lte_dl_cell_spec_NB_IoT(PHY_VARS_eNB *phy_vars_eNB,
DevAssert
(
l
<
2
);
DevAssert
(
l
<
2
);
for
(
m
=
0
;
m
<
2
;
m
++
)
{
for
(
m
=
0
;
m
<
2
;
m
++
)
{
output
[
k
]
=
qpsk
[(
phy_vars_eNB
->
lte_gold_table_NB_IoT
[
Ns
][
l
][
0
])
&
3
];
//TODO should be defined one for NB-IoT
mprime_dword
=
mprime
>>
4
;
mprime_qpsk_symb
=
mprime
&
0xf
;
output
[
k
]
=
qpsk
[(
phy_vars_eNB
->
lte_gold_table_NB_IoT
[
Ns
][
l
][
mprime_dword
]
>>
(
2
*
mprime_qpsk_symb
))
&
3
];
//TODO should be defined one for NB-IoT
mprime
++
;
k
+=
6
;
k
+=
6
;
}
}
...
...
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
View file @
c05ac86e
...
@@ -284,7 +284,7 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
...
@@ -284,7 +284,7 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
// SIB1
// SIB1
/*
/*
if(subframe
== 4
)
if(subframe
> 3
)
{
{
*/
*/
...
...
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