view cdg211/cdginc/m_ss.val @ 662:8cd8fd15a095

SIM speed enhancement re-enabled and made configurable TI's original code supported SIM speed enhancement, but Openmoko had it disabled, and OM's disabling of speed enhancement somehow caused certain SIM cards to start working which didn't work before (OM's bug #666). Because our FC community is much smaller in year 2020 than OM's community was in their day, we are not able to find one of those #666-affected SIMs, thus the real issue they had encountered remains elusive. Thus our solution is to re-enable SIM speed enhancement and simply wait for if and when someone runs into a #666-affected SIM once again. We provide a SIM_allow_speed_enhancement global variable that allows SIM speed enhancement to be enabled or disabled per session, and an /etc/SIM_spenh file in FFS that allows it to enabled or disabled on a non-volatile basis. SIM speed enhancement is now enabled by default.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 May 2020 05:02:28 +0000
parents 56abf6cf8a0b
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : m_ss.val                                                       |
| SOURCE  : "__out__\g23m_dfile\msg\ss.mdf"                                |
| LastModified : "2003-02-04"                                              |
| IdAndVersion : "6147.601.97.104"                                         |
| SrcFileTime  : "Mon Nov 24 15:49:14 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_SS_VAL
#define M_SS_VAL


#define CDG_ENTER__M_SS_VAL

#define CDG_ENTER__FILENAME _M_SS_VAL
#define CDG_ENTER__M_SS_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__M_SS_VAL__LAST_MODIFIED _2003_02_04
#define CDG_ENTER__M_SS_VAL__ID_AND_VERSION _6147_601_97_104

#define CDG_ENTER__M_SS_VAL__SRC_FILE_TIME _Mon_Nov_24_15_49_14_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_SS_VAL

#undef CDG_ENTER__FILENAME


/*
 * Value constants for VAL_ver
 */
#define SS_VERSION_PHASE2              (0x0)      /* phase 2 service and error handling, ellipsis notation */

/*
 * Value constants for VAL_cs
 */
