comparison src/g23m-fad/tcpip/include/atp_config.h @ 1:fa8dc04885d8

src/g23m-*: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:25:50 +0000
parents
children
comparison
equal deleted inserted replaced
0:4e78acac3d88 1:fa8dc04885d8
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 "rvf_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 #define ATP_HSG_NAME "HSG" /* Sw entity name : used to register to ATP the HSG*/
33 #define ATP_GSM_NAME "GSM" /* Sw entity name of the GSM-PS used to register to the ATP */
34 #define ATP_SPP_NAME "SPP" /* Sw entity name : used to register to ATP the SPP */
35 #define ATP_HS_NAME "HS" /* Sw entity name : used to register to ATP the HS */
36 #define ATP_AAA_NAME "AAA" /* Sw entity name of the GSM-PS used to register to the ATP */
37 #define ATP_DEFAULT_GSM_MAX_PACKET_SIZE (1500) // Default value indicating the maximum size that is supported
38 // when GSM sends a packet to ATP
39
40 #define ATP_MAX_NB_OF_PORT_SUPPORTED_BY_GSM (3)
41 #define ATP_MAX_CMD_LENGTH (0xFF) // Maximum length of a command handled by ATP
42
43 /* Configuration parameters for environment */
44 #define ATP_MB_PRIM_SIZE RVF_ATP_MB1_SIZE
45 #define ATP_MB_PRIM_WATERMARK (ATP_MB_PRIM_SIZE - 1000)
46
47 /*
48 ** This def is in rvm_priorities.h
49 ** #define ATP_SWE_LEVEL (4); // SHOULD BE DEFINED IN RVM_PRIORITIES.H !!!
50 */
51
52 #endif
53