tasks_def.h 1.97 KB
Newer Older
1
// This task is mandatory and must always be placed in first position
winckel's avatar
winckel committed
2
    TASK_DEF(TASK_TIMER,    TASK_PRIORITY_MAX,          10)
3
4
5

// Other possible tasks in the process

winckel's avatar
winckel committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Common tasks:
    /// Layer 2 and Layer 1 task supporting all the synchronous processing
    TASK_DEF(TASK_L2L1,     TASK_PRIORITY_MAX_LEAST,    200)

    ///   Bearers Manager task
    TASK_DEF(TASK_BM,       TASK_PRIORITY_MED,          200)

// eNodeB tasks and sub-tasks:
    //// Layer 2 and Layer 1 sub-tasks
SUB_TASK_DEF(TASK_L2L1,     TASK_PHY_ENB,               200)
SUB_TASK_DEF(TASK_L2L1,     TASK_MAC_ENB,               200)
SUB_TASK_DEF(TASK_L2L1,     TASK_RLC_ENB,               200)
SUB_TASK_DEF(TASK_L2L1,     TASK_PDCP_ENB,              200)

    ///   Radio Resource Control task
    TASK_DEF(TASK_RRC_ENB,  TASK_PRIORITY_MED,          200)
    ///   S1ap task
23
24
25
/// RAL task for ENB
TASK_DEF(TASK_RAL_ENB, TASK_PRIORITY_MED, 200)

gauthier's avatar
gauthier committed
26
27
28
    // UDP TASK
    TASK_DEF(TASK_UDP,      TASK_PRIORITY_MED,          200)
    // GTP_V1U task
29
    TASK_DEF(TASK_GTPV1_U,  TASK_PRIORITY_MED,          200)
winckel's avatar
winckel committed
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
    TASK_DEF(TASK_S1AP,     TASK_PRIORITY_MED,          200)
    ///   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)

// UE tasks and sub-tasks:
    //// Layer 2 and Layer 1 sub-tasks
SUB_TASK_DEF(TASK_L2L1,     TASK_PHY_UE,                200)
SUB_TASK_DEF(TASK_L2L1,     TASK_MAC_UE,                200)
SUB_TASK_DEF(TASK_L2L1,     TASK_RLC_UE,                200)
SUB_TASK_DEF(TASK_L2L1,     TASK_PDCP_UE,               200)

    ///   Radio Resource Control task
    TASK_DEF(TASK_RRC_UE,   TASK_PRIORITY_MED,          200)
    ///   Non Access Stratum task
    TASK_DEF(TASK_NAS_UE,   TASK_PRIORITY_MED,          200)
49
    TASK_DEF(TASK_RAL_UE,   TASK_PRIORITY_MED,          200)
50