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
a67d6cb6
Commit
a67d6cb6
authored
Feb 19, 2018
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
npbch R14
parent
b38dadb2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletion
+29
-1
openair1/PHY/LTE_TRANSPORT/proto_NB_IoT.h
openair1/PHY/LTE_TRANSPORT/proto_NB_IoT.h
+13
-0
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
+15
-0
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
+1
-1
No files found.
openair1/PHY/LTE_TRANSPORT/proto_NB_IoT.h
View file @
a67d6cb6
...
@@ -112,6 +112,19 @@ void npbch_scrambling(LTE_DL_FRAME_PARMS *frame_parms,
...
@@ -112,6 +112,19 @@ void npbch_scrambling(LTE_DL_FRAME_PARMS *frame_parms,
uint8_t
*
npbch_e
,
uint8_t
*
npbch_e
,
uint32_t
length
);
uint32_t
length
);
/*
int scrambling_npbch_REs_rel_14(LTE_DL_FRAME_PARMS *frame_parms,
int32_t **txdataF,
uint32_t *jj,
int l,
uint32_t symbol_offset,
uint8_t pilots,
unsigned short id_offset,
uint8_t *reset,
uint32_t *x1,
uint32_t *x2,
uint32_t *s);
*/
// Functions below implement 36-211 and 36-212
// Functions below implement 36-211 and 36-212
/*Function to pack the DCI*/
/*Function to pack the DCI*/
...
...
openair1/SCHED/phy_procedures_lte_eNb_NB_IoT.c
View file @
a67d6cb6
...
@@ -228,6 +228,7 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
...
@@ -228,6 +228,7 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
int
With_NSSS
=
0
;
// 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
uint8_t
*
npbch_pdu
=
get_NB_IoT_MIB
();
uint8_t
*
npbch_pdu
=
get_NB_IoT_MIB
();
uint8_t
*
sib1_pdu
=
get_NB_IoT_SIB1
();
uint8_t
*
sib1_pdu
=
get_NB_IoT_SIB1
();
int
G
=
0
;
//NSSS only happened in the even frame
//NSSS only happened in the even frame
if
(
frame
%
2
==
0
)
if
(
frame
%
2
==
0
)
{
{
...
@@ -284,6 +285,20 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
...
@@ -284,6 +285,20 @@ void common_signal_procedures_NB_IoT(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc)
// SIB1
// SIB1
/*
/*
switch ( a ) {
case 0:
G=142;
break;
case 1:
G=130;
case 2:
G=118;
break;
default:
// Code
break;
}
if(subframe > 3)
if(subframe > 3)
{
{
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg_NB_IoT.c
View file @
a67d6cb6
...
@@ -141,7 +141,7 @@ uint8_t do_MIB_NB_IoT(
...
@@ -141,7 +141,7 @@ uint8_t do_MIB_NB_IoT(
//to be decided
//to be decided
mib_NB_IoT
->
message
.
operationModeInfo_r13
.
present
=
MasterInformationBlock_NB__operationModeInfo_r13_PR_inband_SamePCI_r13
;
mib_NB_IoT
->
message
.
operationModeInfo_r13
.
present
=
MasterInformationBlock_NB__operationModeInfo_r13_PR_inband_SamePCI_r13
;
mib_NB_IoT
->
message
.
operationModeInfo_r13
.
choice
.
inband_SamePCI_r13
.
eutra_CRS_SequenceInfo_r13
=
5
;
mib_NB_IoT
->
message
.
operationModeInfo_r13
.
choice
.
inband_SamePCI_r13
.
eutra_CRS_SequenceInfo_r13
=
5
;
/// TODO: take into account RB_index of NB-IoT
printf
(
"[MIB] Intialization of frame information ,sfn_MSB %x, hsfn_LSB %x
\n
"
,
printf
(
"[MIB] Intialization of frame information ,sfn_MSB %x, hsfn_LSB %x
\n
"
,
(
uint32_t
)
sfn_MSB
,
(
uint32_t
)
sfn_MSB
,
...
...
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