view cdg3/cdginc-locosto/m_rr_short_pd.h @ 547:c3f2f79dc5b8

l1_rf12.c compiled-in default RF band tables: a round of cleanup * Uncalibrated default g_magic values changed from old Clara RF numbers (yes, Clara, not even Leonardo) to the approximately correct value for our current hw; * Uncalibrated default Rx and Tx channel calibration tables providing neutral correction values: fixed bogus ARFCNs from blind copy-n-paste between different bands; * Restored #if (ORDER2_TX_TEMP_CAL==1) in the Tx temperature compensation tables; * Fully rewrote the big comment before these rf_XXX structures to reflect the current situation. This change is part of the larger transition in FreeCalypso from reverse to forward engineering, from reconstruction of lost original bits to ongoing forward development and maintenance.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Nov 2018 19:57:34 +0000
parents c15047b3d00d
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : m_rr_short_pd.h                                                |
| SOURCE  : "msg\rr_short_pd.mdf"                                          |
| LastModified : "2003-11-06"                                              |
| IdAndVersion : "8010.602.03.001"                                         |
| SrcFileTime  : "Wed Nov 28 10:21:00 2007"                                |
| Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:52 2014                   |
|           !!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
 * CCDNAME: RR_SHORT
 */


#ifndef M_RR_SHORT_PD_H
#define M_RR_SHORT_PD_H


#define CDG_ENTER__M_RR_SHORT_PD_H

#define CDG_ENTER__FILENAME _M_RR_SHORT_PD_H
#define CDG_ENTER__M_RR_SHORT_PD_H__FILE_TYPE CDGINC
#define CDG_ENTER__M_RR_SHORT_PD_H__LAST_MODIFIED _2003_11_06
#define CDG_ENTER__M_RR_SHORT_PD_H__ID_AND_VERSION _8010_602_03_001

#define CDG_ENTER__M_RR_SHORT_PD_H__SRC_FILE_TIME _Wed_Nov_28_10_21_00_2007

#include "CDG_ENTER.h"

#undef CDG_ENTER__M_RR_SHORT_PD_H

#undef CDG_ENTER__FILENAME


#include "m_rr_short_pd.val"

#include "m_rr_com.h"

#ifndef __T_emp__
#define __T_emp__
/*
 * EM MEASUREMENT Parameters Description
 * CCDGEN:WriteStruct_Count==287
 */
typedef struct
{
  U8                        v_mr;                     /*<  0:  1> valid-flag                                         */
  U8                        mr;                       /*<  1:  1> Multiband Reporting                                */
  U8                        v_serv_band_rep;          /*<  2:  1> valid-flag                                         */
  U8                        serv_band_rep;            /*<  3:  1> Serving band reporting                             */
  U8                        scale_ord;                /*<  4:  1> Scale ord                                          */
  U8                        _align0;                  /*<  5:  1> alignment                                          */
  U8                        _align1;                  /*<  6:  1> alignment                                          */
  U8                        v_report_900;             /*<  7:  1> valid-flag                                         */
  T_report_900              report_900;               /*<  8:  4> Reporting 900 (type defined in "m_rr_com.h")       */
  U8                        _align2;                  /*< 12:  1> alignment                                          */
  U8                        _align3;                  /*< 13:  1> alignment                                          */
  U8                        _align4;                  /*< 14:  1> alignment                                          */
  U8                        v_report_1800;            /*< 15:  1> valid-flag                                         */
  T_report_1800             report_1800;              /*< 16:  4> Reporting 1800 (type defined in "m_rr_com.h")      */
  U8                        _align5;                  /*< 20:  1> alignment                                          */
  U8                        _align6;                  /*< 21:  1> alignment                                          */
  U8                        _align7;                  /*< 22:  1> alignment                                          */
  U8                        v_report_400;             /*< 23:  1> valid-flag                                         */
  T_report_400              report_400;               /*< 24:  4> Reporting 400 (type defined in "m_rr_com.h")       */
  U8                        _align8;                  /*< 28:  1> alignment                                          */
  U8                        _align9;                  /*< 29:  1> alignment                                          */
  U8                        _align10;                 /*< 30:  1> alignment                                          */
  U8                        v_report_1900;            /*< 31:  1> valid-flag                                         */
  T_report_1900             report_1900;              /*< 32:  4> Reporting 1900 (type defined in "m_rr_com.h")      */
  U8                        _align11;                 /*< 36:  1> alignment                                          */
  U8                        _align12;                 /*< 37:  1> alignment                                          */
  U8                        _align13;                 /*< 38:  1> alignment                                          */
  U8                        v_report_850;             /*< 39:  1> valid-flag                                         */
  T_report_850              report_850;               /*< 40:  4> Reporting 850 (type defined in "m_rr_com.h")       */
} T_emp;
#endif

