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
597c8979
Commit
597c8979
authored
Oct 13, 2023
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improving stat
parent
d1bbbb5d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
+1
-2
openair1/SCHED_NR_UE/phy_procedures_nr_ue_sl.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue_sl.c
+0
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
+4
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+2
-2
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
+1
-1
No files found.
openair1/PHY/NR_TRANSPORT/nr_ulsch_decoding.c
View file @
597c8979
...
...
@@ -475,11 +475,10 @@ int nr_ulsch_decoding(PHY_VARS_gNB *phy_vars_gNB,
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME
(
VCD_SIGNAL_DUMPER_FUNCTIONS_PHY_gNB_ULSCH_DECODING
,
0
);
if
(
harq_process
->
processedSegments
==
harq_process
->
C
)
{
LOG_
D
(
PHY
,
"[%s %d] ULSCH: Setting ACK for slot %d TBS %d
\n
"
,
phy_vars_gNB
?
"gNB"
:
"UE"
,
phy_vars_gNB
?
phy_vars_gNB
->
Mod_id
:
0
,
ulsch
->
slot
,
harq_process
->
TBS
);
LOG_
I
(
NR_
PHY
,
"[%s %d] ULSCH: Setting ACK for slot %d TBS %d
\n
"
,
phy_vars_gNB
?
"gNB"
:
"UE"
,
phy_vars_gNB
?
phy_vars_gNB
->
Mod_id
:
0
,
ulsch
->
slot
,
harq_process
->
TBS
);
ulsch
->
active
=
false
;
harq_process
->
round
=
0
;
LOG_D
(
PHY
,
"ULSCH received ok
\n
"
);
nr_fill_indication
(
phy_vars_gNB
,
ulsch
->
frame
,
ulsch
->
slot
,
ULSCH_id
,
harq_pid
,
0
,
0
);
}
else
{
...
...
openair1/SCHED_NR_UE/phy_procedures_nr_ue_sl.c
View file @
597c8979
...
...
@@ -661,7 +661,6 @@ void psbch_pscch_pssch_processing(PHY_VARS_NR_UE *ue,
pssch_vars
->
DTX
=
0
;
int
totalDecode
=
nr_slsch_procedures
(
ue
,
frame_rx
,
nr_slot_rx
,
0
,
proc
,
phy_data
);
if
(
totalDecode
>
0
)
sl_phy_params
->
pssch
.
rx_ok
++
;
}
}
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures_sl.c
View file @
597c8979
...
...
@@ -589,6 +589,8 @@ void nr_ue_process_mac_sl_pdu(int module_idP,
if
(
!
pduP
){
return
;
}
if
((
rx_ind
->
rx_indication_body
+
pdu_id
)
->
rx_slsch_pdu
.
ack_nack
==
0
)
return
;
LOG_D
(
NR_MAC
,
"In %s : processing PDU %d (with length %d) of %d total number of PDUs...
\n
"
,
__FUNCTION__
,
pdu_id
,
pdu_len
,
rx_ind
->
number_pdus
);
...
...
@@ -597,7 +599,7 @@ void nr_ue_process_mac_sl_pdu(int module_idP,
uint16_t
mac_subheader_len
=
0x0001
;
// default to fixed-length subheader = 1-oct
uint8_t
rx_lcid
=
((
NR_MAC_SUBHEADER_FIXED
*
)
pduP
)
->
LCID
;
LOG_
I
(
NR_MAC
,
"[UE %x] LCID %d, PDU length %d
\n
"
,
mac
->
src_id
,
rx_lcid
,
pdu_len
);
LOG_
D
(
NR_MAC
,
"[UE %x] LCID %d, PDU length %d
\n
"
,
mac
->
src_id
,
rx_lcid
,
pdu_len
);
bool
ret
;
switch
(
rx_lcid
){
// MAC CE
...
...
@@ -635,6 +637,7 @@ void nr_ue_process_mac_sl_pdu(int module_idP,
case
SL_SCH_LCID_SL_INTER_UE_COORD_INFO
:
case
SL_SCH_LCID_SL_DRX_CMD
:
LOG_W
(
NR_MAC
,
"Received unsupported SL LCID %d
\n
"
,
rx_lcid
);
return
;
break
;
}
pduP
+=
(
mac_subheader_len
+
mac_len
);
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
597c8979
...
...
@@ -3259,9 +3259,9 @@ bool nr_ue_sl_pssch_scheduler(NR_UE_MAC_INST_t *mac,
if
(
sl_ind
->
slot_type
!=
SIDELINK_SLOT_TYPE_TX
)
return
false
;
if
(
slot
>
9
&&
get_nrUE_params
()
->
sync_ref
)
return
false
;
/*
if (!get_nrUE_params()->sync_ref) return false;
if
(
slot
<
10
&&
!
get_nrUE_params
()
->
sync_ref
)
return
false
;
/*
if ((frame&127) > 0) return false;
if ((slot % 10) != 6) return false;
...
...
openair2/LAYER2/nr_rlc/nr_rlc_oai_api.c
View file @
597c8979
...
...
@@ -93,7 +93,7 @@ void mac_rlc_data_ind (
}
if
(
rb
!=
NULL
)
{
LOG_
I
(
RLC
,
"RB found! (channel ID %d)
\n
"
,
channel_idP
);
LOG_
D
(
RLC
,
"RB found! (channel ID %d)
\n
"
,
channel_idP
);
rb
->
set_time
(
rb
,
nr_rlc_current_time
);
rb
->
recv_pdu
(
rb
,
buffer_pP
,
tb_sizeP
);
}
else
{
...
...
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