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
wangjie
OpenXG-RAN
Commits
888067c3
Commit
888067c3
authored
May 29, 2018
by
Matthieu Kanj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
d04d2879
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
36 deletions
+36
-36
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+36
-36
No files found.
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
888067c3
...
...
@@ -808,17 +808,15 @@ proc->flag_scrambling =0;
}
}
}
}
}
}
NB_IoT_eNB_NPDCCH_temp_t
*
npdcch_struct
=
&
eNB
->
npdcch_tmp
;
/* NB_IoT_eNB_NPDCCH_temp_t *npdcch_struct = &eNB->npdcch_tmp;
if(subframe==2)
{
printf("\n DCI 2 sentttttt frame %d, subframe %d", frame, subframe);
...
...
@@ -895,8 +893,8 @@ proc->flag_scrambling =0;
proc->next_subframe_tx=2;
}
}
}
}
*/
//
}
if
(
subframe
!=
5
&&
subframe
!=
0
)
{
...
...
@@ -911,7 +909,7 @@ if(subframe !=5 && subframe !=0)
tab_rar
[
3
]
=
67
;
tab_rar
[
4
]
=
64
;
tab_rar
[
5
]
=
0
;
// 16
tab_rar
[
6
]
=
5
;
// 5*/
tab_rar
[
6
]
=
1
;
// 5*/
//T-CRNTI =4101
/* if(proc->remaining_rar == 4)
{
...
...
@@ -984,32 +982,33 @@ if(subframe !=5 && subframe !=0)
}
}
else
{
if
(
((
frame
)
%
2
==
0
)
&&
(
subframe
==
9
))
{
proc
->
next_subframe_tx
=
1
;
proc
->
next_frame_tx
=
proc
->
next_frame_tx
+
1
;
}
else
{
if
(
proc
->
flag_scrambling
==
0
)
{
dlsch_encoding_rar_NB_IoT
(
tab_rar
,
rar
,
8
,
///// number_of_subframes_required
236
,
1
);
//////////// G*2
if
(
((
frame
)
%
2
==
0
)
&&
(
subframe
==
9
))
{
proc
->
next_subframe_tx
=
1
;
proc
->
next_frame_tx
=
proc
->
next_frame_tx
+
1
;
}
else
{
if
(
proc
->
flag_scrambling
==
0
)
{
dlsch_encoding_rar_NB_IoT
(
tab_rar
,
rar
,
8
,
///// number_of_subframes_required
236
,
1
);
//////////// G*2
dlsch_sib_scrambling_rar_NB_IoT
(
fp
,
rar
,
236
,
frame
,
subframe
*
2
,
RA_template
[
0
].
RA_rnti
);
}
proc
->
flag_scrambling
=
1
;
printf
(
"
\n
RAR sentttttt frame %d, subframe %d"
,
frame
,
subframe
);
dlsch_modulation_rar_NB_IoT
(
txdataF
,
dlsch_sib_scrambling_rar_NB_IoT
(
fp
,
rar
,
236
,
frame
,
subframe
*
2
,
RA_template
[
0
].
RA_rnti
);
}
proc
->
flag_scrambling
=
1
;
printf
(
"
\n
RAR sentttttt frame %d, subframe %d"
,
frame
,
subframe
);
dlsch_modulation_rar_NB_IoT
(
txdataF
,
AMP
,
fp
,
3
,
// control region size for LTE , values between 0..3, (0 for stand-alone / 1, 2 or 3 for in-band)
...
...
@@ -1019,9 +1018,9 @@ if(subframe !=5 && subframe !=0)
subframe
,
22
);
proc
->
remaining_rar
--
;
proc
->
next_subframe_tx
=
subframe
+
1
;
}
proc
->
remaining_rar
--
;
proc
->
next_subframe_tx
=
subframe
+
1
;
}
}
...
...
@@ -1029,8 +1028,9 @@ if(subframe !=5 && subframe !=0)
}
}
}
}
/////////////////////////// END ///////////////////////////////////////
...
...
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