#ifndef __T_i_bsic_i__
#define __T_i_bsic_i__
/*
 * Invalid BSIC Information
 * CCDGEN:WriteStruct_Count==288
 */
typedef struct
{
  U8                        ba_start_bsic;            /*<  0:  1> BA Index Start BSIC                                */
  U8                        bsic;                     /*<  1:  1> BSIC                                               */
  U8                        rxlev;                    /*<  2:  1> RX Level                                           */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_i_bsic_i;
#endif

#ifndef __T_mi_ext__
#define __T_mi_ext__
/*
 * MI 2G Extension
 * CCDGEN:WriteStruct_Count==289
 */
typedef struct
{
  U8                        e_len;                    /*<  0:  1> Extension Length                                   */
  U8                        c_extens;                 /*<  1:  1> counter                                            */
  U8                        extens[MAX_2GEXT];        /*<  2:132> Extension                                          */
  U8                        _align0;                  /*<134:  1> alignment                                          */
  U8                        _align1;                  /*<135:  1> alignment                                          */
} T_mi_ext;
#endif

#ifndef __T_scdata__
#define __T_scdata__
/*
 * Serving Cell Data
 * CCDGEN:WriteStruct_Count==290
 */
typedef struct
{
  U8                        dtx_used;                 /*<  0:  1> DTX USED                                           */
  U8                        rxlev;                    /*<  1:  1> RX Level                                           */
  U8                        rxqual_full;              /*<  2:  1> RX Quality Full Serving Cell                       */
  U8                        mean_bep;                 /*<  3:  1> Mean BEP                                           */
  U8                        cv_bep;                   /*<  4:  1> Coefficient of Variation of BEP                    */
  U8                        nr_rcvd_bl;               /*<  5:  1> Number Of Received Blocks                          */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
} T_scdata;
#endif

#ifndef __T_rep_q_arr__
#define __T_rep_q_arr__
/*
 * Structured Element
 * CCDGEN:WriteStruct_Count==291
 */
typedef struct
{
  U8                        v_rep_q;                  /*<  0:  1> valid-flag                                         */
  U8                        rep_q;                    /*<  1:  1> Reporting Quantity                                 */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_rep_q_arr;
#endif

#ifndef __T_em_rep__
#define __T_em_rep__
/*
 * EM Bitmap Type Reporting
 * CCDGEN:WriteStruct_Count==292
 */
typedef struct
{
  U8                        _align0;                  /*<  0:  1> alignment                                          */
  U8                        _align1;                  /*<  1:  1> alignment                                          */
  U8                        _align2;                  /*<  2:  1> alignment                                          */
  U8                        c_rep_q_arr;              /*<  3:  1> counter                                            */
  T_rep_q_arr               rep_q_arr[MAX_NNC];       /*<  4:384> Structured Element                                 */
} T_em_rep;
#endif


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

#ifndef __T_U_EMR__
#define __T_U_EMR__
/*
 * 
 * CCDGEN:WriteStruct_Count==293
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message Type                                       */
  U8                        sl2h;                     /*<  1:  1> Short Layer 2 Header                               */
  U8                        ba_ind;                   /*<  2:  1> BA Sequence Number indication                      */
  U8                        ba_ind_3g;                /*<  3:  1> 3G BA Sequence Number indication                   */
  U8                        bsic_seen;                /*<  4:  1> BSIC Seen                                          */
  U8                        scale;                    /*<  5:  1> Scale                                              */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        v_scdata;                 /*<  7:  1> valid-flag                                         */
  T_scdata                  scdata;                   /*<  8:  8> Serving Cell Data                                  */
  U8                        _align1;                  /*< 16:  1> alignment                                          */
  U8                        _align2;                  /*< 17:  1> alignment                                          */
  U8                        v_i_bsic_i;               /*< 18:  1> valid-flag                                         */
  U8                        c_i_bsic_i;               /*< 19:  1> counter                                            */
  T_i_bsic_i                i_bsic_i[MAX_BSICI];      /*< 20: 32> Invalid BSIC Information                           */
  U8                        _align3;                  /*< 52:  1> alignment                                          */
  U8                        _align4;                  /*< 53:  1> alignment                                          */
  U8                        _align5;                  /*< 54:  1> alignment                                          */
  U8                        v_em_rep;                 /*< 55:  1> valid-flag                                         */
  T_em_rep                  em_rep;                   /*< 56:388> EM Bitmap Type Reporting                           */
} T_U_EMR;
#endif

#ifndef __T_D_MEAS_INF__
#define __T_D_MEAS_INF__
/*
 * 
 * CCDGEN:WriteStruct_Count==294
 */
typedef struct
{
  U8                        msg_type;                 /*<  0:  1> Message Type                                       */
  U8                        sl2h;                     /*<  1:  1> Short Layer 2 Header                               */
  U8                        ba_ind;                   /*<  2:  1> BA Sequence Number indication                      */
  U8                        ba_ind_3g;                /*<  3:  1> 3G BA Sequence Number indication                   */
  U8                        mp_cm;                    /*<  4:  1> Measurement parameters change mark                 */
  U8                        mi_idx;                   /*<  5:  1> MI Index                                           */
  U8                        mi_c;                     /*<  6:  1> MI Counter                                         */
  U8                        pow_ctrl;                 /*<  7:  1> Power Control Indicator                            */
  U8                        report_type;              /*<  8:  1> Report Type                                        */
  U8                        rep_rate;                 /*<  9:  1> Reporting Rate                                     */
  U8                        inv_bsic_rep;             /*< 10:  1> Invalid BSIC reporting                             */
  U8                        v_rtdd;                   /*< 11:  1> valid-flag                                         */
  T_rtdd                    rtdd;                     /*< 12:452> GPRS Real Time Difference Description (type defined in "m_rr_com.h") */
  U8                        _align0;                  /*<464:  1> alignment                                          */
  U8                        _align1;                  /*<465:  1> alignment                                          */
  U8                        _align2;                  /*<466:  1> alignment                                          */
  U8                        v_gprs_bsic;              /*<467:  1> valid-flag                                         */
  T_gprs_bsic               gprs_bsic;                /*<468: 80> GPRS BSIC Description (type defined in "m_rr_com.h") */
  U8                        _align3;                  /*<548:  1> alignment                                          */
  U8                        _align4;                  /*<549:  1> alignment                                          */
  U8                        _align5;                  /*<550:  1> alignment                                          */
  U8                        v_gprs_rep_prio;          /*<551:  1> valid-flag                                         */
  T_gprs_rep_prio           gprs_rep_prio;            /*<552:100> GPRS REPORT PRIORITY Description (type defined in "m_rr_com.h") */
  U8                        _align6;                  /*<652:  1> alignment                                          */
  U8                        _align7;                  /*<653:  1> alignment                                          */
  U8                        _align8;                  /*<654:  1> alignment                                          */
  U8                        v_emp;                    /*<655:  1> valid-flag                                         */
  T_emp                     emp;                      /*<656: 44> EM MEASUREMENT Parameters Description              */
  U8                        _align9;                  /*<700:  1> alignment                                          */
  U8                        _align10;                 /*<701:  1> alignment                                          */
  U8                        _align11;                 /*<702:  1> alignment                                          */
  U8                        v_mi_ext;                 /*<703:  1> valid-flag                                         */
  T_mi_ext                  mi_ext;                   /*<704:136> MI 2G Extension                                    */
} T_D_MEAS_INF;
#endif


#include "CDG_LEAVE.h"


#endif