view cdg3/cdginc-locosto/p_mncc.h @ 636:57e67ca2e1cb

pcmdata.c: default +CGMI to "FreeCalypso" and +CGMM to model The present change has no effect whatsoever on Falconia-made and Openmoko-made devices on which /pcm/CGMI and /pcm/CGMM files have been programmed in FFS with sensible ID strings by the respective factories, but what should AT+CGMI and AT+CGMM queries return when the device is a Huawei GTM900 or Tango modem that has been converted to FreeCalypso with a firmware change? Before the present change they would return compiled-in defaults of "<manufacturer>" and "<model>", respectively; with the present change the firmware will self-identify as "FreeCalypso GTM900-FC" or "FreeCalypso Tango" on the two respective targets. This firmware identification will become important if someone incorporates an FC-converted GTM900 or Tango modem into a ZeroPhone-style smartphone where some high-level software like ofono will be talking to the modem and will need to properly identify this modem as FreeCalypso, as opposed to some other AT command modem flavor with different quirks. In technical terms, the compiled-in default for the AT+CGMI query (which will always be overridden by the /pcm/CGMI file in FFS if one is present) is now "FreeCalypso" in all configs on all targets; the compiled-in default for the AT+CGMM query (likewise always overridden by /pcm/CGMM if present) is "GTM900-FC" if CONFIG_TARGET_GTM900 or "Tango" if CONFIG_TARGET_TANGO or the original default of "<model>" otherwise.
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 19 Jan 2020 20:14:58 +0000
parents c15047b3d00d
children
line wrap: on
line source

/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_mncc.h                                                       |
| SOURCE  : "sap\mncc.pdf"                                                 |
| LastModified : "2003-07-03"                                              |
| IdAndVersion : "6147.101.96.116"                                         |
| SrcFileTime  : "Thu Nov 29 09:47:40 2007"                                |
| Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014                   |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : MNCC
 * COMPATIBILITY_DEFINES  : NO
 * ALWAYS_ENUM_IN_VAL_FILE: NO
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef P_MNCC_H
#define P_MNCC_H


#define CDG_ENTER__P_MNCC_H

#define CDG_ENTER__FILENAME _P_MNCC_H
#define CDG_ENTER__P_MNCC_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_MNCC_H__LAST_MODIFIED _2003_07_03
#define CDG_ENTER__P_MNCC_H__ID_AND_VERSION _6147_101_96_116

#define CDG_ENTER__P_MNCC_H__SRC_FILE_TIME _Thu_Nov_29_09_47_40_2007

#include "CDG_ENTER.h"

#undef CDG_ENTER__P_MNCC_H

#undef CDG_ENTER__FILENAME


#include "p_mncc.val"

#ifndef __T_MNCC_user__
#define __T_MNCC_user__
/*
 * user to user data
 * CCDGEN:WriteStruct_Count==1920
 */
typedef struct
{
  U8                        info_context;             /*<  0:  1> user to user message context                       */
  U8                        pd;                       /*<  1:  1> user to user protocol discriminator                */
  U8                        c_info;                   /*<  2:  1> length of user to user data                        */
  U8                        info[MNCC_USER_LEN];      /*<  3:128> user to user information                           */
  U8                        _align0;                  /*<131:  1> alignment                                          */
} T_MNCC_user;
#endif

#ifndef __T_MNCC_calling_party__
#define __T_MNCC_calling_party__
/*
 * calling party
 * CCDGEN:WriteStruct_Count==1921
 */
typedef struct
{
  U8                        ton;                      /*<  0:  1> type of number                                     */
  U8                        npi;                      /*<  1:  1> numbering plan identification                      */
  U8                        present;                  /*<  2:  1> presentation indicator                             */
  U8                        screen;                   /*<  3:  1> screening indicator                                */
  U8                        c_num;                    /*<  4:  1> number of BCD digits                               */
  U8                        num[MNCC_MAX_CC_CALLING_NUMBER]; /*<  5: 22> bcd                                                */
  U8                        _align0;                  /*< 27:  1> alignment                                          */
} T_MNCC_calling_party;
#endif

/*
 * connected number
 * CCDGEN:WriteStruct_Count==1922
 */
