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
92e89fa4
Commit
92e89fa4
authored
Nov 19, 2019
by
Nick Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RLC TRACE, optimize log display
parent
43b08e7b
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
25 deletions
+27
-25
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation_NB_IoT.c
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation_NB_IoT.c
+4
-4
openair2/LAYER2/MAC/output_handler_NB_IoT.c
openair2/LAYER2/MAC/output_handler_NB_IoT.c
+1
-1
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.c
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.c
+2
-0
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segment.c
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segment.c
+20
-20
No files found.
openair1/PHY/LTE_TRANSPORT/ulsch_demodulation_NB_IoT.c
View file @
92e89fa4
...
...
@@ -1651,11 +1651,11 @@ uint32_t turbo_decoding_NB_IoT(PHY_VARS_eNB *eNB,
fill_crc_indication_NB_IoT
(
eNB
,
0
,
rx_frame
,
rx_subframe
,
1
);
// indicate ACK to MAC
fill_rx_indication_NB_IoT
(
eNB
,
proc
,
npusch_format
,
1
);
printf
(
"
MSG3 OK
"
);
printf
(
"
NPUSCH OK
\n
"
);
}
else
{
fill_crc_indication_NB_IoT
(
eNB
,
0
,
rx_frame
,
rx_subframe
,
0
);
// indicate NAK to MAC
fill_rx_indication_NB_IoT
(
eNB
,
proc
,
npusch_format
,
0
);
printf
(
"
MSG3 NOT OK
"
);
printf
(
"
NPSUCH NOT OK
\n
"
);
}
}
//////////// r loop end ////////////
...
...
@@ -1794,13 +1794,13 @@ void decode_NPUSCH_msg_NB_IoT(PHY_VARS_eNB *eNB,
{
//fill_crc_indication_NB_IoT(eNB,0,rx_frame,rx_subframe,1); // indicate ACK to MAC
fill_rx_indication_NB_IoT
(
eNB
,
proc
,
npusch_format
,
1
);
printf
(
" decoded
msg5: ACK
"
);
printf
(
" decoded
ACK of msg4: ACK
\n
"
);
}
else
if
(
counter_ack
<
8
)
{
//hard decision
//fill_crc_indication_NB_IoT(eNB,0,rx_frame,rx_subframe,0); // indicate NAK to MAC
fill_rx_indication_NB_IoT
(
eNB
,
proc
,
npusch_format
,
0
);
printf
(
" decoded
msg5: NACK
"
);
printf
(
" decoded
ACK of msg4: NACK
\n
"
);
}
else
{
//when equality (8 bits 0 vs 8 bits 1), soft decision
...
...
openair2/LAYER2/MAC/output_handler_NB_IoT.c
View file @
92e89fa4
...
...
@@ -110,7 +110,7 @@ int output_handler(eNB_MAC_INST_NB_IoT *mac_inst, module_id_t module_id, int CC_
else
if
(
SIB1_flag
==
1
)
// SIB1 flag, calculated by scheduler
{
// get SIB1 PDU from carrier and updated by time
uint8_t
*
SIB1_pdu
=
get_NB_IoT_SIB1
(
0
,
0
,
carrier
,
208
,
9
2
,
1
,
3584
,
28
,
2
,
subframe
,
frame
,
hypersfn
);
uint8_t
*
SIB1_pdu
=
get_NB_IoT_SIB1
(
0
,
0
,
carrier
,
208
,
9
3
,
1
,
3584
,
28
,
2
,
subframe
,
frame
,
hypersfn
);
// get the size of SIB1
SIB1_size
=
get_NB_IoT_SIB1_size
();
dl_config_pdu
=
SCHED_info
->
DL_req
->
dl_config_request_body
.
dl_config_pdu_list
;
...
...
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am.c
View file @
92e89fa4
...
...
@@ -455,6 +455,7 @@ rlc_am_get_pdus (
// THEN TRY TO SEND RETRANS PDU
if
((
rlc_pP
->
retrans_num_bytes_to_retransmit
)
&&
(
rlc_pP
->
nb_bytes_requested_by_mac
>
2
))
{
LOG_I
(
RLC
,
"[NB-IoT] RLC SEND RETRANS DATA PDU
\n
"
);
/* Get 1 AM data PDU or PDU segment to retransmit */
mem_block_t
*
pdu_retx
=
rlc_am_get_pdu_to_retransmit
(
ctxt_pP
,
rlc_pP
);
...
...
@@ -468,6 +469,7 @@ rlc_am_get_pdus (
// THEN TRY TO SEND NEW DATA PDU
if
((
rlc_pP
->
nb_bytes_requested_by_mac
>
2
)
&&
(
rlc_pP
->
sdu_buffer_occupancy
)
&&
(
rlc_pP
->
vt_s
!=
rlc_pP
->
vt_ms
))
{
LOG_I
(
RLC
,
"[NB-IoT] RLC SEND NEW DATA PDU
\n
"
);
rlc_am_segment_10
(
ctxt_pP
,
rlc_pP
);
list_add_list
(
&
rlc_pP
->
segmentation_pdu_list
,
&
rlc_pP
->
pdus_to_mac_layer
);
...
...
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_segment.c
View file @
92e89fa4
This diff is collapsed.
Click to expand it.
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