LibItsDcc_Pixits.ttcn 21.1 KB
Newer Older
schmitting's avatar
schmitting committed
/**
 *  @author     ETSI / STF421
 *  @version    $URL:$
 *              $Id:$
 *  @desc       DCC (TS 102 724) Pixits
 *  @see        ETSI TS 102 917-3
 */
module LibItsDcc_Pixits {
    
tepelmann's avatar
tepelmann committed
    import from LibItsDcc_TypesAndValues {group moduleParTables;}
schmitting's avatar
schmitting committed
    group acceptableTransmissionPower {
        /**
         * @desc Give an acceptable Transmission power for the CCH in the Relaxed state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/1.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/1 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_CCH_RELAXED;

        /**
         * @desc Give an acceptable Transmission power for the CCH in the Active state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/2.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/2 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_CCH_ACTIVE;

        /**
         * @desc Give an acceptable Transmission power for the CCH in the Restrictive state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/3.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/3 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_CCH_RESTRICTIVE;

        /**
         * @desc Give an acceptable Transmission power for the SCH1 in the Relaxed state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/4.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/4 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH1_RELAXED;

        /**
         * @desc Give an acceptable Transmission power for the SCH1 in the Active state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/5.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/5 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH1_ACTIVE;

        /**
         * @desc Give an acceptable Transmission power for the SCH1 in the Restrictive state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/6.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/6 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH1_RESTRICTIVE;
schmitting's avatar
schmitting committed

        /**
         * @desc Give an acceptable Transmission power for the SCH2 in the Relaxed state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/7.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/7 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH2_RELAXED;

        /**
         * @desc Give an acceptable Transmission power for the SCH2 in the Active state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/8.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/8 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH2_ACTIVE;

        /**
         * @desc Give an acceptable Transmission power for the SCH2 in the Restrictive state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/9.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/9 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH2_RESTRICTIVE;

        /**
         * @desc Give an acceptable Transmission power for the SCH3 in the Relaxed state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/10.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/10 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH3_RELAXED;

        /**
         * @desc Give an acceptable Transmission power for the SCH3 in the Active state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/11.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/11 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH3_ACTIVE;

        /**
         * @desc Give an acceptable Transmission power for the SCH3 in the Restrictive state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/12.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/12 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH3_RESTRICTIVE;

        /**
         * @desc Give an acceptable Transmission power for the SCH4 in the Relaxed state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/13.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/13 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH4_RELAXED;

        /**
         * @desc Give an acceptable Transmission power for the SCH4 in the Active state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/14.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/14 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH4_ACTIVE;

        /**
         * @desc Give an acceptable Transmission power for the SCH4 in the Restrictive state. Value in dBm.
         * @desc The value has to be below the maximum Transmission power given in TS 102 917-1 PICS A.5/15.
         * @see  ETSI TS 102 917-3 v1.1.1 A.1/15 
         */
        modulepar integer PIXIT_ACCEPTABLE_POWER_SCH4_RESTRICTIVE;
        
    } // end group acceptableTransmissionPower
    
    group inachievableTransmissionPower {
        /**
         * @desc Give a Transmission power that cannot be achieved for the CCH in the Relaxed state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/1.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/1 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_CCH_RELAXED;

        /**
         * @desc Give a Transmission power that cannot be achieved for the CCH in the Active state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/2.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/2 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_CCH_ACTIVE;

        /**
         * @desc Give a Transmission power that cannot be achieved for the CCH in the Restrictive state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/3.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/3 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_CCH_RESTRICTIVE;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH1 in the Relaxed state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/4.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/4 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH1_RELAXED;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH1 in the Active state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/5.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/5 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH1_ACTIVE;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH1 in the Restrictive state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/6.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/6 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH1_RESTRICTIVE;
schmitting's avatar
schmitting committed

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH2 in the Relaxed state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/7.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/7 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH2_RELAXED;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH2 in the Active state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/8.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/8 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH2_ACTIVE;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH2 in the Restrictive state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/9.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/9 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH2_RESTRICTIVE;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH3 in the Relaxed state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/10.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/10 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH3_RELAXED;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH3 in the Active state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/11.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/11 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH3_ACTIVE;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH3 in the Restrictive state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/12.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/12 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH3_RESTRICTIVE;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH4 in the Relaxed state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/13.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/13 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH4_RELAXED;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH4 in the Active state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/14.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/14 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH4_ACTIVE;

        /**
         * @desc Give a Transmission power that cannot be achieved for the SCH4 in the Restrictive state. Value in dBm.
         * @desc The value has to be above the maximum Transmission power given in TS 102 917-1 PICS A.5/15.
         * @see  ETSI TS 102 917-3 v1.1.1 A.2/15 
         */
        modulepar integer PIXIT_INACHIEVABLE_POWER_SCH4_RESTRICTIVE;
        
    } // end group inachievableTransmissionPower

tepelmann's avatar
tepelmann committed
    /**
     * @desc Give the content of the reference burst to be sent on the radio interface.
     * @see  ETSI TS 102 917-3 v1.1.1 A.3/1 
     */
    modulepar octetstring PIXIT_REFERENCE_BURST;
schmitting's avatar
schmitting committed

