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
ZhouShuya
OpenXG-RAN
Commits
9fcf57b9
Commit
9fcf57b9
authored
Mar 05, 2019
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revise msg4 pdu
parent
143aaaa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair2/LAYER2/MAC/eNB_scheduler_ulsch_NB_IoT.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch_NB_IoT.c
+5
-5
No files found.
openair2/LAYER2/MAC/eNB_scheduler_ulsch_NB_IoT.c
View file @
9fcf57b9
...
...
@@ -223,10 +223,10 @@ void rx_sdu_NB_IoT(module_id_t module_id, int CC_id, frame_t frame, sub_frame_t
uint8_t
*
msg4_rrc_pdu
=
NULL
;
LOG_D
(
MAC
,
"RX_SDU_IN
\n
"
);
uint8_t
*
first_6
=
(
uint8_t
*
)
malloc
(
6
*
sizeof
(
uint8_t
));
//
uint8_t* first_6 = (uint8_t*) malloc(6*sizeof(uint8_t));
for
(
int
a
=
0
;
a
<
6
;
a
++
)
first_6
[
a
]
=
sdu
[
a
];
//
for(int a = 0; a<6;a++)
//
first_6[a]=sdu[a];
//mac_inst = get_mac_inst(module_id);
// note: if lcid < 25 this is sdu, otherwise this is CE
...
...
@@ -275,8 +275,8 @@ void rx_sdu_NB_IoT(module_id_t module_id, int CC_id, frame_t frame, sub_frame_t
rx_lengths
[
i
]
-=
1
;
LOG_D
(
MAC
,
"rx_lengths : %d
\n
"
,
rx_lengths
[
i
]);
msg4_rrc_pdu
=
mac_rrc_msg3_ind_NB_IoT
(
payload_ptr
,
rnti
,
rx_lengths
[
i
]);
receive_msg3_NB_IoT
(
mac_inst
,
rnti
,
PHR
,
DVI_index
,
first_6
,
msg4_rrc_pdu
);
LOG_
I
(
MAC
,
"recieve msg3 Successfully at MAC!
\n
"
);
receive_msg3_NB_IoT
(
mac_inst
,
rnti
,
PHR
,
DVI_index
,
payload_ptr
,
msg4_rrc_pdu
);
LOG_
D
(
MAC
,
"recieve msg3 Successfully at MAC!
\n
"
);
//NB_IoT_mac_rrc_data_ind(payload_ptr,mac_inst,rnti);
//NB_IoT_receive_msg3(mac_inst,rnti,PHR,ul_total_buffer);
break
;
...
...
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