fillTlvs(&configReq->tlvs[index++], FAPI_RSSI_MESUREMENT_TAG, \
sizeof(uint8_t), macCfgParams.rssiUnit, &msgLen);
+ /* fill DMRS Type A Pos */
+ fillTlvs(&configReq->tlvs[index++], FAPI_DMRS_TYPE_A_POS_TAG, \
+ sizeof(uint8_t), macCfgParams.dmrsTypeAPos, &msgLen);
+
fillMsgHeader(&configReq->header, FAPI_CONFIG_REQUEST, msgLen);
DU_LOG("\nLWR_MAC: Sending Config Request to Phy");
Sib1CellCfg sib1Cfg; /* SIB1 config */
BwpDlConfig initialDlBwp; /* Initial DL BWP */
BwpUlConfig initialUlBwp; /* Initial UL BWP */
+ uint8_t dmrsTypeAPos; /* DMRS Type A position */
}MacCellCfg;
typedef struct macCellCfgCfm
duCfgParam.macCellCfg.initialUlBwp.puschCommon.lengthSymbol =
PUSCH_LENGTH_SYMBOL;
+ duCfgParam.macCellCfg.dmrsTypeAPos = DMRS_TYPE_A_POS;
+
/* This should be calculated based on
(number of mandatory parameters) + (number of otional parameters being filled) */
- duCfgParam.macCellCfg.numTlv = 39;
+ duCfgParam.macCellCfg.numTlv = 40;
RETVALUE(ROK);
}
/* MACROS */
#define DU_INST 0
#define DU_ID 1
-#define DU_IP_V4_ADDR "10.0.2.20"
+#define DU_IP_V4_ADDR "192.168.130.81"
#define CU_IP_V4_ADDR "10.0.2.25"
-#define RIC_IP_V4_ADDR "10.0.2.30"
+#define RIC_IP_V4_ADDR "192.168.130.80"
#define DU_PORT 38472
#define CU_PORT 38472
-#define RIC_PORT 38482
+#define RIC_PORT 36422
#define DU_EGTP_PORT 39001
#define CU_EGTP_PORT 39002
#define NR_PCI 1
#define FREQ_LOC_BW 1099 /* DL frequency location and bandwidth */
#define UL_P_MAX 23
#define BANDWIDTH 20
+#define DMRS_TYPE_A_POS 2
/* MACRO defines for PRACH Configuration */
#define PRACH_CONFIG_IDX 105