Fixed UL MAC Bug

master
Xavier Arteaga 7 years ago
parent b73b29ff9e
commit 872a92abbc

@ -145,8 +145,13 @@ public:
private: private:
class ul_harq_process { class ul_harq_process {
public: public:
ul_harq_process() ul_harq_process() {
{ pid = 0;
harq_feedback = false;
log_h = NULL;
bzero(&softbuffer, sizeof(srslte_softbuffer_tx_t));
is_msg3 = false;
pdu_ptr = NULL;
current_tx_nb = 0; current_tx_nb = 0;
current_irv = 0; current_irv = 0;
is_initiated = false; is_initiated = false;
@ -329,7 +334,7 @@ private:
// HARQ entity requests an adaptive transmission // HARQ entity requests an adaptive transmission
if (grant) { if (grant) {
if (grant->rv) { if (grant->rv[0]) {
current_irv = irv_of_rv[grant->rv[0]%4]; current_irv = irv_of_rv[grant->rv[0]%4];
} }

Loading…
Cancel
Save