view cdg211/cdginc/p_sn.h @ 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    : p_sn.h                                                         |
| SOURCE  : "__out__\g23m_dfile\prim\sn.pdf"                               |
| LastModified : "2001-10-08"                                              |
| IdAndVersion : "8441.110.99.006"                                         |
| SrcFileTime  : "Thu Feb 17 14:43:54 2005"                                |
| Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:16 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 P_SN_H
#define P_SN_H


#define CDG_ENTER__P_SN_H

#define CDG_ENTER__FILENAME _P_SN_H
#define CDG_ENTER__P_SN_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_SN_H__LAST_MODIFIED _2001_10_08
#define CDG_ENTER__P_SN_H__ID_AND_VERSION _8441_110_99_006

#define CDG_ENTER__P_SN_H__SRC_FILE_TIME _Thu_Feb_17_14_43_54_2005

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_SN_H

#undef CDG_ENTER__FILENAME


#include "p_sn.val"

#ifndef __T_desc_list2__
#define __T_desc_list2__
/*
 * list of generic data descriptors
 * CCDGEN:WriteStruct_Count==2150
 */
typedef struct
{
  U16                       list_len;                 /*<  0:  2> length in octets of whole data                     */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  U32                       first;                    /*<  4:  4> pointer to  generic data descriptors               */
} T_desc_list2;
#endif

#ifndef __T_reserved_data_ind1__
#define __T_reserved_data_ind1__
/*
 * to the segment to be confirmed
 * CCDGEN:WriteStruct_Count==2152
 */
typedef struct
{
  U8                        ref_nsapi;                /*<  0:  1> ref_nsapi                                          */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       ref_npdu_num;             /*<  2:  2> ref_npdu_num                                       */
  U8                        ref_seg_num;              /*<  4:  1> ref_seg_num                                        */
  U8                        _align1;                  /*<  5:  1> alignment                                          */
  U8                        _align2;                  /*<  6:  1> alignment                                          */
  U8                        _align3;                  /*<  7:  1> alignment                                          */
} T_reserved_data_ind1;
#endif

/*
 * to the segment to be confirmed
 * CCDGEN:WriteStruct_Count==2153
 */
#ifndef __T_reserved_unitdata_ind1__
#define __T_reserved_unitdata_ind1__
typedef T_reserved_data_ind1 T_reserved_unitdata_ind1;
#endif
/*
 * to the segment to be confirmed
 * CCDGEN:WriteStruct_Count==2154
 */
#ifndef __T_reserved_data_req2__
#define __T_reserved_data_req2__
typedef T_reserved_data_ind1 T_reserved_data_req2;
#endif
/*
 * to the segment to be confirmed
 * CCDGEN:WriteStruct_Count==2155
 */
#ifndef __T_reserved_unitdata_req2__
#define __T_reserved_unitdata_req2__
typedef T_reserved_data_ind1 T_reserved_unitdata_req2;
#endif

/*
 * End of substructure section, begin of primitive definition section
 */

#ifndef __T_SN_MODIFICATION_IND__
#define __T_SN_MODIFICATION_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==2156
 */
typedef struct
{
  U8                        ppp_hc;                   /*<  0:  1> header compression of PPP connection               */
  U8                        msid;                     /*<  1:  1> max slot identifier                                */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_SN_MODIFICATION_IND;
#endif

#ifndef __T_SN_COUNT_REQ__
#define __T_SN_COUNT_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2157
 */
typedef struct
{
  U8                        nsapi;                    /*<  0:  1> network layer service access point identifier      */
  U8                        reset;                    /*<  1:  1> reset flag                                         */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_SN_COUNT_REQ;
#endif

#ifndef __T_SN_COUNT_CNF__
#define __T_SN_COUNT_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==2158
 */
typedef struct
{
  U8                        nsapi;                    /*<  0:  1> network layer service access point identifier      */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
  U32                       octets_uplink;            /*<  4:  4> octets uplink                                      */
  U32                       octets_downlink;          /*<  8:  4> octets downlink                                    */
  U32                       packets_uplink;           /*< 12:  4> packets uplink                                     */
  U32                       packets_downlink;         /*< 16:  4> packets downlink                                   */
} T_SN_COUNT_CNF;
#endif

#ifndef __T_SN_SWITCH_REQ__
#define __T_SN_SWITCH_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2159
 */
typedef struct
{
  U8                        nsapi;                    /*<  0:  1> network layer service access point identifier      */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
  U32                       dti_linkid;               /*<  4:  4> DTI link identifier                                */
  U32                       dti_neighbor;             /*<  8:  4> DTI neighbor entity name                           */
  U8                        dti_direction;            /*< 12:  1> direction of DTI connection                        */
  U8                        _align3;                  /*< 13:  1> alignment                                          */
  U8                        _align4;                  /*< 14:  1> alignment                                          */
  U8                        _align5;                  /*< 15:  1> alignment                                          */
} T_SN_SWITCH_REQ;
#endif

#ifndef __T_SN_SWITCH_CNF__
#define __T_SN_SWITCH_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==2160
 */
typedef struct
{
  U8                        nsapi;                    /*<  0:  1> network layer service access point identifier      */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_SN_SWITCH_CNF;
#endif


#include "CDG_LEAVE.h"


#endif