#ifndef __T_MNCC_connected_number__
#define __T_MNCC_connected_number__
typedef T_MNCC_calling_party T_MNCC_connected_number;
#endif
#ifndef __T_MNCC_called_party__
#define __T_MNCC_called_party__
/*
 * called party address
 * CCDGEN:WriteStruct_Count==1923
 */
typedef struct
{
  U8                        ton;                      /*<  0:  1> type of number                                     */
  U8                        npi;                      /*<  1:  1> numbering plan identification                      */
  U8                        c_called_num;             /*<  2:  1> number of BCD digits                               */
  U8                        called_num[MNCC_MAX_CC_CALLED_NUMBER]; /*<  3: 80> bcd                                                */
  U8                        _align0;                  /*< 83:  1> alignment                                          */
} T_MNCC_called_party;
#endif

#ifndef __T_MNCC_calling_party_sub__
#define __T_MNCC_calling_party_sub__
/*
 * calling party subaddress
 * CCDGEN:WriteStruct_Count==1924
 */
typedef struct
{
  U8                        tos;                      /*<  0:  1> type of subaddress                                 */
  U8                        odd_even;                 /*<  1:  1> odd / even indicator                               */
  U8                        c_subaddr;                /*<  2:  1> length of subaddress information                   */
  U8                        subaddr[MNCC_SUB_LENGTH]; /*<  3: 20> subaddress information                             */
  U8                        _align0;                  /*< 23:  1> alignment                                          */
} T_MNCC_calling_party_sub;
#endif

/*
 * called party subaddress
 * CCDGEN:WriteStruct_Count==1925
 */
#ifndef __T_MNCC_called_party_sub__
#define __T_MNCC_called_party_sub__
typedef T_MNCC_calling_party_sub T_MNCC_called_party_sub;
#endif
/*
 * connected number subaddress
 * CCDGEN:WriteStruct_Count==1926
 */
#ifndef __T_MNCC_connected_number_sub__
#define __T_MNCC_connected_number_sub__
typedef T_MNCC_calling_party_sub T_MNCC_connected_number_sub;
#endif
/*
 * redirecting party subaddress
 * CCDGEN:WriteStruct_Count==1927
 */
#ifndef __T_MNCC_redirecting_party_sub__
#define __T_MNCC_redirecting_party_sub__
typedef T_MNCC_calling_party_sub T_MNCC_redirecting_party_sub;
#endif
#ifndef __T_MNCC_ch_info__
#define __T_MNCC_ch_info__
/*
 * Channel using mode
 * CCDGEN:WriteStruct_Count==1928
 */
