X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrsch%2Fsch.h;h=d99f6718307ca12280da6b3391591f9ac2adb969;hb=653aa9a77c383713ea88d4b34759b333576646b4;hp=e1388a73850e640bfcaf102a9c54911ea224fdc3;hpb=834004e09017b5b86cb738be98a7a1be79c0a9b0;p=o-du%2Fl2.git diff --git a/src/5gnrsch/sch.h b/src/5gnrsch/sch.h index e1388a738..d99f67183 100644 --- a/src/5gnrsch/sch.h +++ b/src/5gnrsch/sch.h @@ -28,8 +28,7 @@ #define MAX_NUM_RB 106 /* value for numerology 0 15Khz */ #define SCH_MIB_TRANS 80 #define SCH_NUM_SC_PRB 12 /* number of SCs in a PRB */ -#define SCH_MAX_SSB_BEAM 4 /* since we are supporting only SCS=15KHz */ -#define SCH_SCS_15KHZ 0 /* numerology 0 and 15Khz */ +#define SCH_MAX_SSB_BEAM 8 /* since we are supporting only SCS=15KHz and 30KHz */ #define SCH_SYMBOL_PER_SLOT 14 #define SCH_SSB_NUM_SYMB 4 #define SCH_SSB_NUM_PRB 20 @@ -49,7 +48,6 @@ #define CRC_FAILED 0 #define CRC_PASSED 1 -#define RLC_HDR_SIZE 3 /* 3 bytes of RLC Header size */ #define MAC_HDR_SIZE 3 /* 3 bytes of MAC Header */ #define UL_GRANT_SIZE 224 @@ -144,7 +142,7 @@ typedef struct schLcCtxt uint8_t lcId; // logical Channel ID uint8_t lcp; // logical Channel Prioritization SchLcState lcState; - uint16_t bo; + uint32_t bo; }SchDlLcCtxt; typedef struct schDlCb @@ -201,6 +199,8 @@ typedef struct schCellCb SchDlSlotInfo **schDlSlotInfo; /*!< SCH resource allocations in DL */ SchUlSlotInfo **schUlSlotInfo; /*!< SCH resource allocations in UL */ SchCellCfg cellCfg; /*!< Cell ocnfiguration */ + bool firstSsbTransmitted; + bool firstSib1Transmitted; uint8_t ssbStartSymbArr[SCH_MAX_SSB_BEAM]; /*!