X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fhi_lib%2Fapp%2Fsrc%2Fconfig.h;h=c223b0b074d3607bc54083658747ace56679a4e8;hp=b2953eec299cff45daa4a29c759ce822a402c967;hb=cef07f74965b1749dd909fc1322e211489fea2ea;hpb=bc60e3a69129edf1c21a01683f84a77483f6e3cc diff --git a/fhi_lib/app/src/config.h b/fhi_lib/app/src/config.h index b2953ee..c223b0b 100644 --- a/fhi_lib/app/src/config.h +++ b/fhi_lib/app/src/config.h @@ -29,6 +29,7 @@ #include #include +#include "xran_fh_o_du.h" /** Run time configuration of application */ typedef struct _RuntimeConfig @@ -36,13 +37,18 @@ typedef struct _RuntimeConfig uint8_t appMode; /**< Application mode: lls-CU or RU */ uint8_t xranMode; /**< xran mode: Categoty A | Category B */ uint8_t numCC; /**< Number of CC per ports supported by RU */ - uint8_t mu_number; /**< Mu numner as per 3GPP */ uint8_t numAxc; /**< Number of Antenna Carriers per CC */ uint32_t ttiPeriod; /**< TTI period */ uint32_t testVect; /**< Test Signal to send */ - struct ether_addr lls_cu_addr; /**< lls-CU Ethernet Mac Address */ - struct ether_addr ru_addr; /**< RU Ethernet Mac Address */ - char ant_file[16][512] /**< file to use for test vector */ ; + struct ether_addr o_du_addr; /**< lls-CU Ethernet Mac Address */ + struct ether_addr o_ru_addr; /**< RU Ethernet Mac Address */ + struct ether_addr tmp_addr; /**< Temp Ethernet Mac Address */ + + uint32_t mtu; /**< maximum transmission unit (MTU) is the size of the largest protocol data unit (PDU) that can be communicated in a single + xRAN network layer transaction. supported 1500 bytes and 9600 bytes (Jumbo Frame) */ + int numSlots; /**< number of slots in IQ vector */ + char ant_file[XRAN_MAX_SECTOR_NR*XRAN_MAX_ANTENNA_NR][512] /**< file to use for test vector */ ; + char prach_file[XRAN_MAX_SECTOR_NR*XRAN_MAX_ANTENNA_NR][512] /**< file to use for test vector */ ; /* prach config */ uint8_t enablePrach; /**< enable PRACH */ @@ -76,8 +82,22 @@ typedef struct _RuntimeConfig uint8_t up_vlan_tag; /**< U-plane vlan tag */ int32_t debugStop; + int32_t debugStopCount; + int32_t bbdevMode; + int32_t DynamicSectionEna; + + uint8_t mu_number; /**< Mu numner as per 3GPP */ + uint32_t nDLAbsFrePointA; /**< Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000 */ + uint32_t nULAbsFrePointA; /**< Abs Freq Point A of the Carrier Center Frequency for in KHz Value: 450000->52600000 */ + uint32_t nDLBandwidth; /**< Carrier bandwidth for in MHz. Value: 5->400 */ + uint32_t nULBandwidth; /**< Carrier bandwidth for in MHz. Value: 5->400 */ + uint32_t nDLFftSize; /**< DL FFT size */ + uint32_t nULFftSize; /**< UL FFT size */ + uint8_t nFrameDuplexType; + uint8_t nTddPeriod; + struct xran_slot_config sSlotConfig[XRAN_MAX_TDD_PERIODICITY]; } RuntimeConfig; /**