|
|
@ -84,20 +84,20 @@ public:
|
|
|
|
harq_pid = grant.pid%N;
|
|
|
|
harq_pid = grant.pid%N;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (grant.rnti_type == SRSLTE_RNTI_TEMP && last_temporal_crnti != grant.rnti) {
|
|
|
|
if (grant.rnti_type == SRSLTE_RNTI_TEMP && last_temporal_crnti != grant.rnti) {
|
|
|
|
grant.ndi = true;
|
|
|
|
grant.ndi[0] = true;
|
|
|
|
Info("Set NDI=1 for Temp-RNTI DL grant\n");
|
|
|
|
Info("Set NDI=1 for Temp-RNTI DL grant\n");
|
|
|
|
last_temporal_crnti = grant.rnti;
|
|
|
|
last_temporal_crnti = grant.rnti;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (grant.rnti_type == SRSLTE_RNTI_USER && proc[harq_pid].is_sps()) {
|
|
|
|
if (grant.rnti_type == SRSLTE_RNTI_USER && proc[harq_pid].is_sps()) {
|
|
|
|
grant.ndi = true;
|
|
|
|
grant.ndi[0] = true;
|
|
|
|
Info("Set NDI=1 for C-RNTI DL grant\n");
|
|
|
|
Info("Set NDI=1 for C-RNTI DL grant\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
proc[harq_pid].new_grant_dl(grant, action);
|
|
|
|
proc[harq_pid].new_grant_dl(grant, action);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
/* This is for SPS scheduling */
|
|
|
|
/* This is for SPS scheduling */
|
|
|
|
uint32_t harq_pid = get_harq_sps_pid(grant.tti)%N;
|
|
|
|
uint32_t harq_pid = get_harq_sps_pid(grant.tti)%N;
|
|
|
|
if (grant.ndi) {
|
|
|
|
if (grant.ndi[0]) {
|
|
|
|
grant.ndi = false;
|
|
|
|
grant.ndi[0] = false;
|
|
|
|
proc[harq_pid].new_grant_dl(grant, action);
|
|
|
|
proc[harq_pid].new_grant_dl(grant, action);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (grant.is_sps_release) {
|
|
|
|
if (grant.is_sps_release) {
|
|
|
@ -117,12 +117,12 @@ public:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void tb_decoded(bool ack, srslte_rnti_type_t rnti_type, uint32_t harq_pid)
|
|
|
|
void tb_decoded(bool ack, uint32_t tb_idx, srslte_rnti_type_t rnti_type, uint32_t harq_pid)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (rnti_type == SRSLTE_RNTI_SI) {
|
|
|
|
if (rnti_type == SRSLTE_RNTI_SI) {
|
|
|
|
proc[N].tb_decoded(ack);
|
|
|
|
proc[N].tb_decoded(ack, 0);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
proc[harq_pid%N].tb_decoded(ack);
|
|
|
|
proc[harq_pid%N].tb_decoded(ack, tb_idx);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -137,7 +137,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
void start_pcap(srslte::mac_pcap* pcap_) { pcap = pcap_; }
|
|
|
|
void start_pcap(srslte::mac_pcap* pcap_) { pcap = pcap_; }
|
|
|
|
|
|
|
|
|
|
|
|
int get_current_tbs(uint32_t harq_pid) { return proc[harq_pid%N].get_current_tbs(); }
|
|
|
|
int get_current_tbs(uint32_t harq_pid, uint32_t tb_idx) { return proc[harq_pid%N].get_current_tbs(tb_idx); }
|
|
|
|
|
|
|
|
|
|
|
|
void set_si_window_start(int si_window_start_) { si_window_start = si_window_start_; }
|
|
|
|
void set_si_window_start(int si_window_start_) { si_window_start = si_window_start_; }
|
|
|
|
|
|
|
|
|
|
|
@ -146,15 +146,50 @@ public:
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
class dl_harq_process {
|
|
|
|
class dl_harq_process {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
dl_harq_process()
|
|
|
|
dl_harq_process() : subproc(SRSLTE_MAX_TB) {
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool init(uint32_t pid_, dl_harq_entity *parent) {
|
|
|
|
|
|
|
|
bool ret = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (uint32_t tb = 0; tb < SRSLTE_MAX_TB; tb++) {
|
|
|
|
|
|
|
|
ret &= subproc[tb].init(pid_, parent, tb);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void reset(void) {
|
|
|
|
|
|
|
|
for (uint32_t tb = 0; tb < SRSLTE_MAX_TB; tb++) {
|
|
|
|
|
|
|
|
subproc[tb].reset();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void new_grant_dl(Tgrant grant, Taction *action) {
|
|
|
|
|
|
|
|
for (uint32_t tb = 0; tb < grant.phy_grant.dl.nof_tb; tb++) {
|
|
|
|
|
|
|
|
subproc[tb].new_grant_dl(grant, action);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int get_current_tbs(uint32_t tb_idx) { return subproc[tb_idx].get_current_tbs(); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool is_sps() { return false; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void tb_decoded(bool ack_, uint32_t tb_idx) {
|
|
|
|
|
|
|
|
subproc[tb_idx].tb_decoded(ack_);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
class dl_tb_process {
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
dl_tb_process(void) {
|
|
|
|
is_initiated = false;
|
|
|
|
is_initiated = false;
|
|
|
|
ack = false;
|
|
|
|
ack = false;
|
|
|
|
bzero(&cur_grant, sizeof(Tgrant));
|
|
|
|
bzero(&cur_grant, sizeof(Tgrant));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool init(uint32_t pid_, dl_harq_entity *parent)
|
|
|
|
bool init(uint32_t pid_, dl_harq_entity *parent, uint32_t tb_idx) {
|
|
|
|
{
|
|
|
|
tid = tb_idx;
|
|
|
|
if (srslte_softbuffer_rx_init(&softbuffer, 110)) {
|
|
|
|
if (srslte_softbuffer_rx_init(&softbuffer, 110)) {
|
|
|
|
Error("Error initiating soft buffer\n");
|
|
|
|
Error("Error initiating soft buffer\n");
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
@ -167,8 +202,7 @@ private:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void reset()
|
|
|
|
void reset(void) {
|
|
|
|
{
|
|
|
|
|
|
|
|
ack = false;
|
|
|
|
ack = false;
|
|
|
|
payload_buffer_ptr = NULL;
|
|
|
|
payload_buffer_ptr = NULL;
|
|
|
|
bzero(&cur_grant, sizeof(Tgrant));
|
|
|
|
bzero(&cur_grant, sizeof(Tgrant));
|
|
|
@ -177,28 +211,27 @@ private:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void new_grant_dl(Tgrant grant, Taction *action)
|
|
|
|
void new_grant_dl(Tgrant grant, Taction *action) {
|
|
|
|
{
|
|
|
|
|
|
|
|
// Compute RV for BCCH when not specified in PDCCH format
|
|
|
|
// Compute RV for BCCH when not specified in PDCCH format
|
|
|
|
if (pid == HARQ_BCCH_PID && grant.rv == -1) {
|
|
|
|
if (pid == HARQ_BCCH_PID && grant.rv[tid] == -1) {
|
|
|
|
uint32_t k;
|
|
|
|
uint32_t k;
|
|
|
|
if ((grant.tti/10)%2 == 0 && grant.tti%10 == 5) { // This is SIB1, k is different
|
|
|
|
if ((grant.tti / 10) % 2 == 0 && grant.tti % 10 == 5) { // This is SIB1, k is different
|
|
|
|
k = (grant.tti/20)%4;
|
|
|
|
k = (grant.tti / 20) % 4;
|
|
|
|
grant.rv = ((uint32_t) ceilf((float)1.5*k))%4;
|
|
|
|
grant.rv[tid] = ((uint32_t) ceilf((float) 1.5 * k)) % 4;
|
|
|
|
} else if (grant.rv == -1) {
|
|
|
|
} else if (grant.rv[tid] == -1) {
|
|
|
|
k = (grant.tti-harq_entity->si_window_start)%4;
|
|
|
|
k = (grant.tti - harq_entity->si_window_start) % 4;
|
|
|
|
grant.rv = ((uint32_t) ceilf((float)1.5*k))%4;
|
|
|
|
grant.rv[tid] = ((uint32_t) ceilf((float) 1.5 * k)) % 4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
calc_is_new_transmission(grant);
|
|
|
|
calc_is_new_transmission(grant);
|
|
|
|
if (is_new_transmission) {
|
|
|
|
if (is_new_transmission) {
|
|
|
|
ack = false;
|
|
|
|
ack = false;
|
|
|
|
srslte_softbuffer_rx_reset_tbs(&softbuffer, cur_grant.n_bytes*8);
|
|
|
|
srslte_softbuffer_rx_reset_tbs(&softbuffer, cur_grant.n_bytes[tid] * 8);
|
|
|
|
n_retx = 0;
|
|
|
|
n_retx = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Save grant
|
|
|
|
// Save grant
|
|
|
|
grant.last_ndi = cur_grant.ndi;
|
|
|
|
grant.last_ndi[tid] = cur_grant.ndi[tid];
|
|
|
|
grant.last_tti = cur_grant.tti;
|
|
|
|
grant.last_tti = cur_grant.tti;
|
|
|
|
memcpy(&cur_grant, &grant, sizeof(Tgrant));
|
|
|
|
memcpy(&cur_grant, &grant, sizeof(Tgrant));
|
|
|
|
|
|
|
|
|
|
|
@ -209,20 +242,21 @@ private:
|
|
|
|
action->decode_enabled = false;
|
|
|
|
action->decode_enabled = false;
|
|
|
|
|
|
|
|
|
|
|
|
// If data has not yet been successfully decoded
|
|
|
|
// If data has not yet been successfully decoded
|
|
|
|
if (ack == false) {
|
|
|
|
if (!ack) {
|
|
|
|
|
|
|
|
|
|
|
|
// Instruct the PHY To combine the received data and attempt to decode it
|
|
|
|
// Instruct the PHY To combine the received data and attempt to decode it
|
|
|
|
payload_buffer_ptr = harq_entity->demux_unit->request_buffer(pid, cur_grant.n_bytes);
|
|
|
|
payload_buffer_ptr = harq_entity->demux_unit->request_buffer(pid * SRSLTE_MAX_TB + tid,
|
|
|
|
action->payload_ptr = payload_buffer_ptr;
|
|
|
|
cur_grant.n_bytes[tid]);
|
|
|
|
|
|
|
|
action->payload_ptr[tid] = payload_buffer_ptr;
|
|
|
|
if (!action->payload_ptr) {
|
|
|
|
if (!action->payload_ptr) {
|
|
|
|
action->decode_enabled = false;
|
|
|
|
action->decode_enabled = false;
|
|
|
|
Error("Can't get a buffer for TBS=%d\n", cur_grant.n_bytes);
|
|
|
|
Error("Can't get a buffer for TBS=%d\n", cur_grant.n_bytes[tid]);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
action->decode_enabled = true;
|
|
|
|
action->decode_enabled = true;
|
|
|
|
action->rv = cur_grant.rv;
|
|
|
|
action->rv[tid] = cur_grant.rv[tid];
|
|
|
|
action->rnti = cur_grant.rnti;
|
|
|
|
action->rnti = cur_grant.rnti;
|
|
|
|
action->softbuffer = &softbuffer;
|
|
|
|
action->softbuffers[tid] = &softbuffer;
|
|
|
|
memcpy(&action->phy_grant, &cur_grant.phy_grant, sizeof(Tphygrant));
|
|
|
|
memcpy(&action->phy_grant, &cur_grant.phy_grant, sizeof(Tphygrant));
|
|
|
|
n_retx++;
|
|
|
|
n_retx++;
|
|
|
|
|
|
|
|
|
|
|
@ -235,7 +269,7 @@ private:
|
|
|
|
Debug("Not generating ACK\n");
|
|
|
|
Debug("Not generating ACK\n");
|
|
|
|
action->generate_ack = false;
|
|
|
|
action->generate_ack = false;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (cur_grant.rnti_type == SRSLTE_RNTI_TEMP && ack == false) {
|
|
|
|
if (cur_grant.rnti_type == SRSLTE_RNTI_TEMP && !ack) {
|
|
|
|
// Postpone ACK after contention resolution is resolved
|
|
|
|
// Postpone ACK after contention resolution is resolved
|
|
|
|
action->generate_ack_callback = harq_entity->generate_ack_callback;
|
|
|
|
action->generate_ack_callback = harq_entity->generate_ack_callback;
|
|
|
|
action->generate_ack_callback_arg = harq_entity->demux_unit;
|
|
|
|
action->generate_ack_callback_arg = harq_entity->demux_unit;
|
|
|
@ -246,30 +280,35 @@ private:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void tb_decoded(bool ack_)
|
|
|
|
|
|
|
|
{
|
|
|
|
void tb_decoded(bool ack_) {
|
|
|
|
ack = ack_;
|
|
|
|
ack = ack_;
|
|
|
|
if (ack == true) {
|
|
|
|
if (ack) {
|
|
|
|
if (pid == HARQ_BCCH_PID) {
|
|
|
|
if (pid == HARQ_BCCH_PID) {
|
|
|
|
if (harq_entity->pcap) {
|
|
|
|
if (harq_entity->pcap) {
|
|
|
|
harq_entity->pcap->write_dl_sirnti(payload_buffer_ptr, cur_grant.n_bytes, ack, cur_grant.tti);
|
|
|
|
harq_entity->pcap->write_dl_sirnti(payload_buffer_ptr, cur_grant.n_bytes[tid], ack, cur_grant.tti);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Debug("Delivering PDU=%d bytes to Dissassemble and Demux unit (BCCH)\n", cur_grant.n_bytes);
|
|
|
|
Debug("Delivering PDU=%d bytes to Dissassemble and Demux unit (BCCH)\n", cur_grant.n_bytes[tid]);
|
|
|
|
harq_entity->demux_unit->push_pdu(pid, payload_buffer_ptr, cur_grant.n_bytes, cur_grant.tti);
|
|
|
|
harq_entity->demux_unit->push_pdu(pid * SRSLTE_MAX_TB + tid, payload_buffer_ptr, cur_grant.n_bytes[tid],
|
|
|
|
|
|
|
|
cur_grant.tti);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
if (harq_entity->pcap) {
|
|
|
|
if (harq_entity->pcap) {
|
|
|
|
harq_entity->pcap->write_dl_crnti(payload_buffer_ptr, cur_grant.n_bytes, cur_grant.rnti, ack, cur_grant.tti);
|
|
|
|
harq_entity->pcap->write_dl_crnti(payload_buffer_ptr, cur_grant.n_bytes[tid], cur_grant.rnti, ack,
|
|
|
|
|
|
|
|
cur_grant.tti);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (ack) {
|
|
|
|
if (ack) {
|
|
|
|
if (cur_grant.rnti_type == SRSLTE_RNTI_TEMP) {
|
|
|
|
if (cur_grant.rnti_type == SRSLTE_RNTI_TEMP) {
|
|
|
|
Debug("Delivering PDU=%d bytes to Dissassemble and Demux unit (Temporal C-RNTI)\n", cur_grant.n_bytes);
|
|
|
|
Debug("Delivering PDU=%d bytes to Dissassemble and Demux unit (Temporal C-RNTI)\n",
|
|
|
|
harq_entity->demux_unit->push_pdu_temp_crnti(payload_buffer_ptr, cur_grant.n_bytes);
|
|
|
|
cur_grant.n_bytes[tid]);
|
|
|
|
|
|
|
|
harq_entity->demux_unit->push_pdu_temp_crnti(payload_buffer_ptr, cur_grant.n_bytes[tid]);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
Debug("Delivering PDU=%d bytes to Dissassemble and Demux unit\n", cur_grant.n_bytes);
|
|
|
|
Debug("Delivering PDU=%d bytes to Dissassemble and Demux unit\n", cur_grant.n_bytes[tid]);
|
|
|
|
harq_entity->demux_unit->push_pdu(pid, payload_buffer_ptr, cur_grant.n_bytes, cur_grant.tti);
|
|
|
|
harq_entity->demux_unit->push_pdu(pid * SRSLTE_MAX_TB + tid, payload_buffer_ptr, cur_grant.n_bytes[tid],
|
|
|
|
|
|
|
|
cur_grant.tti);
|
|
|
|
|
|
|
|
|
|
|
|
// Compute average number of retransmissions per packet
|
|
|
|
// Compute average number of retransmissions per packet
|
|
|
|
harq_entity->average_retx = SRSLTE_VEC_CMA((float) n_retx, harq_entity->average_retx, harq_entity->nof_pkts++);
|
|
|
|
harq_entity->average_retx = SRSLTE_VEC_CMA((float) n_retx, harq_entity->average_retx,
|
|
|
|
|
|
|
|
harq_entity->nof_pkts++);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -277,33 +316,29 @@ private:
|
|
|
|
harq_entity->demux_unit->deallocate(payload_buffer_ptr);
|
|
|
|
harq_entity->demux_unit->deallocate(payload_buffer_ptr);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Info("DL %d: %s tbs=%d, rv=%d, ack=%s, ndi=%d (%d), tti=%d (%d)\n",
|
|
|
|
Info("DL %d (TB %d): %s tbs=%d, rv=%d, ack=%s, ndi=%d (%d), tti=%d (%d)\n",
|
|
|
|
pid, is_new_transmission?"newTX":"reTX ",
|
|
|
|
pid, tid, is_new_transmission ? "newTX" : "reTX ",
|
|
|
|
cur_grant.n_bytes, cur_grant.rv, ack?"OK":"KO",
|
|
|
|
cur_grant.n_bytes[tid], cur_grant.rv[tid], ack ? "OK" : "KO",
|
|
|
|
cur_grant.ndi, cur_grant.last_ndi, cur_grant.tti, cur_grant.last_tti);
|
|
|
|
cur_grant.ndi[tid], cur_grant.last_ndi, cur_grant.tti, cur_grant.last_tti);
|
|
|
|
|
|
|
|
|
|
|
|
if (ack && pid == HARQ_BCCH_PID) {
|
|
|
|
if (ack && pid == HARQ_BCCH_PID) {
|
|
|
|
reset();
|
|
|
|
reset();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool is_sps() { return false; }
|
|
|
|
int get_current_tbs(void) { return cur_grant.n_bytes[tid] * 8; }
|
|
|
|
|
|
|
|
|
|
|
|
int get_current_tbs() { return cur_grant.n_bytes*8; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
bool calc_is_new_transmission(Tgrant grant)
|
|
|
|
bool calc_is_new_transmission(Tgrant grant) {
|
|
|
|
{
|
|
|
|
|
|
|
|
bool is_new_tb = true;
|
|
|
|
bool is_new_tb = true;
|
|
|
|
if ((srslte_tti_interval(grant.tti, cur_grant.tti) <= 8 && (grant.n_bytes == cur_grant.n_bytes)) ||
|
|
|
|
if ((srslte_tti_interval(grant.tti, cur_grant.tti) <= 8 && (grant.n_bytes[tid] == cur_grant.n_bytes[tid])) ||
|
|
|
|
pid == HARQ_BCCH_PID)
|
|
|
|
pid == HARQ_BCCH_PID) {
|
|
|
|
{
|
|
|
|
|
|
|
|
is_new_tb = false;
|
|
|
|
is_new_tb = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ((grant.ndi != cur_grant.ndi && !is_new_tb) || // NDI toggled for same TB
|
|
|
|
if ((grant.ndi[tid] != cur_grant.ndi[tid] && !is_new_tb) || // NDI toggled for same TB
|
|
|
|
is_new_tb || // is new TB
|
|
|
|
is_new_tb || // is new TB
|
|
|
|
(pid == HARQ_BCCH_PID && grant.rv == 0)) // Broadcast PID and 1st TX (RV=0)
|
|
|
|
(pid == HARQ_BCCH_PID && grant.rv[tid] == 0)) // Broadcast PID and 1st TX (RV=0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
is_new_transmission = true;
|
|
|
|
is_new_transmission = true;
|
|
|
|
Debug("Set HARQ for new transmission\n");
|
|
|
|
Debug("Set HARQ for new transmission\n");
|
|
|
@ -321,7 +356,8 @@ private:
|
|
|
|
|
|
|
|
|
|
|
|
bool is_new_transmission;
|
|
|
|
bool is_new_transmission;
|
|
|
|
|
|
|
|
|
|
|
|
uint32_t pid;
|
|
|
|
uint32_t pid; /* HARQ Proccess ID */
|
|
|
|
|
|
|
|
uint32_t tid; /* Transport block ID */
|
|
|
|
uint8_t *payload_buffer_ptr;
|
|
|
|
uint8_t *payload_buffer_ptr;
|
|
|
|
bool ack;
|
|
|
|
bool ack;
|
|
|
|
|
|
|
|
|
|
|
@ -331,6 +367,9 @@ private:
|
|
|
|
srslte_softbuffer_rx_t softbuffer;
|
|
|
|
srslte_softbuffer_rx_t softbuffer;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Transport blocks */
|
|
|
|
|
|
|
|
std::vector<dl_tb_process> subproc;
|
|
|
|
|
|
|
|
};
|
|
|
|
// Private members of dl_harq_entity
|
|
|
|
// Private members of dl_harq_entity
|
|
|
|
|
|
|
|
|
|
|
|
static bool generate_ack_callback(void *arg)
|
|
|
|
static bool generate_ack_callback(void *arg)
|
|
|
|