typedef struct
{
  U8                        ch_type;                  /*<  0:  1> Channel Type                                       */
  U8                        ch_mode;                  /*<  1:  1> Channel Mode                                       */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MNCC_ch_info;
#endif

#ifndef __T_MNCC_bcpara__
#define __T_MNCC_bcpara__
/*
 * bearer capability parameter
 * CCDGEN:WriteStruct_Count==1929
 */
typedef struct
{
  U8                        rate;                     /*<  0:  1> user rate                                          */
  U8                        bearer_serv;              /*<  1:  1> bearer service                                     */
  U8                        conn_elem;                /*<  2:  1> connection element                                 */
  U8                        stop_bits;                /*<  3:  1> stop bits                                          */
  U8                        data_bits;                /*<  4:  1> data bits                                          */
  U8                        parity;                   /*<  5:  1> parity                                             */
  U8                        flow_control;             /*<  6:  1> flow control                                       */
  U8                        modem_type;               /*<  7:  1> modem type                                         */
  U8                        rate_adaption;            /*<  8:  1> rate_adaption                                      */
  U8                        transfer_cap;             /*<  9:  1> transfer_cap                                       */
  U8                        rad_chan_req;             /*< 10:  1> rad_chan_req                                       */
  U8                        _align0;                  /*< 11:  1> alignment                                          */
} T_MNCC_bcpara;
#endif

/*
 * bearer capability parameter
 * CCDGEN:WriteStruct_Count==1930
 */
#ifndef __T_MNCC_bcpara2__
#define __T_MNCC_bcpara2__
typedef T_MNCC_bcpara T_MNCC_bcpara2;
#endif
#ifndef __T_MNCC_fac_inf__
#define __T_MNCC_fac_inf__
/*
 * facility information
 * CCDGEN:WriteStruct_Count==1931
 */
typedef struct
{
  U16                       l_fac;                    /*<  0:  2> facility length                                    */
  U16                       o_fac;                    /*<  2:  2> facility offset                                    */
  U8                        fac[MNCC_FACILITY_LEN];   /*<  4:251> facility content                                   */
  U8                        _align0;                  /*<255:  1> alignment                                          */
} T_MNCC_fac_inf;
#endif

#ifndef __T_MNCC_bcconf__
#define __T_MNCC_bcconf__
/*
 * bearer capability configuration
 * CCDGEN:WriteStruct_Count==1932
 */
typedef struct
{
  U8                        bc_len;                   /*<  0:  1> coded bearer cap length                            */
  U8                        bc[MNCC_MAX_BC_LEN];      /*<  1: 10> coded bearer cap                                   */
  U8                        _align0;                  /*< 11:  1> alignment                                          */
} T_MNCC_bcconf;
#endif

/*
 * second bearer capability configuration
 * CCDGEN:WriteStruct_Count==1933
 */
#ifndef __T_MNCC_bcconf2__
#define __T_MNCC_bcconf2__
typedef T_MNCC_bcconf T_MNCC_bcconf2;
#endif
#ifndef __T_MNCC_redirecting_party__
#define __T_MNCC_redirecting_party__
/*
 * redirecting party address
 * CCDGEN:WriteStruct_Count==1934
 */
typedef struct
{
  U8                        ton;                      /*<  0:  1> type of number                                     */
  U8                        npi;                      /*<  1:  1> numbering plan identification                      */
  U8                        present;                  /*<  2:  1> presentation indicator                             */
  U8                        screen;                   /*<  3:  1> screening indicator                                */
  U8                        c_redir_num;              /*<  4:  1> number of BCD digits                               */
  U8                        redir_num[MNCC_MAX_CC_REDIR_NUMBER]; /*<  5: 32> bcd                                                */
  U8                        _align0;                  /*< 37:  1> alignment                                          */
  U8                        _align1;                  /*< 38:  1> alignment                                          */
  U8                        _align2;                  /*< 39:  1> alignment                                          */
} T_MNCC_redirecting_party;
#endif


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

#ifndef __T_MNCC_ALERT_IND__
#define __T_MNCC_ALERT_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1935
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        progress_desc;            /*<  1:  1> progress description                               */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MNCC_ALERT_IND;
#endif

#ifndef __T_MNCC_CALL_PROCEED_IND__
#define __T_MNCC_CALL_PROCEED_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1936
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        progress_desc;            /*<  1:  1> progress description                               */
  U8                        ri;                       /*<  2:  1> repeat indicator                                   */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
  T_MNCC_bcpara             bcpara;                   /*<  4: 12> bearer capability parameter                        */
  T_MNCC_bcpara2            bcpara2;                  /*< 16: 12> bearer capability parameter                        */
} T_MNCC_CALL_PROCEED_IND;
#endif

#ifndef __T_MNCC_DISCONNECT_IND__
#define __T_MNCC_DISCONNECT_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1937
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
  U8                        diagnostic;               /*<  4:  1> Diagnostic Information                             */
  U8                        ss_diag;                  /*<  5:  1> Supplementary Diagnostic Element                   */
  U8                        progress_desc;            /*<  6:  1> progress description                               */
  U8                        c_raw_cause;              /*<  7:  1> Number of cause bytes                              */
  U8                        raw_cause[MNCC_MAX_CC_CAUSE_LENGTH]; /*<  8: 30> cause as received from network                     */
  U8                        _align1;                  /*< 38:  1> alignment                                          */
  U8                        _align2;                  /*< 39:  1> alignment                                          */
} T_MNCC_DISCONNECT_IND;
#endif

#ifndef __T_MNCC_HOLD_CNF__
#define __T_MNCC_HOLD_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1938
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
} T_MNCC_HOLD_CNF;
#endif

