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
lizhongxiao
OpenXG-RAN
Commits
ea9f723f
Commit
ea9f723f
authored
Jun 01, 2017
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction to npbch_NB_IoT.c function
parent
54896bac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
openair1/PHY/LTE_TRANSPORT/npbch_NB_IoT.c
openair1/PHY/LTE_TRANSPORT/npbch_NB_IoT.c
+3
-3
No files found.
openair1/PHY/LTE_TRANSPORT/npbch_NB_IoT.c
View file @
ea9f723f
...
...
@@ -140,7 +140,7 @@ int generate_npbch(NB_IoT_eNB_NPBCH *eNB_npbch,
if
(
frame_mod64
==
0
)
{
bzero
(
npbch_a
,
5
);
// initializing input data stream , filling with zeros
bzero
(
eNB_npbch
->
npbch_e
,
pbch_E
);
// filling with "0" the table pbch_e[1600]
memset
(
eNB_npbch
->
npbch_d
,
LTE_NULL
,
6
6
);
// filling with "2" the first 96 elements of table pbch_d[216]
memset
(
eNB_npbch
->
npbch_d
,
LTE_NULL
,
9
6
);
// filling with "2" the first 96 elements of table pbch_d[216]
for
(
i
=
0
;
i
<
5
;
i
++
)
// set input bits stream
{
...
...
@@ -165,8 +165,8 @@ int generate_npbch(NB_IoT_eNB_NPBCH *eNB_npbch,
}
}
ccode_encode_NB_IoT
(
NPBCH_A
,
2
,
npbch_a
,
eNB_npbch
->
npbch_d
+
6
6
,
amask
);
// step 1 CRC Attachment
RCC
=
sub_block_interleaving_cc_NB_IoT
(
npbch_D
,
eNB_npbch
->
npbch_d
+
6
6
,
eNB_npbch
->
npbch_w
);
// step 2 Channel Coding
ccode_encode_NB_IoT
(
NPBCH_A
,
2
,
npbch_a
,
eNB_npbch
->
npbch_d
+
9
6
,
amask
);
// step 1 CRC Attachment
RCC
=
sub_block_interleaving_cc_NB_IoT
(
npbch_D
,
eNB_npbch
->
npbch_d
+
9
6
,
eNB_npbch
->
npbch_w
);
// step 2 Channel Coding
lte_rate_matching_cc_NB_IoT
(
RCC
,
npbch_E
,
eNB_npbch
->
npbch_w
,
eNB_npbch
->
npbch_e
);
// step 3 Rate Matching
npbch_scrambling
(
frame_parms
,
// step 4 Scrambling
eNB_npbch
->
npbch_e
,
...
...
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