X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch.h;h=169ef8c13b7312c42b6413d821b18adb9f69fc86;hb=b864875ccd95278bcfcc40187def1ed7a6fb8aa4;hp=353c89c9fe77738b01d3c1668fe00b92a3fb84f5;hpb=82722dbe73abc2e26dad3c2ddad5f89015aa323c;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch.h b/src/5gnrsch/sch.h index 353c89c9f..169ef8c13 100644 --- a/src/5gnrsch/sch.h +++ b/src/5gnrsch/sch.h @@ -144,6 +144,13 @@ typedef enum UL_SLOT, FLEXI_SLOT }SlotConfig; + +typedef enum +{ + DL_SYMBOL, + UL_SYMBOL, + FLEXI_SYMBOL +}SchSymbolConfig; #endif /*Following structures to keep record and estimations of PRB allocated for each @@ -618,7 +625,7 @@ typedef struct schCellCb #ifdef NR_TDD uint8_t numSlotsInPeriodicity; /*!< number of slots in configured periodicity and SCS */ uint32_t slotFrmtBitMap; /*!< 2 bits must be read together to determine D/U/S slots. 00-D, 01-U, 10-S */ - uint8_t slotCfg[MAX_TDD_PERIODICITY_SLOTS][MAX_SYMB_PER_SLOT]; + SchSymbolConfig slotCfg[MAX_TDD_PERIODICITY_SLOTS][MAX_SYMB_PER_SLOT]; #endif #ifdef NR_DRX SchDrxCb drxCb[MAX_DRX_SIZE]; /*!< Drx cb*/