comparison src/cs/services/atp/atp_config.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /*******************************************************************************
2 *
3 * File Name : atp_config.h
4 *
5 * Configuration setting of ATP SW entity
6 *
7 * (C) Texas Instruments, all rights reserved
8 *
9 * Version number : 0.1 Date : 28-Feb-2000
10 *
11 * History : 0.1 - Created by E. Baissus
12 *
13 *
14 * Author : Eric Baissus : e-baissus@ti.com
15 *
16 * (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved
17 ******************************************************************************/
18 #ifndef ATP_CONFIG_H
19 #define ATP_CONFIG_H
20
21 #include "atp/atp_pool_size.h" /* Stack & Memory Bank sizes definitions */
22
23 /* Maximum number of SW entity which can register simultaneously
24 register to the ATP SW entity */
25 #define ATP_MAX_NB_SW_ENTITY 10 // This does not includes GSM SW entity
26 #define ATP_SW_ENTITY_NAME_MAX_CARAC 10
27 #define ATP_SPP_MAX_PENDING_PORT 10 /* Maximum number of port which can be in open port
28 pending state at the same time
29 Note that a port is considered to be in pending state when
30 in server mode */
31
32
33 #define ATP_HSG_NAME "HSG" /* Sw entity name : used to register to ATP the HSG*/
34 #define ATP_GSM_NAME "GSM" /* Sw entity name of the GSM-PS used to register to the ATP */
35 #define ATP_SPP_NAME "SPP" /* Sw entity name : used to register to ATP the SPP */
36 #define ATP_HS_NAME "HS" /* Sw entity name : used to register to ATP the HS */
37 #define ATP_AAA_NAME "AAA" /* Sw entity name of the GSM-PS used to register to the ATP */
38 #define ATP_DEFAULT_GSM_MAX_PACKET_SIZE (1500) // Default value indicating the maximum size that is supported
39 // when GSM sends a packet to ATP
40
41 #define ATP_MAX_NB_OF_PORT_SUPPORTED_BY_GSM (3)
42 #define ATP_MAX_CMD_LENGTH (0xFF) // Maximum length of a command handled by ATP
43
44 /* Configuration parameters for environment */
45 #define ATP_MB_PRIM_SIZE ATP_MB1_SIZE
46 #define ATP_MB_PRIM_WATERMARK (ATP_MB_PRIM_SIZE - 1000)
47
48 /*
49 ** This def is in rvm_priorities.h
50 ** #define ATP_SWE_LEVEL (4); // SHOULD BE DEFINED IN RVM_PRIORITIES.H !!!
51 */
52
53 #endif