view cdg-hybrid/cdginc/p_mphp.h @ 78:c632896652ba

mfw/ti1_key.c: properly initialize notified_keys array The code in this ti1_key.c layer needs to call kpd_subscribe() and kpd_define_key_notification() functions in order to register with the KPD driver. The original code passed KPD_NB_PHYSICAL_KEYS in nb_notified_keys - this constant is defined to 24 in kpd_cfg.h on all platforms of interest to us - but it only filled the first 23 slots in the notified_keys array, resulting in stack garbage being passed to KPD API functions. The fix consists of initializing the last missed array slot to KPD_KEY_RECORD, the key ID for the right side button on the D-Sample handset. On our current hw targets this "Record" button exists as the EXTRA button on our Luna keypad board and as the camera button on the Pirelli DP-L10. There is no support whatsoever for this button in current BMI+MFW, we have no plans of doing anything with Pirelli's camera button even if we do get our UI fw running on that phone, and the Mother's dream of building our own FreeCalypso handset with the same button arrangement as D-Sample (including the right side button) is currently very nebulous - but let us nonetheless handle the full set of buttons on the KPD to MFW interface, and let upper layers weed out unsupported buttons.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Oct 2020 23:41:01 +0000
parents 35f7a1dc9f7d
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_mphp.h                                                       |
| SOURCE  : "sap\mphp.pdf"                                                 |
| LastModified : "2003-01-13"                                              |
| IdAndVersion : "8441.100.03.011"                                         |
| SrcFileTime  : "Mon Nov 24 15:49:34 2003"                                |
| 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_MPHP_H
#define P_MPHP_H


#define CDG_ENTER__P_MPHP_H

#define CDG_ENTER__FILENAME _P_MPHP_H
#define CDG_ENTER__P_MPHP_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_MPHP_H__LAST_MODIFIED _2003_01_13
#define CDG_ENTER__P_MPHP_H__ID_AND_VERSION _8441_100_03_011

#define CDG_ENTER__P_MPHP_H__SRC_FILE_TIME _Mon_Nov_24_15_49_34_2003

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_MPHP_H

#undef CDG_ENTER__FILENAME


#include "p_mphp.val"

#ifndef __T_int_meas_rxlev__
#define __T_int_meas_rxlev__
/*
 * Idle Int. Meas. Level
 * CCDGEN:WriteStruct_Count==2208
 */
