tasks_def.h 1.22 KB
Newer Older
1
// This task is mandatory and must always be placed in first position
2
TASK_DEF(TASK_TIMER, TASK_PRIORITY_MAX, 10)
3
4
5
6

// Other possible tasks in the process

/// Layer 2 and Layer 1 task supporting all the synchronous processing
7
TASK_DEF(TASK_L2L1, TASK_PRIORITY_MAX_LEAST, 10)
8
//// Layer 2 and Layer 1 sub-tasks
9
10
SUB_TASK_DEF(TASK_L2L1, TASK_PDCP_UE, 200)
SUB_TASK_DEF(TASK_L2L1, TASK_PDCP_ENB, 200)
11

12
13
SUB_TASK_DEF(TASK_L2L1, TASK_RLC_UE, 200)
SUB_TASK_DEF(TASK_L2L1, TASK_RLC_ENB, 200)
14

15
16
SUB_TASK_DEF(TASK_L2L1, TASK_MAC_UE, 200)
SUB_TASK_DEF(TASK_L2L1, TASK_MAC_ENB, 200)
17

18
19
SUB_TASK_DEF(TASK_L2L1, TASK_PHY_UE, 200)
SUB_TASK_DEF(TASK_L2L1, TASK_PHY_ENB, 200)
20
21

/// Radio Resource Control task for UE
22
TASK_DEF(TASK_RRC_UE, TASK_PRIORITY_MED, 200)
23
/// Radio Resource Control task for eNodeB
24
TASK_DEF(TASK_RRC_ENB, TASK_PRIORITY_MED, 200)
25
26

/// Bearers Manager task
27
TASK_DEF(TASK_BM, TASK_PRIORITY_MED, 200)
28
29

/// Non Access Stratum task for UE
30
TASK_DEF(TASK_NAS_UE, TASK_PRIORITY_MED, 200)
31
32

/// S1ap task for eNodeB
33
TASK_DEF(TASK_S1AP, TASK_PRIORITY_MED, 200)
34
35

/// Sctp task for eNodeB (Used by both S1AP and X2AP)
36
TASK_DEF(TASK_SCTP, TASK_PRIORITY_MED, 200)
37
38
39

/// X2ap task for eNodeB, acts as both source and target
TASK_DEF(TASK_X2AP, TASK_PRIORITY_MED, 200)