cleanup NR_UL_UE_HARQ_t

This commit is contained in:
francescomani
2025-09-16 09:25:00 +02:00
parent 206c7667e6
commit e0b5880db7
2 changed files with 0 additions and 18 deletions
-1
View File
@@ -484,7 +484,6 @@ void clean_UE_harq(PHY_VARS_NR_UE *UE)
}
for (int harq_pid = 0; harq_pid < NR_MAX_ULSCH_HARQ_PROCESSES; harq_pid++) {
NR_UL_UE_HARQ_t *ul_harq_process = &UE->ul_harq_processes[harq_pid];
ul_harq_process->tx_status = NEW_TRANSMISSION_HARQ;
ul_harq_process->round = 0;
}
}
@@ -38,18 +38,7 @@
#include "nfapi/open-nFAPI/nfapi/public_inc/fapi_nr_ue_interface.h"
#include "../NR_TRANSPORT/nr_transport_common_proto.h"
typedef enum {
NEW_TRANSMISSION_HARQ,
RETRANSMISSION_HARQ
} harq_result_t;
typedef struct {
/// HARQ tx status
harq_result_t tx_status;
/// Last TPC command
uint8_t TPC;
/// Length of ACK information (bits)
uint8_t O_ACK;
/// Index of current HARQ round for this ULSCH
uint8_t round;
/// pointer to pdu from MAC interface (TS 36.212 V15.4.0, Sec 5.1 p. 8)
@@ -66,14 +55,8 @@ typedef struct {
uint32_t C;
/// Number of bits in code segments
uint32_t K;
/// Total number of bits across all segments
uint32_t sumKr;
/// Number of "Filler" bits
uint32_t F;
/// n_DMRS for cyclic shift of DMRS
uint8_t n_DMRS;
/// n_DMRS2 for cyclic shift of DMRS
uint8_t n_DMRS2;
/// Number of soft channel bits
uint32_t G;
// Number of modulated symbols carrying data