view cdg211/cdginc/m_sm.val @ 673:62a5285e014a

Lorekeeping: allow tpudrv-leonardo.lib on Leonardo/Tango Back in 2015 the Mother's idea was to produce a FreeCalypso development board that would be a clone of TI Leonardo, including the original quadband RFFE; one major additional stipulation was that this board needed to be able to run original unmodified TCS211-20070608 firmware with all blobs intact, with only minimal binary patches to main.lib and tpudrv.lib. The necessary patched libs were produced at that time in the tcs211-patches repository. That plan was changed and we produced FCDEV3B instead, with Openmoko's triband RFFE instead of Leonardo quadband, but when FC Magnetite started in 2016, a TPUDRV_blob= provision was still made, allowing the possibility of patching OM's tpudrv.lib for a restored Leonardo RFFE. Now in 2020 we have FC Tango which is essentially a verbatim clone of Leonardo core, including the original quadband RFFE. We have also deblobbed our firmware so much that we have absolutely no real need for a blob version of tpudrv.lib - but I thought it would be neat to put the ancient TPUDRV_blob= mechanism (classic config) to its originally intended use, just for the heck of it.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 May 2020 03:55:36 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : m_sm.val                                                       |
| SOURCE  : "__out__\g23m_dfile\msg\sm.mdf"                                |
| LastModified : "2002-04-29"                                              |
| IdAndVersion : "8441.605.99.007"                                         |
| SrcFileTime  : "Mon Nov 24 15:51:04 2003"                                |
| Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:14 2007                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : NONE
 * COMPATIBILITY_DEFINES  : NO (require PREFIX)
 * ALWAYS_ENUM_IN_VAL_FILE: NO
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef M_SM_VAL
#define M_SM_VAL


#define CDG_ENTER__M_SM_VAL

#define CDG_ENTER__FILENAME _M_SM_VAL
#define CDG_ENTER__M_SM_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__M_SM_VAL__LAST_MODIFIED _2002_04_29
#define CDG_ENTER__M_SM_VAL__ID_AND_VERSION _8441_605_99_007

#define CDG_ENTER__M_SM_VAL__SRC_FILE_TIME _Mon_Nov_24_15_51_04_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_SM_VAL

#undef CDG_ENTER__FILENAME


/*
 * Value constants for VAL_nsapi_val
 */
#define VAL_NSAPI_VAL___DEF            (0x0)      /* reserved                       */
#define NSAPI_5                        (0x5)      /* NSAPI 5                        */
#define NSAPI_6                        (0x6)      /* NSAPI 6                        */
#define NSAPI_7                        (0x7)      /* NSAPI 7                        */
#define NSAPI_8                        (0x8)      /* NSAPI 8                        */
#define NSAPI_9                        (0x9)      /* NSAPI 9                        */
#define NSAPI_10                       (0xa)      /* NSAPI 10                       */
#define NSAPI_11                       (0xb)      /* NSAPI 11                       */
#define NSAPI_12                       (0xc)      /* NSAPI 12                       */
#define NSAPI_13                       (0xd)      /* NSAPI 13                       */
#define NSAPI_14                       (0xe)      /* NSAPI 14                       */
#define NSAPI_15                       (0xf)      /* NSAPI 15                       */

/*
 * Value constants for VAL_delay
 */
#define VAL_DELAY___DEF                (0x0)      /* Delay class 4 (best effort)    */
#define DELAY_SUB                      (0x0)      /* Subscribed delay class (uplink only) */
#define DELAY_RES_DL                   (0x0)      /* Reserved (downlink only)       */
#define DELAY_1                        (0x1)      /* Delay class 1                  */
#define DELAY_2                        (0x2)      /* Delay class 2                  */
#define DELAY_3                        (0x3)      /* Delay class 3                  */
#define DELAY_4                        (0x4)      /* Delay class 4 (best effort)    */
#define DELAY_RES                      (0x7)      /* Reserved                       */

/*
 * Value constants for VAL_reliability
 */
