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
alex037yang
OpenXG-RAN
Commits
42e4c952
Commit
42e4c952
authored
Jan 21, 2018
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
operational code version for synchro testing
parent
3c1373a1
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1020 additions
and
1018 deletions
+1020
-1018
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+698
-699
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
+322
-319
No files found.
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
42e4c952
This diff is collapsed.
Click to expand it.
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
View file @
42e4c952
...
@@ -221,10 +221,11 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
...
@@ -221,10 +221,11 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
int
subframe
=
proc
->
subframe_tx
;
int
subframe
=
proc
->
subframe_tx
;
int
frame
=
proc
->
frame_tx
;
int
frame
=
proc
->
frame_tx
;
uint16_t
Ntti
=
10
;
//ntti = 10
uint16_t
Ntti
=
10
;
//ntti = 10
int
RB_IoT_ID
=
9
;
// XXX should be initialized (RB reserved for NB-IoT, PRB index)
int
RB_IoT_ID
=
2
;
// XXX should be initialized (RB reserved for NB-IoT, PRB index)
int
With_NSSS
;
// With_NSSS = 1; if the frame include a sub-Frame with NSSS signal
int
With_NSSS
=
0
;
// With_NSSS = 1; if the frame include a sub-Frame with NSSS signal
/*NSSS only happened in the even frame*/
//NSSS only happened in the even frame
if
(
frame
%
2
==
0
)
if
(
frame
%
2
==
0
)
{
{
With_NSSS
=
1
;
With_NSSS
=
1
;
...
@@ -234,40 +235,42 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
...
@@ -234,40 +235,42 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
With_NSSS
=
0
;
With_NSSS
=
0
;
}
}
/*NPSS when subframe 5*/
if
(
subframe
==
5
)
if
(
subframe
==
5
)
{
{
generate_npss_NB_IoT
(
txdataF
,
generate_npss_NB_IoT
(
txdataF
,
AMP
,
AMP
,
fp
,
fp
,
3
,
3
,
0
,
1
0
,
RB_IoT_ID
);
RB_IoT_ID
);
}
}
/*NSSS when subframe 9 on even frame*/
else
if
((
subframe
==
9
)
&&
(
With_NSSS
==
1
))
else
if
((
subframe
==
9
)
&&
(
With_NSSS
==
1
))
{
{
//printf("NSSS");
generate_sss_NB_IoT
(
txdataF
,
generate_sss_NB_IoT
(
txdataF
,
AMP
,
AMP
,
fp
,
fp
,
3
,
3
,
0
,
18
,
frame
,
frame
,
RB_IoT_ID
);
RB_IoT_ID
);
}
}
else
/*
else
{
{
/*NRS*/
/*
generate_pilots_NB_IoT(eNB,
generate_pilots_NB_IoT(eNB,
txdataF,
txdataF,
AMP,
AMP,
Ntti,
Ntti,
RB_IoT_ID,
RB_IoT_ID,
With_NSSS);
*/
With_NSSS);
}
}
*/
}
}
void
phy_procedures_eNB_uespec_RX_NB_IoT
(
PHY_VARS_eNB_NB_IoT
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
UL_IND_t
*
UL_INFO
)
void
phy_procedures_eNB_uespec_RX_NB_IoT
(
PHY_VARS_eNB_NB_IoT
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
UL_IND_t
*
UL_INFO
)
...
...
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