typedef struct
{
  U8                        rx_lev[2];                /*<  0:  2>                                                    */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_int_meas_rxlev;
#endif

#ifndef __T_p_timing_advance__
#define __T_p_timing_advance__
/*
 * 
 * CCDGEN:WriteStruct_Count==2209
 */
typedef struct
{
  U8                        ta_value;                 /*<  0:  1>                                                    */
  U8                        ta_index;                 /*<  1:  1>                                                    */
  U8                        tn;                       /*<  2:  1> timeslot number                                    */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_p_timing_advance;
#endif

#ifndef __T_p_dl_alloc__
#define __T_p_dl_alloc__
/*
 * 
 * CCDGEN:WriteStruct_Count==2210
 */
typedef struct
{
  U8                        dl_tfi;                   /*<  0:  1>                                                    */
  U8                        ts_mask;                  /*<  1:  1>                                                    */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_p_dl_alloc;
#endif

#ifndef __T_p_dynamic_alloc__
#define __T_p_dynamic_alloc__
/*
 * 
 * CCDGEN:WriteStruct_Count==2211
 */
typedef struct
{
  U8                        usf_table[MAX_USF_TABLE]; /*<  0:  8>                                                    */
  U8                        usf_gran;                 /*<  8:  1>                                                    */
  U8                        _align0;                  /*<  9:  1> alignment                                          */
  U8                        _align1;                  /*< 10:  1> alignment                                          */
  U8                        _align2;                  /*< 11:  1> alignment                                          */
} T_p_dynamic_alloc;
#endif

#ifndef __T_p_fixed_alloc__
#define __T_p_fixed_alloc__
/*
 * 
 * CCDGEN:WriteStruct_Count==2212
 */
typedef struct
{
  U8                        dl_ctrl_ts;               /*<  0:  1>                                                    */
  U8                        size_bitmap;              /*<  1:  1>                                                    */
  U8                        bitmap[MAX_ALLOC_BITMAP]; /*<  2:127>                                                    */
  U8                        _align0;                  /*<129:  1> alignment                                          */
  U8                        _align1;                  /*<130:  1> alignment                                          */
  U8                        _align2;                  /*<131:  1> alignment                                          */
} T_p_fixed_alloc;
#endif

#ifndef __T_p_ul_alloc__
#define __T_p_ul_alloc__
/*
 * 
 * CCDGEN:WriteStruct_Count==2213
 */
typedef struct
{
  U8                        ul_tfi;                   /*<  0:  1>                                                    */
  U8                        ts_mask;                  /*<  1:  1>                                                    */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_p_dynamic_alloc         p_dynamic_alloc;          /*<  4: 12>                                                    */
  T_p_fixed_alloc           p_fixed_alloc;            /*< 16:132>                                                    */
} T_p_ul_alloc;
#endif

#ifndef __T_p_tbf_start__
#define __T_p_tbf_start__
/*
 * 
 * CCDGEN:WriteStruct_Count==2214
 */
typedef struct
{
  U8                        tbf_start_present;        /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
  U32                       fn;                       /*<  4:  4> full frame number                                  */
} T_p_tbf_start;
#endif

#ifndef __T_p_ncell_meas__
#define __T_p_ncell_meas__
/*
 * 
 * CCDGEN:WriteStruct_Count==2215
 */
typedef struct
{
  U8                        rxlev;                    /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_p_ncell_meas;
#endif

#ifndef __T_p_rf_ch__
#define __T_p_rf_ch__
/*
 * 
 * CCDGEN:WriteStruct_Count==2216
 */
typedef struct
{
  U16                       arfcn;                    /*<  0:  2> channel number                                     */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_p_rf_ch;
#endif

#ifndef __T_p_chan_sel__
#define __T_p_chan_sel__
/*
 * 
 * CCDGEN:WriteStruct_Count==2217
 */
typedef struct
{
  U8                        hopping;                  /*<  0:  1> hopping indicator                                  */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
  T_p_rf_ch                 p_rf_ch;                  /*<  4:  4>                                                    */
} T_p_chan_sel;
#endif

#ifndef __T_p_ch_des__
#define __T_p_ch_des__
/*
 * 
 * CCDGEN:WriteStruct_Count==2218
 */
typedef struct
{
  T_p_chan_sel              p_chan_sel;               /*<  0:  8>                                                    */
  U8                        tn;                       /*<  8:  1> timeslot number                                    */
  U8                        tsc;                      /*<  9:  1> training sequence number                           */
  U8                        _align0;                  /*< 10:  1> alignment                                          */
  U8                        _align1;                  /*< 11:  1> alignment                                          */
} T_p_ch_des;
#endif

#ifndef __T_p_dl_power__
#define __T_p_dl_power__
/*
 * 
 * CCDGEN:WriteStruct_Count==2219
 */
typedef struct
{
  U8                        p0;                       /*<  0:  1>                                                    */
  U8                        bts_pwr_ctl_mode;         /*<  1:  1> should be BOOL, but BOOL is not valid in SAP       */
  U8                        pr_mode;                  /*<  2:  1> should be BOOL, but BOOL is not valid in SAP       */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_p_dl_power;
#endif

#ifndef __T_p_rf_chan_no__
#define __T_p_rf_chan_no__
/*
 * Frequency list
 * CCDGEN:WriteStruct_Count==2220
 */
typedef struct
{
  U16                       p_radio_freq[MPHP_NUMC_MA]; /*<  0:128> Absolute Radio Frequency Number                    */
} T_p_rf_chan_no;
#endif

#ifndef __T_p_freq_list__
#define __T_p_freq_list__
/*
 * list of frequencies
 * CCDGEN:WriteStruct_Count==2221
 */
typedef struct
{
  U16                       p_rf_chan_cnt;            /*<  0:  2> Number of channels                                 */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_p_rf_chan_no            p_rf_chan_no;             /*<  4:128> Frequency list                                     */
} T_p_freq_list;
#endif

#ifndef __T_p_frequency_par__
#define __T_p_frequency_par__
/*
 * 
 * CCDGEN:WriteStruct_Count==2222
 */
typedef struct
{
  T_p_chan_sel              p_chan_sel;               /*<  0:  8>                                                    */
  T_p_freq_list             p_freq_list;              /*<  8:132> list of frequencies                                */
} T_p_frequency_par;
#endif


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

#ifndef __T_MPHP_SCELL_PBCCH_REQ__
#define __T_MPHP_SCELL_PBCCH_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2223
 */
typedef struct
{
  U8                        psi_nr;                   /*<  0:  1> Specifies the number of PSI to read                */
  U8                        bs_pbcch_blks;            /*<  1:  1> Number of PBCCH per multiframe                     */
  U8                        pb;                       /*<  2:  1>                                                    */
  U8                        psi1_rep_period;          /*<  3:  1> psi1 repeat period                                 */
  U8                        relative_pos_array[MAX_RELATIVE_POS]; /*<  4: 20> relative position to B0                            */
  T_p_ch_des                p_ch_des;                 /*< 24: 12>                                                    */
  T_p_freq_list             p_freq_list;              /*< 36:132> list of frequencies                                */
} T_MPHP_SCELL_PBCCH_REQ;
#endif

#ifndef __T_MPHP_DATA_IND__
#define __T_MPHP_DATA_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==2224
 */
typedef struct
{
  U16                       arfcn;                    /*<  0:  2> channel number                                     */
  U8                        l2_channel;               /*<  2:  1> layer 2 channel type                               */
  U8                        error_flag;               /*<  3:  1> validity of the data block                         */
  U8                        l2_frame[MAX_L2_FRAME_SIZE]; /*<  4: 23> decoded data                                       */
  U8                        relative_pos;             /*< 27:  1> relative position                                  */
  U8                        pccch_lev;                /*< 28:  1>                                                    */
  U8                        _align0;                  /*< 29:  1> alignment                                          */
  U8                        _align1;                  /*< 30:  1> alignment                                          */
  U8                        _align2;                  /*< 31:  1> alignment                                          */
  U32                       fn;                       /*< 32:  4> full frame number                                  */
} T_MPHP_DATA_IND;
#endif

#ifndef __T_MPHP_SCELL_PBCCH_STOP_REQ__
#define __T_MPHP_SCELL_PBCCH_STOP_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2225
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_SCELL_PBCCH_STOP_REQ;
#endif

#ifndef __T_MPHP_SCELL_PBCCH_STOP_CON__
#define __T_MPHP_SCELL_PBCCH_STOP_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2226
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_SCELL_PBCCH_STOP_CON;
#endif

#ifndef __T_MPHP_START_PCCCH_REQ__
#define __T_MPHP_START_PCCCH_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2227
 */
typedef struct
{
  U16                       imsi_mod;                 /*<  0:  2> see description                                    */
  U16                       kcn;                      /*<  2:  2>                                                    */
  U16                       split_pg_cycle;           /*<  4:  2> SPLIT_PG_CYCLE                                     */
  U8                        bs_pag_blks_res;          /*<  6:  1> BS_PAG_BLKS_RES                                    */
  U8                        bs_pbcch_blks;            /*<  7:  1> Number of PBCCH per multiframe                     */
  U8                        pb;                       /*<  8:  1>                                                    */
  U8                        page_mode;                /*<  9:  1> PAGE_MODE                                          */
  U8                        _align0;                  /*< 10:  1> alignment                                          */
  U8                        _align1;                  /*< 11:  1> alignment                                          */
  T_p_ch_des                p_ch_des;                 /*< 12: 12>                                                    */
  T_p_freq_list             p_freq_list;              /*< 24:132> list of frequencies                                */
} T_MPHP_START_PCCCH_REQ;
#endif

#ifndef __T_MPHP_STOP_PCCCH_REQ__
#define __T_MPHP_STOP_PCCCH_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2228
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_STOP_PCCCH_REQ;
#endif

#ifndef __T_MPHP_STOP_PCCCH_CON__
#define __T_MPHP_STOP_PCCCH_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2229
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_STOP_PCCCH_CON;
#endif

#ifndef __T_MPHP_CR_MEAS_REQ__
#define __T_MPHP_CR_MEAS_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2230
 */
typedef struct
{
  U8                        nb_carrier;               /*<  0:  1> neighbour cell carrier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       carrier_list[MPHP_NUMC_BA_GPRS_SC]; /*<  2: 66> List of carrier                                    */
  U8                        list_id;                  /*< 68:  1> List identifier                                    */
  U8                        _align1;                  /*< 69:  1> alignment                                          */
  U8                        _align2;                  /*< 70:  1> alignment                                          */
  U8                        _align3;                  /*< 71:  1> alignment                                          */
} T_MPHP_CR_MEAS_REQ;
#endif

#ifndef __T_MPHP_CR_MEAS_IND__
#define __T_MPHP_CR_MEAS_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==2231
 */
typedef struct
{
  U8                        nmeas;                    /*<  0:  1> Number of measurements                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
  T_p_ncell_meas            p_ncell_meas[MPHP_NUMC_BA_GPRS_SC]; /*<  4:132>                                                    */
  U8                        list_id;                  /*<136:  1> List identifier                                    */
  U8                        _align3;                  /*<137:  1> alignment                                          */
  U16                       reporting_period;         /*<138:  2> Reporting period                                   */
} T_MPHP_CR_MEAS_IND;
#endif

#ifndef __T_MPHP_CR_MEAS_STOP_REQ__
#define __T_MPHP_CR_MEAS_STOP_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2232
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_CR_MEAS_STOP_REQ;
#endif

#ifndef __T_MPHP_CR_MEAS_STOP_CON__
#define __T_MPHP_CR_MEAS_STOP_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2233
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_CR_MEAS_STOP_CON;
#endif

#ifndef __T_MPHP_INT_MEAS_REQ__
#define __T_MPHP_INT_MEAS_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2234
 */
typedef struct
{
  T_p_frequency_par         p_frequency_par;          /*<  0:140>                                                    */
  U8                        carrier_id;               /*<140:  1> Measurement Carrier Identifier                     */
  U8                        ts_mask;                  /*<141:  1>                                                    */
  U8                        m_class;                  /*<142:  1>                                                    */
  U8                        _align0;                  /*<143:  1> alignment                                          */
} T_MPHP_INT_MEAS_REQ;
#endif

#ifndef __T_MPHP_INT_MEAS_IND__
#define __T_MPHP_INT_MEAS_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==2235
 */
typedef struct
{
  T_int_meas_rxlev          int_meas_rxlev[8];        /*<  0: 32> Idle Int. Meas. Level                              */
  U8                        carrier_id;               /*< 32:  1> Measurement Carrier Identifier                     */
  U8                        _align0;                  /*< 33:  1> alignment                                          */
  U8                        _align1;                  /*< 34:  1> alignment                                          */
  U8                        _align2;                  /*< 35:  1> alignment                                          */
} T_MPHP_INT_MEAS_IND;
#endif

#ifndef __T_MPHP_INT_MEAS_STOP_REQ__
#define __T_MPHP_INT_MEAS_STOP_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2236
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_INT_MEAS_STOP_REQ;
#endif

#ifndef __T_MPHP_INT_MEAS_STOP_CON__
#define __T_MPHP_INT_MEAS_STOP_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2237
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_INT_MEAS_STOP_CON;
#endif

#ifndef __T_MPHP_NCELL_PBCCH_REQ__
#define __T_MPHP_NCELL_PBCCH_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2238
 */
typedef struct
{
  U8                        bs_pbcch_blks;            /*<  0:  1> Number of PBCCH per multiframe                     */
  U8                        pb;                       /*<  1:  1>                                                    */
  U8                        psi1_rep_period;          /*<  2:  1> psi1 repeat period                                 */
  U8                        relative_pos;             /*<  3:  1> relative position                                  */
  T_p_ch_des                p_ch_des;                 /*<  4: 12>                                                    */
  T_p_freq_list             p_freq_list;              /*< 16:132> list of frequencies                                */
  U16                       bcch_carrier;             /*<148:  2> BCCH Carrier                                       */
  U8                        _align0;                  /*<150:  1> alignment                                          */
  U8                        _align1;                  /*<151:  1> alignment                                          */
  U32                       fn_offset;                /*<152:  4> Frame number offset                                */
  U32                       time_alignment;           /*<156:  4> Time alignment                                     */
} T_MPHP_NCELL_PBCCH_REQ;
#endif

#ifndef __T_MPHP_NCELL_PBCCH_IND__
#define __T_MPHP_NCELL_PBCCH_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==2239
 */
typedef struct
{
  U16                       arfcn;                    /*<  0:  2> channel number                                     */
  U8                        l2_channel;               /*<  2:  1> layer 2 channel type                               */
  U8                        error_flag;               /*<  3:  1> validity of the data block                         */
  U8                        l2_frame[MAX_L2_FRAME_SIZE]; /*<  4: 23> decoded data                                       */
  U8                        relative_pos;             /*< 27:  1> relative position                                  */
  U8                        pccch_lev;                /*< 28:  1>                                                    */
  U8                        _align0;                  /*< 29:  1> alignment                                          */
  U8                        _align1;                  /*< 30:  1> alignment                                          */
  U8                        _align2;                  /*< 31:  1> alignment                                          */
  U32                       fn;                       /*< 32:  4> full frame number                                  */
} T_MPHP_NCELL_PBCCH_IND;
#endif

#ifndef __T_MPHP_NCELL_PBCCH_STOP_REQ__
#define __T_MPHP_NCELL_PBCCH_STOP_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2240
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_NCELL_PBCCH_STOP_REQ;
#endif

#ifndef __T_MPHP_NCELL_PBCCH_STOP_CON__
#define __T_MPHP_NCELL_PBCCH_STOP_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2241
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_NCELL_PBCCH_STOP_CON;
#endif

#ifndef __T_MPHP_RA_REQ__
#define __T_MPHP_RA_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2242
 */
typedef struct
{
  U8                        txpwr;                    /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       rand;                     /*<  2:  2>                                                    */
  U16                       channel_request_data;     /*<  4:  2>                                                    */
  U8                        bs_prach_blks;            /*<  6:  1>                                                    */
  U8                        burst_type;               /*<  7:  1>                                                    */
} T_MPHP_RA_REQ;
#endif

#ifndef __T_MPHP_RA_CON__
#define __T_MPHP_RA_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2243
 */
typedef struct
{
  U32                       fn;                       /*<  0:  4> full frame number                                  */
  U16                       channel_request_data;     /*<  4:  2>                                                    */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
} T_MPHP_RA_CON;
#endif

#ifndef __T_MPHP_RA_STOP_REQ__
#define __T_MPHP_RA_STOP_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2244
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_RA_STOP_REQ;
#endif

#ifndef __T_MPHP_RA_STOP_CON__
#define __T_MPHP_RA_STOP_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2245
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_RA_STOP_CON;
#endif

#ifndef __T_MPHP_POLLING_RESPONSE_REQ__
#define __T_MPHP_POLLING_RESPONSE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2246
 */
typedef struct
{
  U8                        poll_resp_type;           /*<  0:  1>                                                    */
  U8                        poll_data[MAX_L2_FRAME_SIZE + 1]; /*<  1: 24>                                                    */
  U8                        _align0;                  /*< 25:  1> alignment                                          */
  U8                        _align1;                  /*< 26:  1> alignment                                          */
  U8                        _align2;                  /*< 27:  1> alignment                                          */
  U32                       fn;                       /*< 28:  4> full frame number                                  */
  U8                        ta_index;                 /*< 32:  1>                                                    */
  U8                        txpwr;                    /*< 33:  1>                                                    */
  U8                        _align3;                  /*< 34:  1> alignment                                          */
  U8                        _align4;                  /*< 35:  1> alignment                                          */
} T_MPHP_POLLING_RESPONSE_REQ;
#endif

#ifndef __T_MPHP_POLLING_IND__
#define __T_MPHP_POLLING_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==2247
 */
typedef struct
{
  U32                       fn;                       /*<  0:  4> full frame number                                  */
} T_MPHP_POLLING_IND;
#endif

#ifndef __T_MPHP_ASSIGNMENT_REQ__
#define __T_MPHP_ASSIGNMENT_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2248
 */
typedef struct
{
  U8                        assign_id;                /*<  0:  1>                                                    */
  U8                        assign_cmd;               /*<  1:  1>                                                    */
  U8                        m_class;                  /*<  2:  1>                                                    */
  U8                        if_meas_enable;           /*<  3:  1>                                                    */
  U8                        pc_meas_chan;             /*<  4:  1>                                                    */
  U8                        burst_type;               /*<  5:  1>                                                    */
  U8                        _align0;                  /*<  6:  1> alignment                                          */
  U8                        _align1;                  /*<  7:  1> alignment                                          */
  T_p_timing_advance        p_timing_advance;         /*<  8:  4>                                                    */
  T_p_dl_power              p_dl_power;               /*< 12:  4>                                                    */
  U8                        tsc;                      /*< 16:  1> training sequence number                           */
  U8                        _align2;                  /*< 17:  1> alignment                                          */
  U8                        _align3;                  /*< 18:  1> alignment                                          */
  U8                        _align4;                  /*< 19:  1> alignment                                          */
  T_p_frequency_par         p_frequency_par;          /*< 20:140>                                                    */
  T_p_tbf_start             p_tbf_start;              /*<160:  8>                                                    */
  U8                        mac_mode;                 /*<168:  1>                                                    */
  U8                        _align5;                  /*<169:  1> alignment                                          */
  U8                        _align6;                  /*<170:  1> alignment                                          */
  U8                        _align7;                  /*<171:  1> alignment                                          */
  T_p_dl_alloc              p_dl_alloc;               /*<172:  4>                                                    */
  T_p_ul_alloc              p_ul_alloc;               /*<176:148>                                                    */
} T_MPHP_ASSIGNMENT_REQ;
#endif

#ifndef __T_MPHP_ASSIGNMENT_CON__
#define __T_MPHP_ASSIGNMENT_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2249
 */
typedef struct
{
  U8                        assign_id;                /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MPHP_ASSIGNMENT_CON;
#endif

#ifndef __T_MPHP_REPEAT_UL_FIXED_ALLOC_REQ__
#define __T_MPHP_REPEAT_UL_FIXED_ALLOC_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2250
 */
typedef struct
{
  U8                        repeat_alloc;             /*<  0:  1>                                                    */
  U8                        ts_override;              /*<  1:  1>                                                    */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_p_tbf_start             p_tbf_start;              /*<  4:  8>                                                    */
} T_MPHP_REPEAT_UL_FIXED_ALLOC_REQ;
#endif

#ifndef __T_MPHP_REPEAT_UL_FIXED_ALLOC_CON__
#define __T_MPHP_REPEAT_UL_FIXED_ALLOC_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2251
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_REPEAT_UL_FIXED_ALLOC_CON;
#endif

#ifndef __T_MPHP_SINGLE_BLOCK_REQ__
#define __T_MPHP_SINGLE_BLOCK_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2252
 */
typedef struct
{
  U8                        assign_id;                /*<  0:  1>                                                    */
  U8                        purpose;                  /*<  1:  1>                                                    */
  U8                        pc_meas_chan;             /*<  2:  1>                                                    */
  U8                        burst_type;               /*<  3:  1>                                                    */
  T_p_timing_advance        p_timing_advance;         /*<  4:  4>                                                    */
  T_p_dl_power              p_dl_power;               /*<  8:  4>                                                    */
  U8                        tsc;                      /*< 12:  1> training sequence number                           */
  U8                        _align0;                  /*< 13:  1> alignment                                          */
  U8                        _align1;                  /*< 14:  1> alignment                                          */
  U8                        _align2;                  /*< 15:  1> alignment                                          */
  T_p_frequency_par         p_frequency_par;          /*< 16:140>                                                    */
  T_p_tbf_start             p_tbf_start;              /*<156:  8>                                                    */
  U8                        tn;                       /*<164:  1> timeslot number                                    */
  U8                        l2_frame[MAX_L2_FRAME_SIZE]; /*<165: 23> decoded data                                       */
} T_MPHP_SINGLE_BLOCK_REQ;
#endif

#ifndef __T_MPHP_SINGLE_BLOCK_CON__
#define __T_MPHP_SINGLE_BLOCK_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2253
 */
typedef struct
{
  U8                        assign_id;                /*<  0:  1>                                                    */
  U8                        purpose;                  /*<  1:  1>                                                    */
  U8                        sb_status;                /*<  2:  1>                                                    */
  U8                        dl_error;                 /*<  3:  1>                                                    */
  U8                        l2_frame[MAX_L2_FRAME_SIZE]; /*<  4: 23> decoded data                                       */
  U8                        _align0;                  /*< 27:  1> alignment                                          */
} T_MPHP_SINGLE_BLOCK_CON;
#endif

#ifndef __T_MPHP_STOP_SINGLE_BLOCK_REQ__
#define __T_MPHP_STOP_SINGLE_BLOCK_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2254
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_STOP_SINGLE_BLOCK_REQ;
#endif

#ifndef __T_MPHP_STOP_SINGLE_BLOCK_CON__
#define __T_MPHP_STOP_SINGLE_BLOCK_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2255
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_STOP_SINGLE_BLOCK_CON;
#endif

#ifndef __T_MPHP_TBF_RELEASE_REQ__
#define __T_MPHP_TBF_RELEASE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2256
 */
typedef struct
{
  U8                        tbf_type;                 /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MPHP_TBF_RELEASE_REQ;
#endif

#ifndef __T_MPHP_TBF_RELEASE_CON__
#define __T_MPHP_TBF_RELEASE_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2257
 */
typedef struct
{
  U8                        tbf_type;                 /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MPHP_TBF_RELEASE_CON;
#endif

#ifndef __T_MPHP_PDCH_RELEASE_REQ__
#define __T_MPHP_PDCH_RELEASE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2258
 */
typedef struct
{
  U8                        assign_id;                /*<  0:  1>                                                    */
  U8                        ts_mask;                  /*<  1:  1>                                                    */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MPHP_PDCH_RELEASE_REQ;
#endif

#ifndef __T_MPHP_PDCH_RELEASE_CON__
#define __T_MPHP_PDCH_RELEASE_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2259
 */
typedef struct
{
  U8                        assign_id;                /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MPHP_PDCH_RELEASE_CON;
#endif

#ifndef __T_MPHP_TIMING_ADVANCE_REQ__
#define __T_MPHP_TIMING_ADVANCE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2260
 */
typedef struct
{
  U8                        assign_id;                /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
  T_p_timing_advance        p_timing_advance;         /*<  4:  4>                                                    */
} T_MPHP_TIMING_ADVANCE_REQ;
#endif

#ifndef __T_MPHP_TIMING_ADVANCE_CON__
#define __T_MPHP_TIMING_ADVANCE_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2261
 */
typedef struct
{
  U8                        assign_id;                /*<  0:  1>                                                    */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MPHP_TIMING_ADVANCE_CON;
#endif

#ifndef __T_MPHP_UPDATE_PSI_PARAM_REQ__
#define __T_MPHP_UPDATE_PSI_PARAM_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2262
 */
typedef struct
{
  U8                        pb;                       /*<  0:  1>                                                    */
  U8                        burst_type;               /*<  1:  1>                                                    */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MPHP_UPDATE_PSI_PARAM_REQ;
#endif

#ifndef __T_MPHP_UPDATE_PSI_PARAM_CON__
#define __T_MPHP_UPDATE_PSI_PARAM_CON__
/*
 * 
 * CCDGEN:WriteStruct_Count==2263
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MPHP_UPDATE_PSI_PARAM_CON;
#endif

#ifndef __T_MPHP_TCR_MEAS_REQ__
#define __T_MPHP_TCR_MEAS_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==2264
 */
typedef struct
{
  U8                        nb_carrier;               /*<  0:  1> neighbour cell carrier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       carrier_list[MPHP_NUMC_BA_GPRS_SC]; /*<  2: 66> List of carrier                                    */
  U8                        list_id;                  /*< 68:  1> List identifier                                    */
  U8                        _align1;                  /*< 69:  1> alignment                                          */
  U8                        _align2;                  /*< 70:  1> alignment                                          */
  U8                        _align3;                  /*< 71:  1> alignment                                          */
} T_MPHP_TCR_MEAS_REQ;
#endif

#ifndef __T_MPHP_TCR_MEAS_IND__
#define __T_MPHP_TCR_MEAS_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==2265
 */
typedef struct
{
  U16                       acc_level[MPHP_NUMC_BA_GPRS_SC]; /*<  0: 66>                                                    */
  U8                        acc_nbr[MPHP_NUMC_BA_GPRS_SC]; /*< 66: 33>                                                    */
  U8                        list_id;                  /*< 99:  1> List identifier                                    */
} T_MPHP_TCR_MEAS_IND;
#endif

#ifndef __T_MPHP_TINT_MEAS_IND__
#define __T_MPHP_TINT_MEAS_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==2266
 */
typedef struct
{
  T_int_meas_rxlev          int_meas_rxlev[8];        /*<  0: 32> Idle Int. Meas. Level                              */
  U8                        carrier_id;               /*< 32:  1> Measurement Carrier Identifier                     */
  U8                        _align0;                  /*< 33:  1> alignment                                          */
  U8                        _align1;                  /*< 34:  1> alignment                                          */
  U8                        _align2;                  /*< 35:  1> alignment                                          */
} T_MPHP_TINT_MEAS_IND;
#endif


#include "CDG_LEAVE.h"


#endif