#define CAUSE_UNASSIGN                 (0x1)      /* Unassigned (unallocated) Note 9 number */
#define CAUSE_NO_ROUTE                 (0x3)      /* No route to destination        */
#define CAUSE_CHAN_UNACCEPT            (0x6)      /* Channel unacceptable           */
#define CAUSE_BARRED                   (0x8)      /* Operator determined barring    */
#define CAUSE_CALL_CLEAR               (0x10)     /* Normal call clearing           */
#define CAUSE_USER_BUSY                (0x11)     /* User busy                      */
#define CAUSE_NO_RESPONSE              (0x12)     /* No user responding             */
#define CAUSE_ALERT_NO_ANSWER          (0x13)     /* User alerting, no answer       */
#define CAUSE_CALL_REJECT              (0x15)     /* Call rejected                  */
#define CAUSE_NUM_CHANGED              (0x16)     /* Number changed                 */
#define CAUSE_PREEMPTION               (0x19)     /* Pre-emption                    */
#define CAUSE_USER_CLEAR               (0x1a)     /* Non selected user clearing     */
#define CAUSE_DEST_ORDER               (0x1b)     /* Destination out of order       */
#define CAUSE_NUM_FORMAT               (0x1c)     /* Invalid number format (incomplete number) */
#define CAUSE_FACILITY_REJECT          (0x1d)     /* Facility rejected              */
#define CAUSE_STATUS_ENQUIRY           (0x1e)     /* Response to STATUS ENQUIRY     */
#define CAUSE_UNSPECIFIED              (0x1f)     /* Normal, unspecified            */
#define CAUSE_NO_CHAN_AVAIL            (0x22)     /* No circuit/channel available   */
#define CAUSE_NETWORK_ORDER            (0x26)     /* Network out of order           */
#define CAUSE_TEMP_FAIL                (0x29)     /* Temporary failure              */
#define CAUSE_SWITCH_CONGEST           (0x2a)     /* Switching equipment congestion */
#define CAUSE_INFO_DISCARD             (0x2b)     /* Access information discarded   */
#define CAUSE_REQ_CHAN_UNAVAIL         (0x2c)     /* requested circuit/channel not available */
#define CAUSE_RESOURCE_UNAVAIL         (0x2f)     /* Resources unavailable, unspecified */
#define CAUSE_QOS_UNAVAIL              (0x31)     /* Quality of service unavailable */
#define CAUSE_FACILITY_UNSUBSCRIB      (0x32)     /* Requested facility not subscribed */
#define CAUSE_BARRED_IN_CUG            (0x37)     /* Incoming calls barred within the CUG */
#define CAUSE_BEARER_CAP_AUTHORIZ      (0x39)     /* Bearer capability not authorized */
#define CAUSE_BEARER_CAP_UNAVAIL       (0x3a)     /* Bearer capability not presently available */
#define CAUSE_SERVICE_UNAVAIL          (0x3f)     /* Service or option not available, unspecified */
#define CAUSE_BEARER_NOT_IMPLEM        (0x41)     /* Bearer service not implemented */
#define CAUSE_ACM_MAX                  (0x44)     /* ACM equal to or greater than ACMmax */
#define CAUSE_FACILITY_NOT_IMPLEM      (0x45)     /* Requested facility not implemented */
#define CAUSE_RESTICT_BEARER_CAP       (0x46)     /* Only restricted digital information bearer capability is available */
#define CAUSE_SERVICE_NOT_IMPLEM       (0x4f)     /* Service or option not implemented, unspecified */
#define CAUSE_INVALID_TI               (0x51)     /* Invalid transaction identifier value */
#define CAUSE_USER_NOT_IN_CUG          (0x57)     /* User not member of CUG         */
#define CAUSE_INCOMPAT_DEST            (0x58)     /* Incompatible destination       */
#define CAUSE_INVALID_TRANS_NET        (0x5b)     /* Invalid transit network selection */
#define CAUSE_INCORRECT_MESSAGE        (0x5f)     /* Semantically incorrect message */
#define CAUSE_INVALID_MAND_INFO        (0x60)     /* Invalid mandatory information  */
#define CAUSE_MESSAGE_TYPE_NOT_IMPLEM  (0x61)     /* Message type non-existent or not implemented */
#define CAUSE_MESSAGE_TYPE_INCOMPAT    (0x62)     /* Message type not compatible with protocol state */
#define CAUSE_INFO_ELEM_NOT_IMPLEM     (0x63)     /* Information element non existent or not implemented */
#define CAUSE_COND_INFO_ELEM           (0x64)     /* Conditional IE error           */
#define CAUSE_MESSAGE_INCOMPAT         (0x65)     /* Message not compatible with protocol state */
#define CAUSE_TIMER                    (0x66)     /* Recovery on timer expiry       */
#define CAUSE_PROTOCOL                 (0x6f)     /* Protocol error, unspecified    */
#define CAUSE_INTERWORKING             (0x7f)     /* Interworking, unspecified      */

/*
 * Value constants for VAL_cs2
 */
#define CS_Q931                        (0x0)      /* standardized coding as described in CCITT Rec. Q.931 */
#define CS_INTERNATIONAL               (0x1)      /* reserved for other international standards */
#define CS_NATIONAL                    (0x2)      /* national standard              */
#define CS_GSM_PLMN                    (0x3)      /* standard defined for the GSM PLMNS as described in 10.86/GSM 04.08 */

/*
 * Value constants for VAL_loc
 */
#define VAL_LOC___DEF                  (0x0)      /* reserved                       */
#define LOC_USER                       (0x0)      /* user                           */
#define LOC_PRIV_NET_LOCAL_USER        (0x1)      /* private network serving the local user */
#define LOC_PUB_NET_LOCAL_USER         (0x2)      /* public network serving the local user */
#define LOC_TRANSIT_NET                (0x3)      /* transit network                */
#define LOC_PUB_NET_REMOTE_USER        (0x4)      /* public network serving the remote user */
#define LOC_PRIV_NET_REMOTE_USER       (0x5)      /* private network serving the remote user */
#define LOC_INTERNATIONAL_NET          (0x7)      /* international network          */
#define LOC_BEYOND_POINT               (0xa)      /* network beyond interworking point */

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

#include "CDG_LEAVE.h"


#endif