Commit 28ae4a62 authored by garciay's avatar garciay
Browse files

Session Week #33:

- Continue TPs implementation for Tunnel Management
- Enhance templates values & PIXITs
parent 839cf052
Loading
Loading
Loading
Loading
+289 −227
Original line number Diff line number Diff line
@@ -98,59 +98,121 @@ module LibGtpv2C_Pixits {
     */
    modulepar Bit4 PX_EBI := '0101'B;
    
    /**
     * @desc Visited Access Point Name
     * @see  3GPP TS 29.274 version 9.13.0 Release 9 Clause 8.8   EPS Bearer ID (EBI)
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/15
     */
    modulepar charstring PX_VISITED_APN := "visited.com";
    
    /**
     * @desc International Mobile Subscriber Identity (IMSI) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/17
     */
    modulepar charstring PX_CALLER_IMSI := "33614000000001";
    
    /**
     * @desc Mobile Station ISDN Number (MSISDN) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/18
     */
    modulepar charstring PX_CALLER_MSISDN := "3937930357";
    
    /**
     * @desc Mobile Equipment Identity (MEI) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/19
     */
    modulepar charstring PX_CALLER_MEI := "99990000000100";
    
    /**
     * @desc Mobile Country Code (MCC) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/20
     */
    modulepar bitstring PX_CALLER_MCC := int2bit(999, 12); // ETSI TS 129 274 V9.13.0 (2015-01) Clause 8.21.4    TAI field
    
    /**
     * @desc Mobile Network Code (MNC) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/21
     */
    modulepar bitstring PX_CALLER_MNC := int2bit(99, 12); // ETSI TS 129 274 V9.13.0 (2015-01) Clause 8.21.4    TAI field
    
    /**
     * @desc Tracking Area Code (TAC) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/22
     */
    modulepar Oct2 PX_CALLER_TAC := '000f'O; // ETSI TS 129 274 V9.13.0 (2015-01) Clause 8.21.4    TAI field
    
    /**
     * @desc E-UTRAN Cell Identifier (ECI)
     * @desc E-UTRAN Cell Identifier (ECI) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/23
     */
    modulepar Oct3 PX_EUTRAN_CELL_ID := '000101'O;
    modulepar Oct3 PX_CALLER_EUTRAN_CELL_ID := '000101'O;
     
    /**
     * @desc Cell Identity (CI)
     * @desc Cell Identity (CI) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/24
     */
    modulepar Oct2 PX_CELL_IDENTITY := '0101'O;
    modulepar Oct2 PX_CALLER_CELL_IDENTITY := '0101'O;
     
    /**
     * @desc Location Area Code (LAC)
     * @desc Location Area Code (LAC) for the caller
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/25
     */
    modulepar Oct2 PX_LOCATION_AREA_CODE := '0000'O;
    modulepar Oct2 PX_CALLER_LOCATION_AREA_CODE := '0000'O;
    
    /**
     * @desc International Mobile Subscriber Identity (IMSI) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/26
     */
    modulepar charstring PX_CALLEE_IMSI := "220614000000002";
    
    /**
     * @desc Mobile Station ISDN Number (MSISDN) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/27
     */
    modulepar charstring PX_CALLEE_MSISDN := "337000000002";
    
    /**
     * @desc Mobile Equipment Identity (MEI) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/28
     */
    modulepar charstring PX_CALLEE_MEI := "99990000000200";
    
    /**
     * @desc Mobile Country Code (MCC) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/29
     */
    modulepar bitstring PX_CALLEE_MCC := int2bit(999, 12); // ETSI TS 129 274 V9.13.0 (2015-01) Clause 8.21.4    TAI field
    
    /**
     * @desc Mobile Network Code (MNC) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/30
     */
    modulepar bitstring PX_CALLEE_MNC := int2bit(99, 12); // ETSI TS 129 274 V9.13.0 (2015-01) Clause 8.21.4    TAI field
    
    /**
     * @desc Tracking Area Code (TAC) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/31
     */
    modulepar Oct2 PX_CALLEE_TAC := '000f'O; // ETSI TS 129 274 V9.13.0 (2015-01) Clause 8.21.4    TAI field
    
    /**
     * @desc E-UTRAN Cell Identifier (ECI) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/32
     */
    modulepar Oct3 PX_CALLEE_EUTRAN_CELL_ID := '000101'O;
     
    /**
     * @desc Cell Identity (CI) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/33
     */
    modulepar Oct2 PX_CALLEE_CELL_IDENTITY := '0101'O;
     
    /**
     * @desc Location Area Code (LAC) for the callee
     * @see  ETSI TS 103 202-3 V0.0.1 2 (2015-06) Table A.7/34
     */
    modulepar Oct2 PX_CALLEE_LOCATION_AREA_CODE := '0000'O;
    
    /**
     * @desc S11 MME F-TEID (IPv4)
     */
+6 −6
Original line number Diff line number Diff line
@@ -2480,7 +2480,7 @@ module LibGtpv2C_Templates {
                    mccDigit3 := f_extract_digit(PX_CALLER_MCC, 3),
                    mncDigit2 := f_extract_digit(PX_CALLER_MNC, 2),
                    mncDigit1 := f_extract_digit(PX_CALLER_MNC, 1),
                    locationAreaCode := PX_LOCATION_AREA_CODE
                    locationAreaCode := PX_CALLER_LOCATION_AREA_CODE
                } // End of template m_lai_dummy
                
            } // End of group laiTemplates 
