Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
unpack_qos_QmiCbkQosFlowGranted_t Struct Reference

#include <qos.h>

Data Fields

uint64_t flow_valid_params
 
uint32_t ip_flow_trf_cls
 
uint64_t data_rate_max
 
uint64_t guaranteed_rate
 
uint32_t peak_rate
 
uint32_t token_rate
 
uint32_t bucket_size
 
uint32_t ip_flow_latency
 
uint16_t ip_flow_pkt_error_rate_multiplier
 
uint16_t ip_flow_pkt_error_rate_exponent
 
uint32_t ip_flow_min_policed_packet_size
 
uint32_t ip_flow_max_allowed_packet_size
 
uint32_t ip_flow_3gpp_residual_bit_error_rate
 
uint32_t ip_flow_3gpp_traffic_handling_priority
 
uint16_t ip_flow_3gpp2_profile_id
 
uint8_t ip_flow_3gpp2_flow_priority
 
uint8_t ip_flow_3gpp_im_cn_flag
 
uint8_t ip_flow_3gpp_sig_ind
 
uint32_t ip_flow_lte_qci
 

Detailed Description

Structure that contains the QoS Flow Granted

Parameters
flow_valid_params
  • Mask of parameters that are valid for this flow.
    • Values:
      • QMI_QOS_IP_FLOW_MASK_NONE (0x0000000000000000) - No parameters
      • QMI_QOS_IP_FLOW_MASK_TRF_CLASS (0x0000000000000001) - Traffic class
      • QMI_QOS_IP_FLOW_MASK_DATA_RATE_MIN_MAX (0x0000000000000002) - Data rate min/max
      • QMI_QOS_IP_FLOW_MASK_DATA_RATE_TOK_BUCKET (0x0000000000000004) - Data rate token bucket
      • QMI_QOS_IP_FLOW_MASK_LATENCY (0x0000000000000008) - Latency
      • QMI_QOS_IP_FLOW_MASK_JITTER (0x0000000000000010) - Jitter
      • QMI_QOS_IP_FLOW_MASK_PKT_ERR_RATE (0x0000000000000020) - Packet error rate
      • QMI_QOS_IP_FLOW_MASK_MIN_POLICED_PKT_SIZE (0x0000000000000040) - Minimum policed packet size
      • QMI_QOS_IP_FLOW_MASK_MAX_ALLOWED_PKT_SIZE (0x0000000000000080) - Maximum allowed packet size
      • QMI_QOS_IP_FLOW_MASK_3GPP_RES_BER (0x0000000000000100) - 3GPP residual bit error rate (BER)
      • QMI_QOS_IP_FLOW_MASK_3GPP_TRF_PRI (0x0000000000000200) - 3GPP traffic handling priority
      • QMI_QOS_IP_FLOW_MASK_3GPP2_PROFILE_ID (0x0000000000000400) - 3GPP2 profile ID
      • QMI_QOS_IP_FLOW_MASK_3GPP2_FLOW_PRIORITY (0x0000000000000800) - 3GPP2 flow priority
      • QMI_QOS_IP_FLOW_MASK_3GPP_IM_CN_FLAG (0x0000000000001000) - 3GPP IM CN subsystem signaling flag
      • QMI_QOS_IP_FLOW_MASK_3GPP_SIG_IND (0x0000000000002000) - 3GPP signaling indication
      • QMI_QOS_IP_FLOW_MASK_LTE_QCI (0x0000000000004000) - LTE QOS class identifier
      • QMI_QOS_IP_FLOW_MASK_5G_QCI (0x0000000000008000) - 5G QOS class identifier
      • QMI_QOS_IP_FLOW_MASK_AVG_WINDOW (0x0000000000010000) - Averaging window
ip_flow_trf_cls
  • Requested traffic class.
    • Values:
      • QOS_IP_TRF_CLS_CONVERSATIONAL (0) - IP traffic class conversational
      • QOS_IP_TRF_CLS_STREAMING (1) - IP traffic class streaming
      • QOS_IP_TRF_CLS_INTERACTIVE (2) - IP traffic class interactive
      • QOS_IP_TRF_CLS_BACKGROUND (3) - IP traffic class background
