- /* Start Pumping data from PHY stub to DU */
- DU_LOG("\nDEBUG --> PHY STUB: Sending UL User Data");
- l1SendUlUserData();
+ while(counter)
+ {
+ /* Start Pumping data from PHY stub to DU */
+ for(drbIdx = 0; drbIdx < NUM_DRB_TO_PUMP_DATA; drbIdx++) //Number of DRB times the loop will run
+ {
+ for(ueIdx=0; ueIdx<MAX_NUM_UE; ueIdx++)
+ {
+ DU_LOG("\nDEBUG --> PHY STUB: Sending UL User Data[DrbId:%d] for UEId %d\n",drbIdx,ueIdx);
+ l1SendUlUserData(drbIdx,ueIdx);
+ /* TODO :- sleep(1) will be removed once we will be able to
+ * send continuous data packet */
+ sleep(1);
+ }
+ }
+ counter--;
+ }
+ }
+ else if(ch =='c')
+ {
+ /* Send Control PDU from PHY stub to DU */
+ DU_LOG("\nDEBUG --> PHY STUB: Sending Status PDU");
+ l1SendStatusPdu();