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
spbro
OpenXG-RAN
Commits
2f05261f
Commit
2f05261f
authored
Apr 17, 2024
by
Laurent THOMAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reject packets of 0's
parent
4bca8250
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
+15
-0
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
+1
-1
No files found.
openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_decoding.c
View file @
2f05261f
...
...
@@ -119,7 +119,22 @@ static bool nr_ue_postDecode(PHY_VARS_NR_UE *phy_vars_ue,
LOG_D
(
PHY
,
"DLSCH received nok
\n
"
);
return
true
;
//stop
}
const
int
sz
=
A
/
8
;
if
(
b
[
sz
]
==
0
&&
b
[
sz
+
1
]
==
0
)
{
// We search only a reccuring OAI error that propagates all 0 packets with a 0 CRC, so we
// do the check only if the 2 first bytes of the CRC are 0 (it can be CRC16 or CRC24)
int
i
=
0
;
while
(
b
[
i
]
==
0
&&
i
<
sz
)
i
++
;
if
(
i
==
sz
)
{
LOG_E
(
PHY
,
"received all 0 pdu, consider it false reception, even if the TS 38.212 7.2.1 says only we should attach the "
"corresponding CRC, and nothing prevents to have a all 0 packet
\n
"
);
dlsch
->
last_iteration_cnt
=
dlsch
->
max_ldpc_iterations
+
1
;
return
true
;
// stop
}
}
}
//LOG_D(PHY,"[UE %d] DLSCH: Setting ACK for nr_slot_rx %d TBS %d mcs %d nb_rb %d harq_process->round %d\n",
// phy_vars_ue->Mod_id,nr_slot_rx,harq_process->TBS,harq_process->mcs,harq_process->nb_rb, harq_process->round);
harq_process
->
status
=
SCH_IDLE
;
...
...
openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
View file @
2f05261f
...
...
@@ -173,7 +173,7 @@ void nr_fill_rx_indication(fapi_nr_rx_indication_t *rx_ind,
}
}
break
;
case
FAPI_NR_CSIRS_IND
:
memcpy
(
&
rx
->
csirs_measurements
,
(
fapi_nr_csirs_measurements_t
*
)
typeSpecific
,
sizeof
(
fapi_nr_csirs_measurements_t
));
memcpy
(
&
rx
->
csirs_measurements
,
typeSpecific
,
sizeof
(
fapi_nr_csirs_measurements_t
));
break
;
default:
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