data_rate_max
  • Flow state change flow.
guaranteed_rate
  • Minimum guaranteed data rate (bits per second).
peak_rate
  • Maximum rate at which data can be transmitted when the token bucket is full (bits per second).
token_rate
  • Rate at which tokens are put in the token bucket (bits per second); a token must be present in the bucket to send a byte of data.
bucket_size
  • Maximum number of tokens that can be accumulated at any instance (bytes); controls the size of the burst that is allowed at any given time.
ip_flow_latency
  • Maximum delay (in milliseconds) that can be tolerated by an IP packet during transfer through the wireless link.
ip_flow_jitter
  • Difference between the maximum and minimum latency (in milliseconds) that can be tolerated by an IP packet during the transfer through the wireless link.
ip_flow_pkt_error_rate_multiplier
  • Factor m in calculating packet error rate: E = m*10**(-p)
ip_flow_pkt_error_rate_exponent
  • Factor p in calculating packet error rate: E = m*10**(-p)
ip_flow_min_policed_packet_size
  • Integer that defines the minimum packet size (in bytes) that will be policed for QoS guarantees. Any IP packets that are smaller than the minimum specified policed size may not receive the requested QoS.
ip_flow_max_allowed_packet_size
  • Integer that defines the maximum packet size (in bytes) allowed in the IP flow. Any IP packets greater in size than the maximum allowed packet size are not queued for transmission.

param ip_flow_3gpp_residual_bit_error_rate

  • Indicates the undetected BER for each IP flow in the delivered packets. Applies only to 3GPP networks. -Values:
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE1 (0) - 5*10-2
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE2 (1) - 1*10-2
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE3 (2) - 5*10-3
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE4 (3) - 4*10-3
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE5 (4) - 1*10-3
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE6 (5) - 1*10-4
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE7 (6) - 1*10-5
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE8 (7) - 1*10-6
    • QOS_FLOW_3GPP_RES_BIT_ERR_RATE9 (8) - 6*10-8
Parameters
ip_flow_3gpp_traffic_handling_priority
  • Defines the relative priority of the flow. Applies only to 3GPP networks.
    • Values:
      • QOS_FLOW_3GPP_TRAFFIC_HANDLING_PRI1 (0) - Priority level 1
      • QOS_FLOW_3GPP_TRAFFIC_HANDLING_PRI2 (1) - Priority level 2
      • QOS_FLOW_3GPP_TRAFFIC_HANDLING_PRI3 (2) - Priority level 3
ip_flow_3gpp2_profile_id
  • A profile ID is shorthand for a defined set of QoS flow parameters specified by the network; to be present while requesting QoS for a CDMA device.
ip_flow_3gpp2_flow_priority
  • Flow priority used by the network in case of contention between flows with the same QoS. This parameter applies to CDMA devices.
ip_flow_3gpp_im_cn_flag
  • IM CN subsystem signaling flag. This parameter applies only to 3GPP networks.
    • Values:
  • 0x00 - FALSE
  • 0x01 - TRUE

    Parameters
    ip_flow_3gpp_sig_ind
    • This parameter applies only to 3GPP networks.
      • Values:
  • 0x00 - FALSE
  • 0x01 - TRUE

    Parameters
    ip_flow_lte_qci
    • QoS Class Identifier (QCI) is a required parameter to request QoS in LTE QCI.
      • Values:
        • QCI value 0 requests the network to assign the appropriate QCI value
        • QCI values 1-4, 65, 66 are associated with guaranteed bitrates
        • QCI values 5-9, 69, 70 are associated with nonguaranteed bitrates, so the values specified as guaranteed and maximum bitrates are ignored For more detailed information, refer to TA 23.203

The documentation for this struct was generated from the following file: