[Task-ID: ODUHIGH-432]Fix to send correct RLC header and PDCP SN for RRC messages...
[o-du/l2.git] / src / phy_stub / phy_stub.h
index 68c30df..f40c568 100644 (file)
@@ -26,7 +26,7 @@
 #define NR_PCI            1
 #define SLOT_DELAY       3
 #define NUM_DRB_TO_PUMP_DATA  3
-#define NUM_UL_PACKETS   4
+#define NUM_UL_PACKETS   1
 /*UE Ids for RACH IND*/
 #define UE_IDX_0     0
 #define UE_IDX_1     1
@@ -58,6 +58,8 @@ typedef struct ueCb
    bool     msgSecurityModeComp;
    bool           msgRrcReconfiguration;
    bool           msgRegistrationComp;
+   uint8_t  rlcSnForSrb1;           /* Sequence number of PDU at RLC for AM mode */
+   uint8_t  pdcpSn;                 /* Sequence number of PDU at PDCP */
 }UeCb;
 
 /* Database to store information for all UE */
@@ -89,7 +91,7 @@ void procPhyMessages(uint16_t msgType, uint32_t msgSize, void *msg);
 void l1StartConsoleHandler();
 void l1HdlSlotIndicaion(bool);
 void GenerateTicks();
-uint8_t l1SendUlUserData(uint8_t drbId);
+uint8_t l1SendUlUserData(uint8_t drbId, uint8_t ueIdx);
 uint8_t l1SendStatusPdu();
 uint16_t l1BuildAndSendSlotIndication();
 uint16_t l1BuildAndSendStopInd();