compilation improvements aroung impl_defs_top file
This commit is contained in:
@@ -172,10 +172,10 @@ static void sl_prepare_phy_config(int module_id,
|
||||
phycfg->sl_bwp_config.sl_start_symbol = (bwp_generic->sl_StartSymbol_r16) ?
|
||||
*bwp_generic->sl_StartSymbol_r16 : 0;
|
||||
|
||||
//0-EXTENDED, 1-NORMAL CP
|
||||
phycfg->sl_bwp_config.sl_cyclic_prefix = (sl_bwp->cyclicPrefix) ? EXTENDED : NORMAL;
|
||||
//0-NORMAL CP, 1-EXTENDED
|
||||
phycfg->sl_bwp_config.sl_cyclic_prefix = (sl_bwp->cyclicPrefix) ? 1 : 0;
|
||||
|
||||
AssertFatal(phycfg->sl_bwp_config.sl_cyclic_prefix == NORMAL, "Only NORMAL-CP Supported. Ext CP not yet supported\n");
|
||||
AssertFatal(phycfg->sl_bwp_config.sl_cyclic_prefix == 0, "Only NORMAL-CP Supported. Ext CP not yet supported\n");
|
||||
|
||||
|
||||
AssertFatal(phycfg->sl_bwp_config.sl_start_symbol >= 0 && phycfg->sl_bwp_config.sl_start_symbol <=7,
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "common/platform_types.h"
|
||||
#include "common/utils/threadPool/notified_fifo.h"
|
||||
|
||||
/* IF */
|
||||
#include "NR_IF_Module.h"
|
||||
@@ -405,7 +406,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
/// SSB RSRP in dBm
|
||||
int ssb_rsrp_dBm;
|
||||
float_t ssb_sinr_dB;
|
||||
float ssb_sinr_dB;
|
||||
} NR_SSB_meas_t;
|
||||
|
||||
typedef struct {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// TODO: This should be part of mac instance
|
||||
/* TS 38.213 9.2.5.2 UE procedure for multiplexing HARQ-ACK/SR and CSI in a PUCCH */
|
||||
/* this is a counter of number of pucch format 4 per subframe */
|
||||
static int nb_pucch_format_4_in_subframes[LTE_NUMBER_OF_SUBFRAMES_PER_FRAME] = {0};
|
||||
static int nb_pucch_format_4_in_subframes[NR_NUMBER_OF_SUBFRAMES_PER_FRAME] = {0};
|
||||
|
||||
/* TS 38.211 Table 6.4.1.3.3.2-1: DM-RS positions for PUCCH format 3 and 4 */
|
||||
static const int nb_symbols_excluding_dmrs[11][2][2]
|
||||
|
||||
@@ -2552,7 +2552,7 @@ void nr_ue_ul_scheduler(NR_UE_MAC_INST_t *mac, nr_uplink_indication_t *ul_info)
|
||||
|
||||
// Schedule ULSCH only if the current frame and slot match those in ul_config_req
|
||||
// AND if a UL grant (UL DCI or Msg3) has been received (as indicated by num_pdus)
|
||||
uint8_t ulsch_input_buffer_array[NFAPI_MAX_NUM_UL_PDU][MAX_ULSCH_PAYLOAD_BYTES];
|
||||
uint8_t ulsch_input_buffer_array[FAPI_NR_UL_CONFIG_LIST_NUM][MAX_NUM_NR_ULSCH_SEGMENTS_PER_LAYER * NR_MAX_NB_LAYERS * 1056];
|
||||
int number_of_pdus = 0;
|
||||
|
||||
fapi_nr_ul_config_request_pdu_t *ulcfg_pdu = lockGet_ul_iterator(mac, frame_tx, slot_tx);
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include "openair2/PHY_INTERFACE/IF_Module.h"
|
||||
#include "PHY/defs_eNB.h"
|
||||
#include "nfapi_interface.h"
|
||||
#include "nfapi_pnf_interface.h"
|
||||
#include <pthread.h>
|
||||
|
||||
@@ -466,6 +466,7 @@ static void SendFrameNR(guint8 radioType, ws_trace_t *t)
|
||||
#include <common/ran_context.h>
|
||||
extern RAN_CONTEXT_t RC;
|
||||
#include <openair1/PHY/phy_extern_ue.h>
|
||||
#include "openair1/PHY/defs_eNB.h"
|
||||
/* Remote serveraddress (where Wireshark is running) */
|
||||
|
||||
void trace_pdu_implementation(ws_trace_t *t)
|
||||
|
||||
Reference in New Issue
Block a user