X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fmac_sch_interface.h;h=1a5c9e9a8cc78ff9e7f5056c921ba6a3706cf4d7;hb=d2087c85ac86d4ffb898e87aecc1495510ef9c68;hp=decd330dc57c188ab632e8e7d1900d6f31913150;hpb=694d8fa8539d4b69710b61d01d5a0535bb98716e;p=o-du%2Fl2.git diff --git a/src/cm/mac_sch_interface.h b/src/cm/mac_sch_interface.h index decd330dc..1a5c9e9a8 100644 --- a/src/cm/mac_sch_interface.h +++ b/src/cm/mac_sch_interface.h @@ -56,7 +56,7 @@ typedef struct SSBPeriod ssbPeriod; /* SSB Periodicity in msec */ uint8_t ssbSubcOffset; /* Subcarrier Offset(Kssb) */ uint32_t nSSBMask[SSB_MASK_SIZE]; /* Bitmap for actually transmitted SSB. */ -} SsbSchCfg; +}SchSsbCfg; /* SIB1 interface structure */ typedef struct bwpCfg @@ -201,16 +201,36 @@ typedef struct uint8_t n0; Sib1PdcchCfg sib1PdcchCfg; Sib1PdschCfg sib1PdschCfg; -} Sib1SchCfg; +}SchSib1Cfg; + +typedef struct schRachCfg +{ + uint8_t prachCfgIdx; /* PRACH config idx */ + uint8_t prachSubcSpacing; /* Subcarrier spacing of RACH */ + uint8_t prachSeqLen; /* Support for PRACH long/short format */ + uint16_t msg1FreqStart; /* Msg1-FrequencyStart */ + uint8_t msg1Fdm; /* PRACH FDM (1,2,4,8) */ + uint8_t maxPrachOcassionsInSlot; /* Number of PRACH ocassions per slot */ + uint8_t numPrachFdOccasions; /*Number of PRACH ocassions in freq domain */ + uint16_t rootSeqIdx; /* Root sequence index */ + uint8_t numRootSeq; /* Number of root sequences required for FD */ + uint16_t k1; /* Frequency Offset for each FD */ + uint8_t ssbPerRach; /* SSB per RACH occassion */ + uint8_t prachMultCarrBand; /* Presence of Multiple carriers in Band */ + uint8_t raContResTmr; /* RA Contention Resoultion Timer */ + uint8_t rsrpThreshSsb; /* RSRP Threshold SSB */ + uint8_t raRspWindow; /* RA Response Window */ +}SchRachCfg; typedef struct schCellCfg { - U16 cellId; /* Cell Id */ - U16 phyCellId; /* Physical cell id */ - U8 bandwidth; /* Supported B/W */ + uint16_t cellId; /* Cell Id */ + uint16_t phyCellId; /* Physical cell id */ + uint8_t bandwidth; /* Supported B/W */ DuplexMode dupMode; /* Duplex type: TDD/FDD */ - SsbSchCfg ssbSchCfg; - Sib1SchCfg sib1SchCfg; + SchSsbCfg ssbSchCfg; /* SSB config */ + SchSib1Cfg sib1SchCfg; /* SIB1 config */ + SchRachCfg schRachCfg; /* PRACH config */ }SchCellCfg; typedef struct schCellCfgCfm