view src/g23m-gprs/llc/llc_par.h @ 638:cab2f315827e

FFS dev.c: added Spansion PL032J to the "generic" table With the discovery of first GTM900 and then Tango, it now appears that Openmoko was not the only manuf after all who kept TI's TCS211 firmware largely intact (as opposed to changing it beyond all recognition like Compal, Chi-Mei and BenQ did), thus we are now getting new "alien" targets on which we reuse the original manuf's FFS with IMEI and RF calibration tables as if it were native. On these targets we use the original device table for FFS, even though we previously thought that it would never apply to any target other than dsample, leonardo and gtamodem. We have previously added Samsung K5L33xxCAM (a new kind of multi-ID device) to the generic table to support its use in Huawei GTM900-B modules; now we got news that some slightly older GTM900-B specimen used S71PL032J instead, so we are now adding PL032J as well.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jan 2020 17:45:48 +0000
parents 219afcfc6250
children
line wrap: on
line source

/* 
+----------------------------------------------------------------------------- 
|  Project :  
|  Modul   :  
+----------------------------------------------------------------------------- 
|  Copyright 2002 Texas Instruments Berlin, AG 
|                 All rights reserved. 
| 
|                 This file is confidential and a trade secret of Texas 
|                 Instruments Berlin, AG 
|                 The receipt of or possession of this file does not convey 
|                 any rights to reproduce or disclose its contents or to 
|                 manufacture, use, or sell anything it may describe, in 
|                 whole, or in part, without the specific written consent of 
|                 Texas Instruments Berlin, AG. 
+----------------------------------------------------------------------------- 
|  Purpose :  Default values of the LLC layer parameters 
|             (conforming to GSM 04.64)
+----------------------------------------------------------------------------- 
*/ 


#ifndef LLC_PAR_H
#define LLC_PAR_H


/*
 * Default values for the LLC layer parameters (conforming to GSM 04.64).
 */

#define LLC_VERSION_ALL_SAPIS           0

#define LLC_IOV_UI_ALL_SAPIS            0

/*
 * The default IOV-I values are calculated with the following formula:
 * 2^27 * SAPI
 */
#define LLC_IOV_I_SAPI_3                402653184L
#define LLC_IOV_I_SAPI_5                671088640L
#define LLC_IOV_I_SAPI_9                1207959552L
#define LLC_IOV_I_SAPI_11               1476395008L

/*
 * Timer values are negotiated in units of 0.1 seconds but are stored
 * in milliseconds.
 * NOTE: T201 uses value of T200.
 */
#define LLC_T200_SAPI_1                 (50 * XID_TIMER_CONVERSION)
#define LLC_T200_SAPI_3                 (50 * XID_TIMER_CONVERSION)
#define LLC_T200_SAPI_5                 (100 * XID_TIMER_CONVERSION)
#define LLC_T200_SAPI_7                 (200 * XID_TIMER_CONVERSION)
#define LLC_T200_SAPI_9                 (200 * XID_TIMER_CONVERSION)
#define LLC_T200_SAPI_11                (400 * XID_TIMER_CONVERSION)

#define LLC_N200_SAPI_1                 3
#define LLC_N200_SAPI_3                 3
#define LLC_N200_SAPI_5                 3
#define LLC_N200_SAPI_7                 3
#define LLC_N200_SAPI_9                 3
#define LLC_N200_SAPI_11                3

#define LLC_N201_U_SAPI_1               400
#define LLC_N201_U_SAPI_3               500
#define LLC_N201_U_SAPI_5               500
#define LLC_N201_U_SAPI_7               270
#define LLC_N201_U_SAPI_9               500
#define LLC_N201_U_SAPI_11              500

#define LLC_N201_I_SAPI_3               1503
#define LLC_N201_I_SAPI_5               1503
#define LLC_N201_I_SAPI_9               1503
#define LLC_N201_I_SAPI_11              1503

#define LLC_MD_SAPI_3                   1520
#define LLC_MD_SAPI_5                   760
#define LLC_MD_SAPI_9                   380
#define LLC_MD_SAPI_11                  190

#define LLC_MU_SAPI_3                   1520
#define LLC_MU_SAPI_5                   760
#define LLC_MU_SAPI_9                   380
#define LLC_MU_SAPI_11                  190

#define LLC_KD_SAPI_3                   16
#define LLC_KD_SAPI_5                   8
#define LLC_KD_SAPI_9                   4
#define LLC_KD_SAPI_11                  2

#define LLC_KU_SAPI_3                   16
#define LLC_KU_SAPI_5                   8
#define LLC_KU_SAPI_9                   4
#define LLC_KU_SAPI_11                  2


#endif /* LLC_PAR_H */