eNB_scheduler_NB_IoT.c 2.21 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
/*
 * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The OpenAirInterface Software Alliance licenses this file to You under
 * the OAI Public License, Version 1.0  (the "License"); you may not use this file
 * except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.openairinterface.org/?page_id=698
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *-------------------------------------------------------------------------------
 * For more information about the OpenAirInterface (OAI) Software Alliance:
 *      contact@openairinterface.org
 */

/*! \file eNB_scheduler_nb_iot.c
 * \brief top level of the scheduler, it scheduled in pdcch period based.
 * \author  
 * \date 2017
 * \email: 
 * \version 0.5
 * @ingroup _mac
 *
 */

#include "assertions.h"
33
//#include "PHY/defs.h"
34 35

/* (commented to remove warnings since this file is not used for the moment)
36
#include "PHY/defs_NB_IoT.h"
37 38 39 40 41 42 43 44 45 46
#include "PHY/extern.h"

#include "SCHED/defs.h"
#include "SCHED/extern.h"

#include "LAYER2/MAC/defs.h"
#include "LAYER2/MAC/extern.h"
#include "LAYER2/MAC/proto.h"

#include "LAYER2/MAC/defs_nb_iot.h"
47
#include "LAYER2/MAC/proto_NB_IoT.h"
48
#include "PHY_INTERFACE/IF_Module_NB_IoT.h"
49 50 51 52 53 54 55 56 57 58 59

#include "RRC/LITE/extern.h"
#include "RRC/L2_INTERFACE/openair_rrc_L2_interface.h"


//#include "LAYER2/MAC/pre_processor.c"
#include "pdcp.h"

#if defined(ENABLE_ITTI)
# include "intertask_interface.h"
#endif
60 61 62
*/


63 64 65 66 67 68

/*function description
* top level of the scheduler, this will trigger in every subframe, 
* and determined if do the schedule by checking this current subframe is the start of the NPDCCH period or not
*/

69 70

/* already defined in proto_NB_IoT.h
71 72 73 74 75
void NB_eNB_dlsch_ulsch_scheduler(module_id_t module_idP, frame_t frameP, sub_frame_t subframeP, uint16_t hypersfn)  
{

}

76
*/
77