LinuxQMISDK-Lite  SLQS04.00.23
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
qos.h File Reference

Go to the source code of this file.

Data Structures

struct  unpack_qos_SLQSQosGetNetworkStatus_t
 
struct  pack_qos_SLQSQosSwiReadApnExtraParams_t
 
struct  unpack_qos_SLQSQosSwiReadApnExtraParams_t
 
struct  pack_qos_SLQSQosSwiReadDataStats_t
 
struct  unpack_QosFlowStat_t
 
struct  unpack_qos_SLQSQosSwiReadDataStats_t
 
struct  unpack_qos_SLQSSetQosNWStatusCallback_ind_t
 
struct  unpack_qos_SLQSSetQosStatusCallback_ind_t
 
struct  unpack_qos_SLQSSetQosPriEventCallback_ind_t
 
struct  pack_qos_SLQSSetQosEventCallback_t
 
struct  unpack_qos_SLQSSetQosEventCallback_t
 
struct  unpack_qos_QosFlowInfoState_t
 
struct  unpack_qos_dataRate_t
 
struct  unpack_qos_tokenBucket_t
 
struct  unpack_qos_pktErrRate_t
 
struct  unpack_qos_swiQosFlow_t
 
struct  unpack_qos_IPv4Addr_t
 
struct  unpack_qos_Tos_t
 
struct  unpack_qos_IPv6Addr_t
 
struct  unpack_qos_IPv6TrafCls_t
 
struct  unpack_qos_Port_t
 
struct  unpack_qos_swiQosFilter_t
 
struct  unpack_qos_QosFlowInfo_t
 
struct  unpack_qos_SLQSSetQosEventCallback_ind_t
 
struct  qos_BindDataPortPeripheralEndPointID_t
 
struct  qos_BindDataPortMuxID_t
 
struct  qos_BindDataPortSIODataPort_t
 
struct  pack_qos_BindDataPort_t
 
struct  unpack_qos_BindDataPort_t
 

Macros

#define LITEQMI_MAX_QOS_FLOW_PER_APN_STATS   10
 
#define LITEQMI_MAX_QOS_FILTERS   25
 
#define LITEQMI_MAX_QOS_FLOWS   8
 

Functions

int pack_qos_SLQSQosGetNetworkStatus (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
 
int unpack_qos_SLQSQosGetNetworkStatus (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSQosGetNetworkStatus_t *pOutput)
 
int pack_qos_SLQSQosSwiReadApnExtraParams (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_qos_SLQSQosSwiReadApnExtraParams_t reqParam)
 
int unpack_qos_SLQSQosSwiReadApnExtraParams (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSQosSwiReadApnExtraParams_t *pOutput)
 
int pack_qos_SLQSQosSwiReadDataStats (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_qos_SLQSQosSwiReadDataStats_t reqParam)
 
int unpack_qos_SLQSQosSwiReadDataStats (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSQosSwiReadDataStats_t *pOutput)
 
int unpack_qos_SLQSSetQosNWStatusCallback_ind (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSSetQosNWStatusCallback_ind_t *pOutput)
 
int unpack_qos_SLQSSetQosStatusCallback_ind (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSSetQosStatusCallback_ind_t *pOutput)
 
int unpack_qos_SLQSSetQosPriEventCallback_ind (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSSetQosPriEventCallback_ind_t *pOutput)
 
int pack_qos_SLQSSetQosEventCallback (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_qos_SLQSSetQosEventCallback_t reqParam)
 
int unpack_qos_SLQSSetQosEventCallback (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSSetQosEventCallback_t *pOutput)
 
int unpack_qos_SLQSSetQosEventCallback_ind (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSSetQosEventCallback_ind_t *pOutput)
 
int pack_qos_BindDataPort (pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_qos_BindDataPort_t req)
 
int unpack_qos_BindDataPort (uint8_t *pResp, uint16_t respLen, unpack_qos_BindDataPort_t *pOutput)
 

Macro Definition Documentation

#define LITEQMI_MAX_QOS_FILTERS   25
#define LITEQMI_MAX_QOS_FLOW_PER_APN_STATS   10
#define LITEQMI_MAX_QOS_FLOWS   8

Function Documentation

int pack_qos_BindDataPort ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_qos_BindDataPort_t  req 
)

Function to pack command to Binds a control point to a data port. This maps to PkQmiQosBindDataPort

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]req
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
  • Timeout: 2 seconds
int pack_qos_SLQSQosGetNetworkStatus ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen 
)

