view cdg-hybrid/cdginc/p_llgmm.val @ 281:a75eefbf8be4

Phone boot with PWON: weed out short button presses Every standard end user phone has a design provision, most naturally implemented in firmware, whereby the PWON button effects a boot only if it is held down long enough - short presses of this PWON button are detected, assumed to be spurious and cause the fw to power back off instead of proceeding with boot. The present change introduces this standard function in FreeCalypso.
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 Sep 2021 02:03:08 +0000
parents 35f7a1dc9f7d
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_llgmm.val                                                    |
| SOURCE  : "sap\llgmm.pdf"                                                |
| LastModified : "2003-03-21"                                              |
| IdAndVersion : "8441.103.99.014"                                         |
| SrcFileTime  : "Thu Nov 29 09:44:54 2007"                                |
| Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016                   |
|           !!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 P_LLGMM_VAL
#define P_LLGMM_VAL


#define CDG_ENTER__P_LLGMM_VAL

#define CDG_ENTER__FILENAME _P_LLGMM_VAL
#define CDG_ENTER__P_LLGMM_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__P_LLGMM_VAL__LAST_MODIFIED _2003_03_21
#define CDG_ENTER__P_LLGMM_VAL__ID_AND_VERSION _8441_103_99_014

#define CDG_ENTER__P_LLGMM_VAL__SRC_FILE_TIME _Thu_Nov_29_09_44_54_2007

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_LLGMM_VAL

#undef CDG_ENTER__FILENAME


/*
 * Value constants for VAL_ciphering_algorithm
 */
#define LLGMM_CIPHER_NO_ALGORITHM      (0x0)      /* no ciphering algorithm         */
#define LLGMM_CIPHER_GPRS_A5_1         (0x1)      /* GPRS A5/1 ciphering algorithm  */
#define LLGMM_CIPHER_GPRS_A5_2         (0x2)      /* GPRS A5/2 ciphering algorithm  */
#define LLGMM_CIPHER_NA                (0xff)     /* value n/a                      */

/*
 * Value constants for VAL_trigger_cause
 */
#define LLGMM_TRICS_PAGE_RESPONSE      (0x1)      /* trigger was sent due to a received paging message */
#define LLGMM_TRICS_CELL_UPDATE        (0x3)      /* trigger was sent because of a cell update */
// VAL-FF: REL99  
// #define LLGMM_TRICS_CELL_UPDATE_NULL_FRAME (0x4)/* LLC can use NULL frame for cell updates */

/*
 * Value constants for VAL_error_cause
 */
#define VAL_ERROR_CAUSE___DEF          (0x0)      /* invalid error cause            */
#define LLGMM_ERRCS_INVALID_UA         (0xd064)   /* invalid UA response            */
#define LLGMM_ERRCS_SABM_INVALID_XID   (0xd065)   /* invalid XID response during connection establishment */
#define LLGMM_ERRCS_SABM_NO_PEER_RES   (0xd066)   /* no peer response during connection establishment */
#define LLGMM_ERRCS_XID_INVALID_XID    (0xd067)   /* invalid XID response during parameter negotiation */
#define LLGMM_ERRCS_XID_NO_PEER_RES    (0xd068)   /* no peer response during parameter negotiation */
#define LLGMM_ERRCS_DISC_NO_PEER_RES   (0xd069)   /* no peer response during release of connection */
#define LLGMM_ERRCS_MULT_ASS_TLLI      (0xd06a)   /* possible multiple assignment of a TLLI value */
#define LLGMM_ERRCS_DM1_RECEIVED       (0xd06b)   /* unsolicited DM response with F bit 1 in state ABM */
#define LLGMM_ERRCS_DM1_RECEIVED_REEST (0xd06c)   /* unsolicited DM response with F bit 1 in state Timer Recovery; re-establishment procedure initiated */
#define LLGMM_ERRCS_ACK_NO_PEER_RES_REEST (0xd06d)/* no peer response during waiting for acknowledgement; re-establishment procedure initiated */
#define LLGMM_ERRCS_PEER_BUSY_REEST    (0xd06e)   /* peer receiver busy condition; re-establishment procedure initiated */
#define LLGMM_ERRCS_FRMR_COND          (0xd06f)   /* frame rejection condition; frame discarded */
#define LLGMM_ERRCS_FRMR_COND_REEST    (0xd070)   /* frame rejection condition; re-establishment procedure initiated */
#define LLGMM_ERRCS_FRMR_RECEIVED      (0xd071)   /* FRMR response received; frame discarded */
#define LLGMM_ERRCS_L3_REEST           (0xd072)   /* layer 3 initiated re-establishment procedure */
#define LLGMM_ERRCS_PEER_REEST         (0xd073)   /* peer initiated re-establishment procedure */
#define LLGMM_ERRCS_DM0_RECEIVED_REEST (0xd074)   /* unsolicited DM response with F bit 0; re-establishment procedure initiated */

/*
 * Value constants for VAL_susp_cause
 */
#define VAL_SUSP_CAUSE___DEF           (0x0)      /* suspension because of Attach or RAU */
#define LLGMM_RAU                      (0x0)      /* suspension because of Attach or RAU, GRR has to be suspended */
#define LLGMM_CALL                     (0x1)      /* suspension because of GSM establishment request */
#define LLGMM_LIMITED                  (0x2)      /* suspension because of limited service */
#define LLGMM_PERIODIC_RAU             (0x3)      /* suspension because of periodic RAU */
#define LLGMM_NO_GPRS_SERVICE          (0x4)      /* suspension because of no service or no GPRS supported */

/*
 * user defined constants
 */
#define LLGMM_MAX_SEQ_NR               (0x1ff)    
#define LLGMM_NUM_SAPIS                (0x10)     
#define LLGMM_TLLI_INVALID             (0xffffffff)

#include "CDG_LEAVE.h"


#endif