Merge "SIB1 optional parameters, Cell start request, stop request and slot indication"
[o-du/l2.git] / src / phy_stub / l1_bdy2.c
1 /* This file handles TTI genertion */
2
3 #include <stdio.h>
4 #include <pthread.h>
5 #include "lphy_stub.h"
6
7 void *GenerateTicks(void *arg)
8 {
9    while(1)
10    {
11       sleep(1);
12       printf("\nPHY STUB : Slot indication");
13
14       /* Send Slot indication indication to lower mac */
15       //buildAndSendSlotIndication();
16    }
17 }
18
19 void duStartSlotIndicaion()
20 {
21    pthread_t thread;
22    int ret;
23
24    ret = pthread_create(&thread, NULL, GenerateTicks, NULL);
25    if(ret)
26    {
27       printf("\nUnable to create thread");
28    }
29 }
30
31