#define VAL_RELIABILITY___DEF          (0x0)      /* Unacknowledged GTP and LLC; Acknowledged RLC, Protected data */
#define RELY_SUB                       (0x0)      /* Subscribed reliability class (uplink only) */
#define RELY_RES_DL                    (0x0)      /* Reserved (dowwnlink only)      */
#define RELY_1                         (0x1)      /* Acknowledged GTP, LLC, and RLC; Protected data */
#define RELY_2                         (0x2)      /* Unacknowledged GTP; Acknowledged LLC and RLC, Protected data */
#define RELY_3                         (0x3)      /* Unacknowledged GTP and LLC; Acknowledged RLC, Protected data */
#define RELY_4                         (0x4)      /* Unacknowledged GTP, LLC, and RLC, Protected data */
#define RELY_5                         (0x5)      /* Unacknowledged GTP, LLC, and RLC, Unprotected data */
#define RELY_RES                       (0x7)      /* Reserved                       */

/*
 * Value constants for VAL_sapi
 */
#define VAL_SAPI___DEF                 (0x0)      /* reserved                       */
#define SAPI_3                         (0x3)      /* SAPI 3                         */
#define SAPI_5                         (0x5)      /* SAPI 5                         */
#define SAPI_9                         (0x9)      /* SAPI 9                         */
#define SAPI_11                        (0xb)      /* SAPI 11                        */

/*
 * Value constants for VAL_peak
 */
#define VAL_PEAK___DEF                 (0x0)      /* Up to 1000 octet/s             */
#define PEAK_SUB                       (0x0)      /* Subscribed peak throughput (uplink only) */
#define PEAK_RES_DL                    (0x0)      /* reserved (downlink only)       */
#define PEAK_1000                      (0x1)      /* Up to 1000 octet/s             */
#define PEAK_2000                      (0x2)      /* Up to 2000 octet/s             */
#define PEAK_4000                      (0x3)      /* Up to 4000 octet/s             */
#define PEAK_8000                      (0x4)      /* Up to 8000 octet/s             */
#define PEAK_16000                     (0x5)      /* Up to 16000 octet/s            */
#define PEAK_32000                     (0x6)      /* Up to 32000 octet/s            */
#define PEAK_64000                     (0x7)      /* Up to 64000 octet/s            */
#define PEAK_128000                    (0x8)      /* Up to 128000 octet/s           */
#define PEAK_256000                    (0x9)      /* Up to 256000 octet/s           */
#define PEAK_RES                       (0xf)      /* Reserved                       */

/*
 * Value constants for VAL_precedence
 */
#define VAL_PRECEDENCE___DEF           (0x0)      /* Normal Priority                */
#define PRECED_SUB                     (0x0)      /* Subscribed precedence (uplink only) */
#define PRECED_RES_DL                  (0x0)      /* Reserved (downlink only)       */
#define PRECED_HIGH                    (0x1)      /* High priority                  */
#define PRECED_NORM                    (0x2)      /* Normal Priority                */
#define PRECED_LOW                     (0x3)      /* Low priority                   */
#define PRECED_RES                     (0x7)      /* Reserved                       */

/*
 * Value constants for VAL_mean
 */
#define VAL_MEAN___DEF                 (0x0)      /* Best effort                    */
#define MEAN_SUB                       (0x0)      /* Subscribed mean throughput (uplink only) */
#define MEAN_RES_DL                    (0x0)      /* reserved (downlink only)       */
#define MEAN_100                       (0x1)      /* 100 octet/h                    */
#define MEAN_200                       (0x2)      /* 200 octet/h                    */
#define MEAN_500                       (0x3)      /* 500 octet/h                    */
#define MEAN_1000                      (0x4)      /* 1000 octet/h                   */
#define MEAN_2000                      (0x5)      /* 2000 octet/h                   */
#define MEAN_5000                      (0x6)      /* 5000 octet/h                   */
#define MEAN_10000                     (0x7)      /* 10000 octet/h                  */
#define MEAN_20000                     (0x8)      /* 20000 octet/h                  */
#define MEAN_50000                     (0x9)      /* 50000 octet/h                  */
#define MEAN_100000                    (0xa)      /* 100000 octet/h                 */
#define MEAN_200000                    (0xb)      /* 200000 octet/h                 */
#define MEAN_500000                    (0xc)      /* 500000 octet/h                 */
#define MEAN_1000000                   (0xd)      /* 1000000 octet/h                */
#define MEAN_2000000                   (0xe)      /* 2000000 octet/h                */
#define MEAN_5000000                   (0xf)      /* 5000000 octet/h                */
#define MEAN_10000000                  (0x10)     /* 10000000 octet/h               */
#define MEAN_20000000                  (0x11)     /* 20000000 octet/h               */
#define MEAN_50000000                  (0x12)     /* 50000000 octet/h               */
#define MEAN_RES                       (0x1e)     /* Reserved                       */
#define MEAN_BEST                      (0x1f)     /* Best effort                    */