#ifndef __T_MNCC_MODIFY_CNF__
#define __T_MNCC_MODIFY_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1939
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
  U8                        c_raw_cause;              /*<  4:  1> Number of cause bytes                              */
  U8                        raw_cause[MNCC_MAX_CC_CAUSE_LENGTH]; /*<  5: 30> cause as received from network                     */
  U8                        _align1;                  /*< 35:  1> alignment                                          */
} T_MNCC_MODIFY_CNF;
#endif

#ifndef __T_MNCC_MODIFY_IND__
#define __T_MNCC_MODIFY_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1940
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        serv;                     /*<  1:  1> service code                                       */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MNCC_MODIFY_IND;
#endif

#ifndef __T_MNCC_NOTIFY_IND__
#define __T_MNCC_NOTIFY_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1941
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        nd;                       /*<  1:  1> notification description                           */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MNCC_NOTIFY_IND;
#endif

#ifndef __T_MNCC_PROGRESS_IND__
#define __T_MNCC_PROGRESS_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1942
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        progress_desc;            /*<  1:  1> progress description                               */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MNCC_PROGRESS_IND;
#endif

#ifndef __T_MNCC_REJECT_IND__
#define __T_MNCC_REJECT_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1943
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
} T_MNCC_REJECT_IND;
#endif

#ifndef __T_MNCC_RELEASE_CNF__
#define __T_MNCC_RELEASE_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1944
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
  U8                        c_raw_cause;              /*<  4:  1> Number of cause bytes                              */
  U8                        raw_cause[MNCC_MAX_CC_CAUSE_LENGTH]; /*<  5: 30> cause as received from network                     */
  U8                        _align1;                  /*< 35:  1> alignment                                          */
} T_MNCC_RELEASE_CNF;
#endif

#ifndef __T_MNCC_RELEASE_IND__
#define __T_MNCC_RELEASE_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1945
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
  U8                        c_raw_cause;              /*<  4:  1> Number of cause bytes                              */
  U8                        raw_cause[MNCC_MAX_CC_CAUSE_LENGTH]; /*<  5: 30> cause as received from network                     */
  U8                        _align1;                  /*< 35:  1> alignment                                          */
} T_MNCC_RELEASE_IND;
#endif

#ifndef __T_MNCC_RETRIEVE_CNF__
#define __T_MNCC_RETRIEVE_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1946
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
} T_MNCC_RETRIEVE_CNF;
#endif

#ifndef __T_MNCC_SETUP_CNF__
#define __T_MNCC_SETUP_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1947
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
  U8                        progress_desc;            /*<  4:  1> progress description                               */
  U8                        _align1;                  /*<  5:  1> alignment                                          */
  U8                        _align2;                  /*<  6:  1> alignment                                          */
  U8                        _align3;                  /*<  7:  1> alignment                                          */
  T_MNCC_connected_number   connected_number;         /*<  8: 28> connected number                                   */
  T_MNCC_connected_number_sub connected_number_sub;   /*< 36: 24> connected number subaddress                        */
} T_MNCC_SETUP_CNF;
#endif

#ifndef __T_MNCC_SETUP_COMPL_IND__
#define __T_MNCC_SETUP_COMPL_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1948
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
} T_MNCC_SETUP_COMPL_IND;
#endif

#ifndef __T_MNCC_SETUP_IND__
#define __T_MNCC_SETUP_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1949
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        ri;                       /*<  1:  1> repeat indicator                                   */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_MNCC_bcpara             bcpara;                   /*<  4: 12> bearer capability parameter                        */
  T_MNCC_bcpara2            bcpara2;                  /*< 16: 12> bearer capability parameter                        */
  U8                        progress_desc;            /*< 28:  1> progress description                               */
  U8                        sig;                      /*< 29:  1> signal                                             */
  U8                        _align2;                  /*< 30:  1> alignment                                          */
  U8                        _align3;                  /*< 31:  1> alignment                                          */
  T_MNCC_calling_party      calling_party;            /*< 32: 28> calling party                                      */
  T_MNCC_calling_party_sub  calling_party_sub;        /*< 60: 24> calling party subaddress                           */
  T_MNCC_called_party       called_party;             /*< 84: 84> called party address                               */
  T_MNCC_called_party_sub   called_party_sub;         /*<168: 24> called party subaddress                            */
  T_MNCC_redirecting_party  redirecting_party;        /*<192: 40> redirecting party address                          */
  T_MNCC_redirecting_party_sub redirecting_party_sub; /*<232: 24> redirecting party subaddress                       */
} T_MNCC_SETUP_IND;
#endif

#ifndef __T_MNCC_START_DTMF_CNF__
#define __T_MNCC_START_DTMF_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1950
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        key;                      /*<  1:  1> DTMF digit                                         */
  U16                       cause;                    /*<  2:  2> cause                                              */
  U8                        dtmf_mod;                 /*<  4:  1> Mode for sending DTMF digit                        */
  U8                        _align0;                  /*<  5:  1> alignment                                          */
  U8                        _align1;                  /*<  6:  1> alignment                                          */
  U8                        _align2;                  /*<  7:  1> alignment                                          */
} T_MNCC_START_DTMF_CNF;
#endif

#ifndef __T_MNCC_BEARER_CAP_CNF__
#define __T_MNCC_BEARER_CAP_CNF__
/*
 * 
 * CCDGEN:WriteStruct_Count==1951
 */
typedef struct
{
  U8                        req_id;                   /*<  0:  1> Request identifier of originator                   */
  U8                        bc_mod;                   /*<  1:  1> Mode for conversion of bearer capabilities         */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_MNCC_bcconf             bcconf;                   /*<  4: 12> bearer capability configuration                    */
  T_MNCC_bcpara             bcpara;                   /*< 16: 12> bearer capability parameter                        */
  T_MNCC_bcconf2            bcconf2;                  /*< 28: 12> second bearer capability configuration             */
  T_MNCC_bcpara2            bcpara2;                  /*< 40: 12> bearer capability parameter                        */
  U16                       cause;                    /*< 52:  2> cause                                              */
  U8                        _align2;                  /*< 54:  1> alignment                                          */
  U8                        _align3;                  /*< 55:  1> alignment                                          */
} T_MNCC_BEARER_CAP_CNF;
#endif

#ifndef __T_MNCC_SYNC_IND__
#define __T_MNCC_SYNC_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1952
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
  T_MNCC_ch_info            ch_info;                  /*<  4:  4> Channel using mode                                 */
} T_MNCC_SYNC_IND;
#endif

#ifndef __T_MNCC_USER_IND__
#define __T_MNCC_USER_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1953
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        congest_lev;              /*<  1:  1> Congestion Level                                   */
  U8                        more_data;                /*<  2:  1> more data                                          */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
  T_MNCC_user               user;                     /*<  4:132> user to user data                                  */
} T_MNCC_USER_IND;
#endif

#ifndef __T_MNCC_FACILITY_IND__
#define __T_MNCC_FACILITY_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1954
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        fac_context;              /*<  1:  1> facility information element context               */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_MNCC_fac_inf            fac_inf;                  /*<  4:256> facility information                               */
} T_MNCC_FACILITY_IND;
#endif

#ifndef __T_MNCC_PROMPT_IND__
#define __T_MNCC_PROMPT_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1955
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MNCC_PROMPT_IND;
#endif

#ifndef __T_MNCC_RECALL_IND__
#define __T_MNCC_RECALL_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1956
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        ri;                       /*<  1:  1> repeat indicator                                   */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_MNCC_bcpara             bcpara;                   /*<  4: 12> bearer capability parameter                        */
  T_MNCC_bcpara2            bcpara2;                  /*< 16: 12> bearer capability parameter                        */
  T_MNCC_called_party       called_party;             /*< 28: 84> called party address                               */
  T_MNCC_called_party_sub   called_party_sub;         /*<112: 24> called party subaddress                            */
  U8                        rcl_type;                 /*<136:  1> recall type                                        */
  U8                        _align2;                  /*<137:  1> alignment                                          */
  U8                        _align3;                  /*<138:  1> alignment                                          */
  U8                        _align4;                  /*<139:  1> alignment                                          */
} T_MNCC_RECALL_IND;
#endif

