mirror of https://github.com/PentHertz/srsLTE.git
mac_nr,ue: don't decode RAR PDU that couldn't be decoded
ignore RAR PDU when PDSCH wasn't OK
This commit is contained in:
parent
c7d29f4af1
commit
9d6d437ba5
|
@ -297,7 +297,9 @@ void mac_nr::tb_decoded(const uint32_t cc_idx, const mac_nr_grant_dl_t& grant, t
|
|||
write_pcap(cc_idx, grant, result);
|
||||
|
||||
if (proc_ra.has_rar_rnti() && grant.rnti == proc_ra.get_rar_rnti()) {
|
||||
if (result.ack && result.payload != nullptr) {
|
||||
proc_ra.handle_rar_pdu(result);
|
||||
}
|
||||
} else {
|
||||
// Assert HARQ entity
|
||||
if (dl_harq.at(cc_idx) == nullptr) {
|
||||
|
|
Loading…
Reference in New Issue