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
Added missing triggers and state params for cell up
[o-du/l2.git]
/
src
/
5gnrmac
/
lwr_mac_handle_phy.c
diff --git
a/src/5gnrmac/lwr_mac_handle_phy.c
b/src/5gnrmac/lwr_mac_handle_phy.c
index
969a395
..
710b24b
100644
(file)
--- a/
src/5gnrmac/lwr_mac_handle_phy.c
+++ b/
src/5gnrmac/lwr_mac_handle_phy.c
@@
-44,6
+44,8
@@
#include "cm_mblk.x" /* Common LTE Defines */
#include "tfu.x" /* RGU Interface includes */
//#include "rg.x"
#include "cm_mblk.x" /* Common LTE Defines */
#include "tfu.x" /* RGU Interface includes */
//#include "rg.x"
+#include "lwr_mac.h"
+#include "du_log.h"
#ifdef FAPI
/* function pointers for packing macCellCfg Request */
#ifdef FAPI
/* function pointers for packing macCellCfg Request */
@@
-123,6
+125,12
@@
void handlePhyMessages(void *msg)
{
case FAPI_SLOT_INDICATION:
{
{
case FAPI_SLOT_INDICATION:
{
+ if(clGlobalCp.phyState == PHY_STATE_CONFIGURED)
+ {
+ DU_LOG("\nLOWER MAC: PHY has moved to running state \n");
+ clGlobalCp.phyState = PHY_STATE_RUNNING;
+ }
+
fapi_slot_ind_t *slotInd;
slotInd = (fapi_slot_ind_t *)msg;
handleSlotInd(slotInd);
fapi_slot_ind_t *slotInd;
slotInd = (fapi_slot_ind_t *)msg;
handleSlotInd(slotInd);