Moving all common header file into common_def.h file
[o-du/l2.git] / src / 5gnrmac / mac_stop_ind.c
1 /*******************************************************************************
2 ################################################################################
3 #   Copyright (c) [2017-2019] [Radisys]                                        #
4 #                                                                              #
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #
6 #   you may not use this file except in compliance with the License.           #
7 #   You may obtain a copy of the License at                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
11 #   Unless required by applicable law or agreed to in writing, software        #
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
14 #   See the License for the specific language governing permissions and        #
15 #   limitations under the License.                                             #
16 ################################################################################
17  *******************************************************************************/
18 /* header include files (.h) */
19 #include "common_def.h"
20 #include "tfu.h"           /* RGU Interface includes */
21 #include "lrg.h"
22 #include "tfu.x"           /* RGU Interface includes */
23 #include "lrg.x"
24 #include "du_app_mac_inf.h"
25 #include "mac.h"
26 #include "du_log.h"
27
28 /*******************************************************************
29  * @brief process Stop indication to MAC
30  *
31  * @details
32  *
33  *     Function : fapiMacStopInd 
34  *      
35  *  @param[in]  Pst            *pst
36  *  @return  S16
37  *      -# ROK 
38  *      -# RFAILED 
39  ******************************************************************/
40 PUBLIC S16 fapiMacStopInd(Pst *pst) 
41 {
42    uint8_t ret = ROK;
43    ret = sendStopIndMacToDuApp();
44    return ret;
45 }