view cdg211/cdginc/p_sn.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 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