Commit ded092fe authored by berge's avatar berge
Browse files

Fixed CBF timer computation in GUC, BCA and BAA

parent c4fac440
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -2074,6 +2074,18 @@ module LibItsGeoNetworking_Functions {
            return v_cbfMinTime;
            return v_cbfMinTime;
        } // end f_getGeoUnicastCbfMinTime
        } // end f_getGeoUnicastCbfMinTime
        
        
        function f_getGeoBroadcastCbfMaxTime() return integer {
            var integer v_cbfMaxTime := PICS_GN_GEOBROADCAST_CBF_MAX_TIME;
            
            return v_cbfMaxTime;
        } // end f_getGeoBroadcastCbfMaxTime
        
        function f_getGeoBroadcastCbfMinTime() return integer {
            var integer v_cbfMinTime := PICS_GN_GEOBROADCAST_CBF_MIN_TIME;
            
            return v_cbfMinTime;
        } // end f_getGeoBroadcastCbfMinTime
        
        function f_getGnMaxAreaSize() return float {
        function f_getGnMaxAreaSize() return float {
            var float v_maxAreaSize := PICS_GN_MAX_GEO_AREA_SIZE;
            var float v_maxAreaSize := PICS_GN_MAX_GEO_AREA_SIZE;
            
            
+14 −2
Original line number Original line Diff line number Diff line
@@ -131,17 +131,29 @@ module LibItsGeoNetworking_Pics {
        modulepar GeoBroadcastForwardingAlgorithm PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM := e_advanced;
        modulepar GeoBroadcastForwardingAlgorithm PICS_GN_GEOBROADCAST_FORWARDING_ALGORITHM := e_advanced;
        
        
        /**
        /**
         * @desc Minimum duration a packet shall be buffered in the CBF packet buffer [ms]
         * @desc Minimum duration a GUC shall be buffered in the CBF packet buffer [ms]
         * @see  ETSI TS 102 871-1 v2.1.1 A.32/26
         * @see  ETSI TS 102 871-1 v2.1.1 A.32/26
         */
         */
        modulepar integer PICS_GN_GEOUNICAST_CBF_MIN_TIME := 1;
        modulepar integer PICS_GN_GEOUNICAST_CBF_MIN_TIME := 1;
        
        
        /**
        /**
         * @desc Maximum duration a packet shall be buffered in the CBF packet buffer [ms]
         * @desc Maximum duration a GUC shall be buffered in the CBF packet buffer [ms]
         * @see  ETSI TS 102 871-1 v2.1.1 A.32/27
         * @see  ETSI TS 102 871-1 v2.1.1 A.32/27
         */
         */
        modulepar integer PICS_GN_GEOUNICAST_CBF_MAX_TIME := 100;
        modulepar integer PICS_GN_GEOUNICAST_CBF_MAX_TIME := 100;


        /**
         * @desc Minimum duration a GBC shall be buffered in the CBF packet buffer [ms]
         * @see  ETSI TS 102 871-1 v2.1.1 A.32/28
         */
        modulepar integer PICS_GN_GEOBROADCAST_CBF_MIN_TIME := 1;
        
        /**
         * @desc Maximum duration a GBC shall be buffered in the CBF packet buffer [ms]
         * @see  ETSI TS 102 871-1 v2.1.1 A.32/29
         */
        modulepar integer PICS_GN_GEOBROADCAST_CBF_MAX_TIME := 100;
                
        /**
        /**
         * @desc Default theoretical maximum communication range [m]
         * @desc Default theoretical maximum communication range [m]
         * @see  ETSI TS 102 871-1 v2.1.1 A.32/30
         * @see  ETSI TS 102 871-1 v2.1.1 A.32/30