#ifndef __T_MNCC_STATUS_IND__
#define __T_MNCC_STATUS_IND__
/*
 * 
 * CCDGEN:WriteStruct_Count==1957
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MNCC_STATUS_IND;
#endif

#ifndef __T_MNCC_SETUP_REQ__
#define __T_MNCC_SETUP_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1958
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        prio;                     /*<  1:  1> priority                                           */
  U8                        ri;                       /*<  2:  1> repeat indicator                                   */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
  T_MNCC_bcpara             bcpara;                   /*<  4: 12> bearer capability parameter                        */
  T_MNCC_bcpara2            bcpara2;                  /*< 16: 12> bearer capability parameter                        */
  T_MNCC_called_party       called_party;             /*< 28: 84> called party address                               */
  T_MNCC_called_party_sub   called_party_sub;         /*<112: 24> called party subaddress                            */
  U8                        clir_sup;                 /*<136:  1> CLIR suppression                                   */
  U8                        _align1;                  /*<137:  1> alignment                                          */
  U8                        _align2;                  /*<138:  1> alignment                                          */
  U8                        _align3;                  /*<139:  1> alignment                                          */
  T_MNCC_fac_inf            fac_inf;                  /*<140:256> facility information                               */
} T_MNCC_SETUP_REQ;
#endif

#ifndef __T_MNCC_SETUP_RES__
#define __T_MNCC_SETUP_RES__
/*
 * 
 * CCDGEN:WriteStruct_Count==1959
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MNCC_SETUP_RES;
#endif

#ifndef __T_MNCC_ALERT_REQ__
#define __T_MNCC_ALERT_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1960
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MNCC_ALERT_REQ;
#endif

#ifndef __T_MNCC_DISCONNECT_REQ__
#define __T_MNCC_DISCONNECT_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1961
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
  T_MNCC_fac_inf            fac_inf;                  /*<  4:256> facility information                               */
  U8                        ss_version;               /*<260:  1> SS Version number                                  */
  U8                        _align1;                  /*<261:  1> alignment                                          */
  U8                        _align2;                  /*<262:  1> alignment                                          */
  U8                        _align3;                  /*<263:  1> alignment                                          */
} T_MNCC_DISCONNECT_REQ;
#endif

#ifndef __T_MNCC_RELEASE_REQ__
#define __T_MNCC_RELEASE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1962
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
  T_MNCC_fac_inf            fac_inf;                  /*<  4:256> facility information                               */
  U8                        ss_version;               /*<260:  1> SS Version number                                  */
  U8                        _align1;                  /*<261:  1> alignment                                          */
  U8                        _align2;                  /*<262:  1> alignment                                          */
  U8                        _align3;                  /*<263:  1> alignment                                          */
} T_MNCC_RELEASE_REQ;
#endif

#ifndef __T_MNCC_MODIFY_REQ__
#define __T_MNCC_MODIFY_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1963
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        serv;                     /*<  1:  1> service code                                       */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MNCC_MODIFY_REQ;
#endif

#ifndef __T_MNCC_CONFIGURE_REQ__
#define __T_MNCC_CONFIGURE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1964
 */
typedef struct
{
  T_MNCC_called_party_sub   called_party_sub;         /*<  0: 24> called party subaddress                            */
  T_MNCC_bcpara             bcpara;                   /*< 24: 12> bearer capability parameter                        */
  U8                        sns_mode;                 /*< 36:  1> Single numbering scheme mode                       */
  U8                        ctm_ena;                  /*< 37:  1> CTM support send to NW in BC indicating speech     */
  U8                        _align0;                  /*< 38:  1> alignment                                          */
  U8                        _align1;                  /*< 39:  1> alignment                                          */
} T_MNCC_CONFIGURE_REQ;
#endif

#ifndef __T_MNCC_NOTIFY_REQ__
#define __T_MNCC_NOTIFY_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1965
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        nd;                       /*<  1:  1> notification description                           */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
} T_MNCC_NOTIFY_REQ;
#endif

#ifndef __T_MNCC_START_DTMF_REQ__
#define __T_MNCC_START_DTMF_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1966
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        key;                      /*<  1:  1> DTMF digit                                         */
  U8                        dtmf_mod;                 /*<  2:  1> Mode for sending DTMF digit                        */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
} T_MNCC_START_DTMF_REQ;
#endif