Function to pack command to retrieve QoS status of the network. This maps to SLQSQosGetNetworkStatus

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
  • Timeout: 2 seconds
  • Technology Supported: CDMA
  • PDN Specific: No
int pack_qos_SLQSQosSwiReadApnExtraParams ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_qos_SLQSQosSwiReadApnExtraParams_t  reqParam 
)

Function to pack QMI command to query extra APN parameters This maps to SLQSQosSwiReadApnExtraParams

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
- Timeout: 2 seconds
  • PDN Specific: Yes
int pack_qos_SLQSQosSwiReadDataStats ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_qos_SLQSQosSwiReadDataStats_t  reqParam 
)

Function to pack QMI command to query APN data statistics This maps to SLQSQosSwiReadDataStats

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
- Timeout: 2 seconds
  • PDN Specific: Yes
int pack_qos_SLQSSetQosEventCallback ( pack_qmi_t pCtx,
uint8_t *  pReqBuf,
uint16_t *  pLen,
pack_qos_SLQSSetQosEventCallback_t  reqParam 
)

Function to pack QMI command to enable QoS event indications This maps to SLQSSetQosEventCallback

Parameters
[out]pCtx
[in,out]pReqBuf
  • Buffer for packed QMI command to be provided by the host application
  • Minimum expected size is 2048 bytes
[in,out]pLen
  • On input, size of pReqBuf
  • On ouptut, number of bytes actually packed
[in]reqParam
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
- Timeout: 2 seconds
  • PDN Specific: Yes
int unpack_qos_BindDataPort ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_BindDataPort_t pOutput 
)

Function to unpack the response to Binds a control point to a data port. This maps to UpkQmiQosBindDataPort

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_qos_SLQSQosGetNetworkStatus ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_SLQSQosGetNetworkStatus_t pOutput 
)

Function to unpack the response to get NW QoS status command This maps to SLQSQosGetNetworkStatus

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_qos_SLQSQosSwiReadApnExtraParams ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_SLQSQosSwiReadApnExtraParams_t pOutput 
)

Function to unpack the response to get NW QoS status command This maps to SLQSQosSwiReadApnExtraParams

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_qos_SLQSQosSwiReadDataStats ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_SLQSQosSwiReadDataStats_t pOutput 
)

Function to unpack APN data statistics response This maps to SLQSQosSwiReadDataStats

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_qos_SLQSSetQosEventCallback ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_SLQSSetQosEventCallback_t pOutput 
)

Function to unpack enable QoS event indications command's response This maps to SLQSSetQosEventCallback

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
int unpack_qos_SLQSSetQosEventCallback_ind ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_SLQSSetQosEventCallback_ind_t pOutput 
)

Function to unpack QoS event indications This maps to SLQSSetQosEventCallback

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
  • This is a broadcast notification that is sent to the registered QoS service
  • No explicit function to register for this indication is needed
  • Please use eQMI_QOS_NETWORK_STATUS_IND indication to identify this event from QOS service read function
int unpack_qos_SLQSSetQosNWStatusCallback_ind ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_SLQSSetQosNWStatusCallback_ind_t pOutput 
)

Function to unpack QoS NW status indication. This maps to SLQSSetQosNWStatusCallback

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
  • Technology Supported: CDMA
  • This is a broadcast notification that is sent to the registered QoS service
  • No explicit function to register for this indication is needed
  • Please use eQMI_QOS_NETWORK_STATUS_IND indication to identify this event from QOS service read function
int unpack_qos_SLQSSetQosPriEventCallback_ind ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_SLQSSetQosPriEventCallback_ind_t pOutput 
)

Function to unpack QoS primary flow events. This maps to SLQSSetQosPriEventCallback

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
  • This is a broadcast notification that is sent to the registered QoS service
  • No explicit function to register for this indication is needed
  • Please use eQMI_QOS_PRIMARY_QOS_EVENT_IND indication to identify this event from QOS service read function
  • This is only generated when the primary flow is modified by the host
int unpack_qos_SLQSSetQosStatusCallback_ind ( uint8_t *  pResp,
uint16_t  respLen,
unpack_qos_SLQSSetQosStatusCallback_ind_t pOutput 
)

Function to unpack QoS status indications. This maps to SLQSSetQosStatusCallback

Parameters
[in]pResp
  • Response from modem
[in]respLen
  • Length of pResp from modem
[out]pOutput
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
  • This is a broadcast notification that is sent to the registered QoS service
  • No explicit function to register for this indication is needed
  • Please use eQMI_QOS_FLOW_STATUS_IND indication to identify this event from QOS service read function

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved