Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Implementation of function for filling k0 and k1 table [Issue-ID: ODUHIGH-341]
[o-du/l2.git]
/
src
/
phy_stub
/
phy_stub_thread_hdl.c
diff --git
a/src/phy_stub/phy_stub_thread_hdl.c
b/src/phy_stub/phy_stub_thread_hdl.c
index
29a4b01
..
0eed378
100644
(file)
--- a/
src/phy_stub/phy_stub_thread_hdl.c
+++ b/
src/phy_stub/phy_stub_thread_hdl.c
@@
-29,6
+29,7
@@
uint8_t l1SendUlUserData();
uint8_t l1SendStatusPdu();
uint16_t l1BuildAndSendSlotIndication();
uint8_t l1SendUlUserData();
uint8_t l1SendStatusPdu();
uint16_t l1BuildAndSendSlotIndication();
+uint16_t l1BuildAndSendStopInd();
pthread_t thread = 0;
/*******************************************************************
pthread_t thread = 0;
/*******************************************************************
@@
-65,7
+66,11
@@
void GenerateTicks()
{
clock_nanosleep(CLOCK_REALTIME, 0, &req, NULL);
/* Send Slot indication indication to lower mac */
{
clock_nanosleep(CLOCK_REALTIME, 0, &req, NULL);
/* Send Slot indication indication to lower mac */
- l1BuildAndSendSlotIndication();
+ if(l1BuildAndSendSlotIndication() != ROK)
+ {
+ DU_LOG("\nERROR --> PHY_STUB : GenerateTicks(): Failed to build and send Slot Indication");
+ return;
+ }
}
DU_LOG("\nINFO --> PHY_STUB : Slot indication stopped");
}
DU_LOG("\nINFO --> PHY_STUB : Slot indication stopped");
@@
-105,7
+110,6
@@
void GenerateTicks()
void l1HdlSlotIndicaion(bool stopSlotInd)
{
Pst pst;
void l1HdlSlotIndicaion(bool stopSlotInd)
{
Pst pst;
- int ret;
Buffer *mBuf = NULLP;
if(!stopSlotInd)
Buffer *mBuf = NULLP;
if(!stopSlotInd)