#ifndef __T_MNCC_HOLD_REQ__
#define __T_MNCC_HOLD_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1967
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MNCC_HOLD_REQ;
#endif

#ifndef __T_MNCC_RETRIEVE_REQ__
#define __T_MNCC_RETRIEVE_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1968
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MNCC_RETRIEVE_REQ;
#endif

#ifndef __T_MNCC_FACILITY_REQ__
#define __T_MNCC_FACILITY_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1969
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
  T_MNCC_fac_inf            fac_inf;                  /*<  4:256> facility information                               */
  U8                        ss_version;               /*<260:  1> SS Version number                                  */
  U8                        _align3;                  /*<261:  1> alignment                                          */
  U8                        _align4;                  /*<262:  1> alignment                                          */
  U8                        _align5;                  /*<263:  1> alignment                                          */
} T_MNCC_FACILITY_REQ;
#endif

#ifndef __T_MNCC_USER_REQ__
#define __T_MNCC_USER_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1970
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        congest_lev;              /*<  1:  1> Congestion Level                                   */
  U8                        more_data;                /*<  2:  1> more data                                          */
  U8                        _align0;                  /*<  3:  1> alignment                                          */
  T_MNCC_user               user;                     /*<  4:132> user to user data                                  */
} T_MNCC_USER_REQ;
#endif

#ifndef __T_MNCC_BEARER_CAP_REQ__
#define __T_MNCC_BEARER_CAP_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1971
 */
typedef struct
{
  U8                        req_id;                   /*<  0:  1> Request identifier of originator                   */
  U8                        bc_mod;                   /*<  1:  1> Mode for conversion of bearer capabilities         */
  U8                        _align0;                  /*<  2:  1> alignment                                          */
  U8                        _align1;                  /*<  3:  1> alignment                                          */
  T_MNCC_bcconf             bcconf;                   /*<  4: 12> bearer capability configuration                    */
  T_MNCC_bcpara             bcpara;                   /*< 16: 12> bearer capability parameter                        */
  T_MNCC_bcconf2            bcconf2;                  /*< 28: 12> second bearer capability configuration             */
  T_MNCC_bcpara2            bcpara2;                  /*< 40: 12> bearer capability parameter                        */
} T_MNCC_BEARER_CAP_REQ;
#endif

#ifndef __T_MNCC_PROMPT_RES__
#define __T_MNCC_PROMPT_RES__
/*
 * 
 * CCDGEN:WriteStruct_Count==1972
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MNCC_PROMPT_RES;
#endif

#ifndef __T_MNCC_PROMPT_REJ__
#define __T_MNCC_PROMPT_REJ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1973
 */
typedef struct
{
  U8                        dummy;                    /*<  0:  1> no parameters                                      */
} T_MNCC_PROMPT_REJ;
#endif

#ifndef __T_MNCC_REJECT_REQ__
#define __T_MNCC_REJECT_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1974
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U16                       cause;                    /*<  2:  2> cause                                              */
} T_MNCC_REJECT_REQ;
#endif

#ifndef __T_MNCC_SYNC_REQ__
#define __T_MNCC_SYNC_REQ__
/*
 * 
 * CCDGEN:WriteStruct_Count==1975
 */
typedef struct
{
  U16                       synccs;                   /*<  0:  2> Synchronization cause                              */
  U8                        ti;                       /*<  2:  1> transaction identifier                             */
  U8                        mpty_event;               /*<  3:  1> multi party event                                  */
} T_MNCC_SYNC_REQ;
#endif

#ifndef __T_MNCC_STATUS_RES__
#define __T_MNCC_STATUS_RES__
/*
 * 
 * CCDGEN:WriteStruct_Count==1976
 */
typedef struct
{
  U8                        ti;                       /*<  0:  1> transaction identifier                             */
  U8                        _align0;                  /*<  1:  1> alignment                                          */
  U8                        _align1;                  /*<  2:  1> alignment                                          */
  U8                        _align2;                  /*<  3:  1> alignment                                          */
} T_MNCC_STATUS_RES;
#endif


#include "CDG_LEAVE.h"


#endif