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
aaaa5a97
Commit
aaaa5a97
authored
Feb 18, 2019
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug
parent
7e6ffd49
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
openair1/PHY/LTE_TRANSPORT/SIB_NB_IoT.c
openair1/PHY/LTE_TRANSPORT/SIB_NB_IoT.c
+2
-1
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
+10
-10
No files found.
openair1/PHY/LTE_TRANSPORT/SIB_NB_IoT.c
View file @
aaaa5a97
...
...
@@ -221,8 +221,9 @@ int generate_NDLSCH_NB_IoT(PHY_VARS_eNB *eNB,
{
uint8_t
*
RAR_pdu
=
RAR
->
harq_process
->
pdu
;
// TODO: process the RAR PDU to get the subcarrier indication for NPUSCH , Then set value in NPUSCH
if
(
RAR
->
active_msg2
==
1
)
if
(
RAR
->
active_msg2
==
1
&&
RAR_pdu
!=
NULL
)
{
//printf("RAR PDU = %p\n",RAR_pdu);
uint8_t
one_byte
=
RAR_pdu
[
2
]
>>
3
;
uint8_t
subcarrier_spacing
=
one_byte
&
0x01
;
eNB
->
ulsch_NB_IoT
[
0
]
->
harq_process
->
subcarrier_spacing
=
subcarrier_spacing
;
...
...
openair1/SCHED/IF_Module_L1_primitives_NB_IoT.c
View file @
aaaa5a97
...
...
@@ -240,20 +240,20 @@ void handle_nfapi_dlsch_pdu_NB_IoT(PHY_VARS_eNB *eNB,
ndlsch
->
npdsch_start_symbol
=
rel13
->
start_symbol
;
ndlsch_harq
->
pdu
=
sdu
;
ndlsch
->
active
=
1
;
//
ndlsch->active = 1;
eNB
->
ndlsch_RAR
->
rnti
=
rel13
->
rnti
;
// how this value is tested in line 177 ???? i am missing something ????
ndlsch
->
rnti
=
rel13
->
rnti
;
// how this value is tested in line 177 ???? i am missing something ????
eNB
->
ndlsch_RAR
->
rnti_type
=
rel13
->
rnti_type
;
eNB
->
ndlsch_RAR
->
resource_assignment
=
rel13
->
resource_assignment
;
// for NDLSCH // this value point to --> number of subframes needed
eNB
->
ndlsch_RAR
->
repetition_number
=
Irep_to_Nrep_x
[
rel13
->
repetition_number
];
eNB
->
ndlsch_RAR
->
modulation
=
rel13
->
modulation
;
ndlsch
->
rnti_type
=
rel13
->
rnti_type
;
ndlsch
->
resource_assignment
=
rel13
->
resource_assignment
;
// for NDLSCH // this value point to --> number of subframes needed
ndlsch
->
repetition_number
=
Irep_to_Nrep_x
[
rel13
->
repetition_number
];
ndlsch
->
modulation
=
rel13
->
modulation
;
eNB
->
ndlsch_RAR
->
number_of_subframes_for_resource_assignment
=
rel13
->
number_of_subframes_for_resource_assignment
;
// for NDLSCH //table 16.4.1.3-1 // TS 36.213
ndlsch
->
number_of_subframes_for_resource_assignment
=
rel13
->
number_of_subframes_for_resource_assignment
;
// for NDLSCH //table 16.4.1.3-1 // TS 36.213
eNB
->
ndlsch_RAR
->
counter_repetition_number
=
Irep_to_Nrep_x
[
rel13
->
repetition_number
];
eNB
->
ndlsch_RAR
->
counter_current_sf_repetition
=
0
;
eNB
->
ndlsch_RAR
->
pointer_to_subframe
=
0
;
ndlsch
->
counter_repetition_number
=
Irep_to_Nrep_x
[
rel13
->
repetition_number
];
ndlsch
->
counter_current_sf_repetition
=
0
;
ndlsch
->
pointer_to_subframe
=
0
;
}
}
...
...
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