    /**
     * @desc Give the allowed delta between requested and measured power value.
     * @see  ETSI TS 102 917-3 v1.1.1 A.3/2 
     */
    modulepar integer PIXIT_POWER_DELTA;
    
    /**
     * @desc Give the number of frames to be requested in a test; used to calculate overall test duration.
     * @see  ETSI TS 102 917-3 v1.1.1 A.3/3 
     */
    modulepar integer PIXIT_NUMBER_OF_FRAMES;
tepelmann's avatar
tepelmann committed
    
    group testcaseDataTables {
        
schmitting's avatar
schmitting committed
        /**
tepelmann's avatar
tepelmann committed
         * @desc Give the content of Table 7.
         * @see  ETSI TS 102 917-2 Table 7
         */
        modulepar ProfileTimeAspects PIXIT_TABLE_7_TC_STS_REL_01_03 := {
            { 0, 20.0,  0.050 },
            { 1, 10.0,  0.095 },
            { 2, 10.0,  0.095 },
            { 3,  4.0,  0.250 },
            { 4,  2.0,  0.500 },
            { 5,  1.0,  1.000 },
            { 6,  0.2,  5.000 },
            { 7,  0.1, 10.000 },
            { 8,  0.1, 10.000 }
        
        /**
         * @desc Give the content of Table 8.
         * @see  ETSI TS 102 917-2 Table 8
         */
        modulepar ProfileTimeAspects PIXIT_TABLE_8_TC_STS_ACT_01_03 := {
            { 0, 20.0,  0.050 },
            { 1,  5.0,  0.190 },
            { 2,  5.0,  0.190 },
            { 3,  2.0,  0.500 }
        }
        
        /**
         * @desc Give the content of Table 9.
         * @see  ETSI TS 102 917-2 Table 9
         */
        modulepar ProfileTimeAspects PIXIT_TABLE_9_TC_STS_RES_01_03 := {
            { 0, 20.0,  0.050 },
            { 1,  4.0,  0.250 },
            { 2,  4.0,  0.250 },
            { 3,  1.0,  1.000 }
        }
tepelmann's avatar
tepelmann committed
        
        /**
         * @desc Give the content of Table 10.
         * @see  ETSI TS 102 917-2 Table 10
         */
        modulepar ProfileChannelTimeAspects PIXIT_TABLE_10_TC_MTS_CCH_01 := {
            { 1, 
                { 
                    {      active, 5.0, 0.190, { relaxed, active, restrictive } },
                    { restrictive, 4.0, 0.250, { relaxed, active, restrictive } }
                }
            },
            { 2, 
                {
                    {      active, 5.0, 0.190, { active, restrictive } },
                    { restrictive, 4.0, 0.250, { active, restrictive } }
                }
            },
            { 3, 
                {
                    {      active, 5.0, 0.190, { restrictive } },
                    { restrictive, 4.0, 0.250, { restrictive } }
                }
            }
        }
        
tepelmann's avatar
tepelmann committed
        /**
         * @desc Give the content of Table 11.
         * @see  ETSI TS 102 917-2 Table 11
         */
        modulepar ProfileChannelAspects PIXIT_TABLE_11_TC_MTS_CCH_02 := {
            { 5, 
                {
                    {
                        active, 
                        {
                            {      active,      active }, 
                            { restrictive,      active }, 
                            {      active, restrictive }, 
                            { restrictive, restrictive }
                        }
                    }, 
                    { 
                        restrictive, 
                        {
                            {      active,      active }, 
                            { restrictive,      active }, 
                            {      active, restrictive }, 
                            { restrictive, restrictive }
                        }
                    }
                }
            }, 
            { 6, 
                {
                    {
                        active, 
                        {
                            {      active,      active }, 
                            { restrictive,      active }, 
                            {      active, restrictive }, 
                            { restrictive, restrictive }
                        }
                    }, 
                    { 
                        restrictive, 
                        {
                            {      active,      active }, 
                            { restrictive,      active }, 
                            {      active, restrictive }, 
                            { restrictive, restrictive }
                        }
                    }
                }
            }, 
            { 7, 
                {
                    {
                        active, 
                        {
                            {      active,      active }, 
                            { restrictive,      active }, 
                            {      active, restrictive }, 
                            { restrictive, restrictive }
                        }
                    }, 
                    { 
                        restrictive, 
                        {
                            {      active,      active }, 
                            { restrictive,      active }, 
                            {      active, restrictive }, 
                            { restrictive, restrictive }
                        }
                    }
                }
            }, 
            { 8, 
                {
                    {
                        active, 
                        {
                            {      active,      active }, 
                            { restrictive,      active }, 
                            {      active, restrictive }, 
                            { restrictive, restrictive }
                        }
                    }, 
                    { 
                        restrictive, 
                        {
                            {      active,      active }, 
                            { restrictive,      active }, 
                            {      active, restrictive }, 
                            { restrictive, restrictive }
                        }
                    }
                }
            }
        }
        
tepelmann's avatar
tepelmann committed
        /**
         * @desc Give the content of Table 22.
         * @see  ETSI TS 102 917-2 Table 22
         */
        modulepar ProfileTimeAspects PIXIT_TABLE_22_TC_MTS_SCH1_01_03 := {
            {  9, 10.0,  0.100 },
            { 10, 10.0,  0.100 },
            { 11, 10.0,  0.100 },
            { 12,  2.0,  0.500 },
            { 13,  1.0,  1.000 },
            { 14,  0.2,  5.000 },
            { 15,  0.1, 10.000 },
            { 16,  0.1, 10.000 }
        }
        
        /**
         * @desc Give the content of Table 23.
         * @see  ETSI TS 102 917-2 Table 23
         */
        modulepar ProfileTimeAspects PIXIT_TABLE_23_TC_MTS_SCH1_05_07 := {
            {  9,  5.0,  0.200 },
            { 10,  5.0,  0.200 },
            { 11,  2.0,  0.500 }
        }
        
        /**
         * @desc Give the content of Table 24.
         * @see  ETSI TS 102 917-2 Table 24
         */
        modulepar ProfileTimeAspects PIXIT_TABLE_24_TC_MTS_SCH1_09_11 := {
            {  9,  4.0,  0.250 },
            { 10,  4.0,  0.250 }
        }
        
        /**
         * @desc Give the content of Table 25.
         * @see  ETSI TS 102 917-2 Table 25
         */
        modulepar ProfileTimeAspects PIXIT_TABLE_25_TC_MTS_SCH2_01_03:= {
            { 11,  0.2,  5.000 },
            { 12,  0.2,  5.000 },
            { 13,  0.2,  5.000 },
            { 14,  0.1,  10.000 },
            { 15,  0.5,  20.000 },
            { 16,  0.5,  20.000 }
        }
        
        /**
         * @desc Give the content of Table 29.
         * @see  ETSI TS 102 917-2 Table 29
         */
        modulepar ProfileTimeAspects PIXIT_TABLE_29_TC_G5B_SCH3_01_03 := {
            {  9,  1.0,  1.000 },
            { 10,  1.0,  1.000 },
            { 11,  1.0,  1.000 },
            { 12,  1.0,  1.000 },
            { 13,  1.0,  1.000 },
            { 14,  1.0,  1.000 },
            { 15,  1.0,  1.000 },
            { 16,  1.0,  1.000 },
            { 17, 10.0,  0.100 },
            { 18, 10.0,  0.100 },
            { 19,  4.0,  0.250 },
            { 20,  2.0,  0.500 },
            { 21,  1.0,  1.000 },
            { 22,  1.0,  1.000 },
            { 23,  1.0,  1.000 },
            { 24,  1.0,  1.000 }
        }
        
        /**
         * @desc Give the content of Table 30.
         * @see  ETSI TS 102 917-2 Table 30
         */
        //TODO SCH4!!!
        modulepar ProfileTimeAspects PIXIT_TABLE_30_TC_G5B_SCH3_05_07 := {
            { 17,  5.0,  0.200 },
            { 18,  5.0,  0.200 },
            { 19,  2.0,  0.500 }
        }
        
        /**
         * @desc Give the content of Table 31.
         * @see  ETSI TS 102 917-2 Table 31
         */
        modulepar ChannelProfileAspects PIXIT_TABLE_31_TC_G5B_SCH3_09 := {
            { active, 
                { 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24 }
            },
            { restrictive, 
                { 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24 }
            }
        }
        
        /**
         * @desc Give the content of Table 32.
         * @see  ETSI TS 102 917-2 Table 32
         */
        //TODO SCH4!!!
        modulepar ProfileTimeAspects PIXIT_TABLE_32_TC_G5B_SCH3_10_12 := {
            { 17,  5.0,  0.200 },
            { 18,  5.0,  0.200 },
            { 19,  2.0,  0.500 }
        }
        
tepelmann's avatar
tepelmann committed
        /**
         * @desc Give the content of Table 33.
         * @see  ETSI TS 102 917-2 Table 33
         */
        modulepar ChannelProfileAspects PIXIT_TABLE_33_TC_G5B_SCH3_14 := {
            { active, 
                { 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24 }
            },
            { restrictive, 
                { 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24 }
            }
        }
        
schmitting's avatar
schmitting committed
    
} // End of module LibItsDcc_Pixits