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
5729da58
Commit
5729da58
authored
Jun 08, 2017
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add NB_common_signal_procedures in NB_phy_procedures_eNB_TX
parent
9257223e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
62 additions
and
1 deletion
+62
-1
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
+62
-1
No files found.
openair1/SCHED/phy_procedures_lte_eNb_nb_iot.c
View file @
5729da58
...
...
@@ -94,6 +94,67 @@ extern int rx_sig_fifo;
#endif
/* For NB-IoT, we put NPBCH in later part, since it would be scheduled by MAC scheduler
* It generates NRS/NPSS/NSSS
*
*/
void
NB_common_signal_procedures
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
)
{
LTE_DL_FRAME_PARMS
*
fp
=&
eNB
->
frame_parms
;
int
**
txdataF
=
eNB
->
common_vars
.
txdataF
[
0
];
int
subframe
=
proc
->
subframe_tx
;
int
frame
=
proc
->
frame_tx
;
uint16_t
Ntti
=
10
;
//ntti = 10
int
RB_IoT_ID
;
// RB reserved for NB-IoT, PRB index
int
With_NSSS
;
// With_NSSS = 1; if the frame include a sub-Frame with NSSS signal
/*NSSS only happened in the even frame*/
if
(
frame
%
2
==
0
)
{
With_NSSS
=
1
;
}
else
{
With_NSSS
=
0
;
}
/*NRS*/
generate_pilots_NB_IoT
(
eNB
,
txdataF
,
AMP
,
Ntti
,
RB_IoT_ID
,
With_NSSS
);
/*NPSS when subframe 5*/
if
(
subframe
==
5
)
{
generate_npss_NB_IoT
(
txdataF
,
AMP
,
fp
,
3
,
0
,
RB_IoT_ID
);
}
/*NSSS when subframe 9 on even frame*/
if
((
subframe
==
9
)
&&
(
With_NSSS
==
1
))
{
generate_nsss_NB_IoT
(
txdataF
,
AMP
,
fp
,
3
,
0
,
frame
,
RB_IoT_ID
);
}
}
void
NB_phy_procedures_eNB_uespec_RX
(
PHY_VARS_eNB
*
eNB
,
eNB_rxtx_proc_t
*
proc
,
const
relaying_type_t
r_type
)
{
//RX processing for ue-specific resources (i
...
...
@@ -532,7 +593,7 @@ void NB_phy_procedures_eNB_TX(PHY_VARS_eNB *eNB,
//ignore the PMCH part only do the generate PSS/SSS, note: Seperate MIB from here
//
common_signal_procedures(eNB,proc);
NB_
common_signal_procedures
(
eNB
,
proc
);
while
(
!
oai_exit
)
{
...
...
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