FreeCalypso > hg > freecalypso-sw
changeset 884:353daaa6014d
gsm-fw/gpf/conf/gsmcomp.c: increased max partition in the voice-only config
The code we got from TCS211 had the maximum prim pool partition size set to
900 bytes in the voice-only config (no FAX_AND_DATA, no GPRS) and to 1600 bytes
in every other config. As it turns out, this "minimized" config breaks when
the AT command interface is used with %CPI enabled, as the responsible code in
ATI does an ACI_MALLOC of 1012 bytes. TI may have considered this case to be
unsupported usage (perhaps they didn't care about the combination of a
voice-only PS with AT command control), but we do want this use case to work
without crashing. Solution: I made the largest prim pool the same as it is
with FAX_AND_DATA: 3 partitions of 1600 bytes.
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 27 Jun 2015 07:31:30 +0000 |
parents | 18d7ced19f88 |
children | cba11eec112a |
files | gsm-fw/gpf/conf/gsmcomp.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/gpf/conf/gsmcomp.c Sun Jun 07 15:40:14 2015 +0000 +++ b/gsm-fw/gpf/conf/gsmcomp.c Sat Jun 27 07:31:30 2015 +0000 @@ -370,7 +370,7 @@ #define PRIM_PARTITION_2_SIZE 216 /* New */ #define PRIM_PARTITION_3_SIZE 260 /* sizeof (T_stk_cmd), do we need this? */ #define PRIM_PARTITION_4_SIZE 432 -#define PRIM_PARTITION_5_SIZE 900 /* 1600 */ +#define PRIM_PARTITION_5_SIZE 1600 /* FreeCalypso raised from 900 */ #define PRIMPOOL_0_PARTITIONS 80 #define PRIMPOOL_1_PARTITIONS 20 @@ -387,7 +387,7 @@ #else #define PRIMPOOL_4_PARTITIONS 5 /* 10 */ #endif -#define PRIMPOOL_5_PARTITIONS 2 /* 3 */ +#define PRIMPOOL_5_PARTITIONS 3 /* FreeCalypso raised from 2 */ #endif /* else, #ifdef FAX_AND_DATA */ @@ -522,7 +522,7 @@ #endif #if defined(_TARGET_) && defined(GO_LITE) -#define EXT_DATA_POOL_PS_BASE_SIZE 23075 +#define EXT_DATA_POOL_PS_BASE_SIZE 28000 /* FreeCalypso bumped up from 23075 */ #else /* _TARGET_ && GO_LITE */ #define EXT_DATA_POOL_PS_BASE_SIZE 50000 #endif /* _TARGET_ && GO_LITE */