@@ -2499,7 +2499,7 @@ module LibGtpv2C_Templates {
                    mncDigit1 := f_extract_digit(PX_CALLER_MNC, 1),
                    spare     := '0000'B,
                    eciFlag   := '0000'B,
                    eci       := PX_EUTRAN_CELL_ID
                    eci       := PX_CALLER_EUTRAN_CELL_ID
                } // End of template m_ecgi_dummy
                
            } // End of group ecgiTemplates 
@@ -2533,7 +2533,7 @@ module LibGtpv2C_Templates {
                    mccDigit3 := f_extract_digit(PX_CALLER_MCC, 3),
                    mncDigit2 := f_extract_digit(PX_CALLER_MNC, 2),
                    mncDigit1 := f_extract_digit(PX_CALLER_MNC, 1),
                    locationAreaCode := PX_LOCATION_AREA_CODE,
                    locationAreaCode := PX_CALLER_LOCATION_AREA_CODE,
                    routingAreaCode := '0000'O
                } // End of template m_rai_dummy
                
@@ -2551,7 +2551,7 @@ module LibGtpv2C_Templates {
                    mccDigit3 := f_extract_digit(PX_CALLER_MCC, 3),
                    mncDigit2 := f_extract_digit(PX_CALLER_MNC, 2),
                    mncDigit1 := f_extract_digit(PX_CALLER_MNC, 1),
                    locationAreaCode := PX_LOCATION_AREA_CODE,
                    locationAreaCode := PX_CALLER_LOCATION_AREA_CODE,
                    serviceAreaCode  := '0000'O
                } // End of template m_sai_dummy
                
@@ -2569,8 +2569,8 @@ module LibGtpv2C_Templates {
                    mccDigit3 := f_extract_digit(PX_CALLER_MCC, 3),
                    mncDigit2 := f_extract_digit(PX_CALLER_MNC, 2),
                    mncDigit1 := f_extract_digit(PX_CALLER_MNC, 1),
                    locationAreaCode := PX_LOCATION_AREA_CODE,
                    cellIdentity := PX_CELL_IDENTITY
                    locationAreaCode := PX_CALLER_LOCATION_AREA_CODE,
                    cellIdentity := PX_CALLER_CELL_IDENTITY
                } // End of template m_cgi_dummy
                
            } // End of group cgiTemplates