tasks_def.h 3.46 KB
Newer Older
1 2 3 4 5
/*
 * 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
6
 * the OAI Public License, Version 1.1  (the "License"); you may not use this file
7 8 9 10 11 12 13 14 15 16 17 18 19 20
 * 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
 */
21

22
// This task is mandatory and must always be placed in first position
23
TASK_DEF(TASK_TIMER,    TASK_PRIORITY_MAX,          10)
24 25 26

// Other possible tasks in the process

winckel's avatar
winckel committed
27 28
// Common tasks:

29 30
///   Bearers Manager task
TASK_DEF(TASK_BM,       TASK_PRIORITY_MED,          200)
winckel's avatar
winckel committed
31 32 33

// eNodeB tasks and sub-tasks:

34 35
///   Radio Resource Control task
TASK_DEF(TASK_RRC_ENB,  TASK_PRIORITY_MED,          200)
oai's avatar
oai committed
36 37 38 39

// Define here for now
TASK_DEF(TASK_RRC_ENB_NB_IoT,  TASK_PRIORITY_MED,          200)

40 41
TASK_DEF(TASK_RRC_GNB,  TASK_PRIORITY_MED,          200)

42
///   S1ap task
43 44 45
/// RAL task for ENB
TASK_DEF(TASK_RAL_ENB, TASK_PRIORITY_MED, 200)

46 47 48 49 50
// UDP TASK
TASK_DEF(TASK_UDP,      TASK_PRIORITY_MED,          1000)
// GTP_V1U task
TASK_DEF(TASK_GTPV1_U,  TASK_PRIORITY_MED,          1000)
TASK_DEF(TASK_S1AP,     TASK_PRIORITY_MED,          200)
51 52
TASK_DEF(TASK_CU_F1,     TASK_PRIORITY_MED,          200)
TASK_DEF(TASK_DU_F1,     TASK_PRIORITY_MED,          200)
53 54 55 56 57 58 59 60 61
///   M3ap task, acts as both source and target
TASK_DEF(TASK_M3AP,     TASK_PRIORITY_MED,          200)
///   M3ap task, acts as both source and target
TASK_DEF(TASK_M3AP_MME,     TASK_PRIORITY_MED,          200)
///   M3ap task, acts as both source and target
TASK_DEF(TASK_M3AP_MCE,     TASK_PRIORITY_MED,          200)
///   M2ap task, acts as both source and target
TASK_DEF(TASK_M2AP_MCE,     TASK_PRIORITY_MED,          200)
TASK_DEF(TASK_M2AP_ENB,     TASK_PRIORITY_MED,          200)
62 63 64 65 66 67
///   X2ap task, acts as both source and target
TASK_DEF(TASK_X2AP,     TASK_PRIORITY_MED,          200)
///   Sctp task (Used by both S1AP and X2AP)
TASK_DEF(TASK_SCTP,     TASK_PRIORITY_MED,          200)
///   eNB APP task
TASK_DEF(TASK_ENB_APP,  TASK_PRIORITY_MED,          200)
68 69
///   gNB APP task
TASK_DEF(TASK_GNB_APP,  TASK_PRIORITY_MED,          200)
70
///   eNB Agent task
71
TASK_DEF(TASK_FLEXRAN_AGENT,  TASK_PRIORITY_MED,          200)
72
TASK_DEF(TASK_PROTO_AGENT,  TASK_PRIORITY_MED,          200)
winckel's avatar
winckel committed
73 74
// UE tasks and sub-tasks:

75 76
///   Radio Resource Control task
TASK_DEF(TASK_RRC_UE,   TASK_PRIORITY_MED,          200)
heshanyun's avatar
heshanyun committed
77
TASK_DEF(TASK_RRC_NRUE,   TASK_PRIORITY_MED,          200)
78 79 80
///   Non Access Stratum task
TASK_DEF(TASK_NAS_UE,   TASK_PRIORITY_MED,          200)
TASK_DEF(TASK_RAL_UE,   TASK_PRIORITY_MED,          200)
81

82 83 84
//MESSAGE GENERATOR TASK
TASK_DEF(TASK_MSC,      TASK_PRIORITY_MED,          200)

heshanyun's avatar
heshanyun committed
85 86 87 88 89
#ifdef ITTI_SIM
TASK_DEF(TASK_RRC_GNB_SIM,   TASK_PRIORITY_MED,          200)
TASK_DEF(TASK_RRC_UE_SIM,    TASK_PRIORITY_MED,          200)
#endif