lte/gateway/python/magma/captive_portal/rpc_servicer.py
def _get_default_qos(self) -> FlowQos:
        """
        Get a default QoS, usable for an allow-all flow, and for redirection to
        a captive_portal.
        """
        return FlowQos(
            max_req_bw_ul=2 * 1024 * 1024 * 1024,  # 2G
            max_req_bw_dl=2 * 1024 * 1024 * 1024,  # 2G
            gbr_ul=1 * 1024 * 1024,  # 1 Mb/s
            gbr_dl=1 * 1024 * 1024,  # 1 Mb/s
            qci=FlowQos.Qci.Value('QCI_3'),
            # Allocation and Retention Policy
            # Set to high priority, and disallow pre-emption
            # capability/vulnerability
            arp=QosArp(
                priority_level=1,
                pre_capability=QosArp.PreCap.Value("PRE_CAP_DISABLED"),
                pre_vulnerability=QosArp.PreVul.Value("PRE_VUL_DISABLED"),
            ),
        )

        Get a default QoS, usable for an allow-all flow, and for redirection to
        a captive_portal.
        
Get a default QoS, usable for an allow-all flow, and for redirection to
a captive_portal.
Get a default QoS usable for an allow - all flow and for redirection to a captive_portal .
def _get_default_qos(self) -> FlowQos:
        return FlowQos(
            max_req_bw_ul=2 * 1024 * 1024 * 1024,  
            max_req_bw_dl=2 * 1024 * 1024 * 1024,  
            gbr_ul=1 * 1024 * 1024,  
            gbr_dl=1 * 1024 * 1024,  
            qci=FlowQos.Qci.Value('QCI_3'),
            arp=QosArp(
                priority_level=1,
                pre_capability=QosArp.PreCap.Value("PRE_CAP_DISABLED"),
                pre_vulnerability=QosArp.PreVul.Value("PRE_VUL_DISABLED"),
            ),
        )
def _get_default_qos ( self ) -> FlowQos : return FlowQos ( max_req_bw_ul = 2 * 1024 * 1024 * 1024 , max_req_bw_dl = 2 * 1024 * 1024 * 1024 , gbr_ul = 1 * 1024 * 1024 , gbr_dl = 1 * 1024 * 1024 , qci = FlowQos . Qci . Value ( 'QCI_3' ) , arp = QosArp ( priority_level = 1 , pre_capability = QosArp . PreCap . Value ( "PRE_CAP_DISABLED" ) , pre_vulnerability = QosArp . PreVul . Value ( "PRE_VUL_DISABLED" ) , ) , )
Get a default QoS, usable for an allow-all flow, and for redirection to
a captive_portal.
Get a default QoS usable for an allow - all flow and for redirection to a captive_portal .
"""
        Get a default QoS, usable for an allow-all flow, and for redirection to
        a captive_portal.
        """ # 2G # 2G # 1 Mb/s # 1 Mb/s # Allocation and Retention Policy # Set to high priority, and disallow pre-emption # capability/vulnerability
self