/*
 * Value constants for VAL_pdp_type_org
 */
#define VAL_PDP_TYPE_ORG___DEF         (0x0)      /* ETSI allocated address (e.g. X.121) */
#define ETSI_ORG                       (0x0)      /* ETSI allocated address (e.g. X.121) */
#define IETF_ORG                       (0x1)      /* IETF allocated address         */
#define PDP_MT                         (0xf)      /* Dynamic PDP addressing is applied, (uplink only) */

/*
 * Value constants for VAL_pdp_type_no
 */
#define VAL_PDP_TYPE_NO___DEF          (0x0)      /* IPv4 address                   */
#define X121_TYPE                      (0x0)      /* X.121 address                  */
#define IP4_TYPE                       (0x21)     /* IPv4 address                   */
#define IP6_TYPE                       (0x57)     /* IPv6 address                   */

/*
 * Value constants for VAL_radio_prio_val
 */
#define VAL_RADIO_PRIO_VAL___DEF       (0x0)      /* priority level 4 (lowest)      */
#define RADIO_PRIO_1                   (0x1)      /* priority level 1 (highest)     */
#define RADIO_PRIO_2                   (0x2)      /* priority level 2               */
#define RADIO_PRIO_3                   (0x3)      /* priority level 3               */
#define RADIO_PRIO_4                   (0x4)      /* priority level 4 (lowest)      */

/*
 * Value constants for VAL_sm_cause_val
 */
#define VAL_SM_CAUSE_VAL___DEF         (0x0)      /* Service option temporarily out of order ( received by MS) */
#define LLC_OR_SNDCP                   (0x19)     /* LLC or SNDCP failure           */
#define INSUF_RES                      (0x1a)     /* Insufficient resources         */
#define APN_MISS                       (0x1b)     /* Missing or unknown APN         */
#define UNK_PDP                        (0x1c)     /* Unknown PDP address or PDP type */
#define AUTH_FAIL                      (0x1d)     /* User Aauthentication failed    */
#define GGSN_ACT_REJ                   (0x1e)     /* Activation rejected by GGSN    */
#define UNSPEC_ACT_REJ                 (0x1f)     /* Activation rejected, unspecified */
#define SERV_OPT_NO_SP                 (0x20)     /* Service option not supported   */
#define SERV_OPT_NO_SC                 (0x21)     /* Requested service option not subscribed */
#define SERV_OPT_TMP                   (0x22)     /* Service option temporarily out of order */
#define NSAPI_USED                     (0x23)     /* NSAPI already used             */
#define REGULAR                        (0x24)     /* Regular deactivation           */
#define QOS_NOT_ACC                    (0x25)     /* QoS not accepted               */
#define NET_FAIL                       (0x26)     /* Network failure                */
#define REACT_REQ                      (0x27)     /* Reactivation required          */
#define SEM_INCORRECT                  (0x5f)     /* Semantically incorrect message */
#define TI_INVAL                       (0x51)     /* Invalid transaction identifier value */
#define MAND_INF_INVAL                 (0x60)     /* Invalid mandatory information  */
#define MSG_T_NON_X                    (0x61)     /* Message type non-existent or not implemented */
#define MSG_T_NOT_COMP                 (0x62)     /* Message type not compatible with the protocol state */
#define IE_NON_X                       (0x63)     /* Information element non-existent or not implemented */
#define COND_IE                        (0x64)     /* Conditional IE error           */
#define NO_STATE_COMP                  (0x65)     /* Message not compatible with the protocol state */
#define UNSPEC                         (0x6f)     /* Protocol error, unspecified    */

/*
 * user defined constants
 */
#define L3MAX                          (0xfb)     

#include "CDG_LEAVE.h"


#endif