fix bug in WORKER_DISABLE
This commit is contained in:
@@ -477,9 +477,10 @@ void nr_feptx_prec(RU_t *ru,int frame_tx,int tti_tx) {
|
|||||||
memcpy((void*)ru->common.txdataF[i],
|
memcpy((void*)ru->common.txdataF[i],
|
||||||
(void*)&gNB->common_vars.txdataF[i][txdataF_offset],
|
(void*)&gNB->common_vars.txdataF[i][txdataF_offset],
|
||||||
fp->samples_per_slot_wCP*sizeof(int32_t));
|
fp->samples_per_slot_wCP*sizeof(int32_t));
|
||||||
memcpy((void*)&ru->common.beam_id[i][slot_tx*fp->symbols_per_slot],
|
if (ru->do_precoding == 1)
|
||||||
(void*)&gNB->common_vars.beam_id[i][slot_tx*fp->symbols_per_slot],
|
memcpy((void*)&ru->common.beam_id[i][slot_tx*fp->symbols_per_slot],
|
||||||
fp->symbols_per_slot*sizeof(uint8_t));
|
(void*)&gNB->common_vars.beam_id[i][slot_tx*fp->symbols_per_slot],
|
||||||
|
fp->symbols_per_slot*sizeof(uint8_t));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ru->nb_tx == 1 && ru->nb_log_antennas == 1) {
|
if (ru->nb_tx == 1 && ru->nb_log_antennas == 1) {
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
* contact@openairinterface.org
|
* contact@openairinterface.org
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define _GNU_SOURCE
|
||||||
#include "nr_pdcp_timer_thread.h"
|
#include "nr_pdcp_timer_thread.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -33,6 +34,7 @@ static volatile uint64_t timer_thread_curtime = 0;
|
|||||||
|
|
||||||
static void *nr_pdcp_timer_thread(void *_nr_pdcp_ue_manager)
|
static void *nr_pdcp_timer_thread(void *_nr_pdcp_ue_manager)
|
||||||
{
|
{
|
||||||
|
pthread_setname_np(pthread_self(),"pdcp_timer");
|
||||||
nr_pdcp_ue_manager_t *nr_pdcp_ue_manager = (nr_pdcp_ue_manager_t *)_nr_pdcp_ue_manager;
|
nr_pdcp_ue_manager_t *nr_pdcp_ue_manager = (nr_pdcp_ue_manager_t *)_nr_pdcp_ue_manager;
|
||||||
nr_pdcp_ue_t **ue_list;
|
nr_pdcp_ue_t **ue_list;
|
||||||
int ue_count;
|
int ue_count;
|
||||||
|
|||||||
Reference in New Issue
Block a user