Go to the source code of this file.
|
| 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) |
| |
| int | unpack_qos_SLQSSetQosEventCallback_ind (uint8_t *pResp, uint16_t respLen, unpack_qos_SLQSSetQosEventCallback_ind_t *pOutput) |
| |
| #define LIBPACK_MAX_QOS_FILTERS 25 |
| #define LIBPACK_MAX_QOS_FLOW_PER_APN_STATS 10 |
| #define LIBPACK_MAX_QOS_FLOWS 8 |
| 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
-
| pCtx[OUT] |
|
| pReqBuf[IN/OUT] |
- Buffer for packed QMI command to be provided by the host application
- Minimum expected size is 2048 bytes
|
| pLen[IN/OUT] |
- 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
Function to pack QMI command to query extra APN parameters This maps to SLQSQosSwiReadApnExtraParams
- Parameters
-
| pCtx[OUT] |
|
| pReqBuf[IN/OUT] |
- Buffer for packed QMI command to be provided by the host application
- Minimum expected size is 2048 bytes
|
| pLen[IN/OUT] |
- On input, size of pReqBuf
- On ouptut, number of bytes actually packed
|
| reqParam[IN] |
|
- 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
Function to pack QMI command to query APN data statistics This maps to SLQSQosSwiReadDataStats
- Parameters
-
| pCtx[OUT] |
|
| pReqBuf[IN/OUT] |
- Buffer for packed QMI command to be provided by the host application
- Minimum expected size is 2048 bytes
|
| pLen[IN/OUT] |
- On input, size of pReqBuf
- On ouptut, number of bytes actually packed
|
| reqParam[IN] |
|
- 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
Function to pack QMI command to enable QoS event indications This maps to SLQSSetQosEventCallback
- Parameters
-
| pCtx[OUT] |
|
| pReqBuf[IN/OUT] |
- Buffer for packed QMI command to be provided by the host application
- Minimum expected size is 2048 bytes
|
| pLen[IN/OUT] |
- On input, size of pReqBuf
- On ouptut, number of bytes actually packed
|
| reqParam[IN] |
|
- 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
Function to unpack the response to get NW QoS status command This maps to SLQSQosGetNetworkStatus
- Parameters
-
| pResp[IN] |
|
| respLen[IN] |
- Length of pResp from modem
|
| pOutput[OUT] |
|
- Returns
- eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
- See Also
- See qmerrno.h for eQCWWAN_xxx error values
Function to unpack the response to get NW QoS status command This maps to SLQSQosSwiReadApnExtraParams
- Parameters
-
| pResp[IN] |
|
| respLen[IN] |
- Length of pResp from modem
|
| pOutput[OUT] |
|
- Returns
- eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
- See Also
- See qmerrno.h for eQCWWAN_xxx error values
Function to unpack APN data statistics response This maps to SLQSQosSwiReadDataStats
- Parameters
-
| pResp[IN] |
|
| respLen[IN] |
- Length of pResp from modem
|
| pOutput[OUT] |
|
- 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 |
|
) |
| |
Function to unpack enable QoS event indications command's response This maps to SLQSSetQosEventCallback
- Parameters
-
| pResp[IN] |
|
| respLen[IN] |
- Length of pResp from modem
|
- Returns
- eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
- See Also
- See qmerrno.h for eQCWWAN_xxx error values
Function to unpack QoS event indications This maps to SLQSSetQosEventCallback
- Parameters
-
| pResp[IN] |
|
| respLen[IN] |
- Length of pResp from modem
|
| pOutput[OUT] |
|
- 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
Function to unpack QoS NW status indication. This maps to SLQSSetQosNWStatusCallback
- Parameters
-
| pResp[IN] |
|
| respLen[IN] |
- Length of pResp from modem
|
| pOutput[OUT] |
|
- 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
Function to unpack QoS primary flow events. This maps to SLQSSetQosPriEventCallback
- Parameters
-
| pResp[IN] |
|
| respLen[IN] |
- Length of pResp from modem
|
| pOutput[OUT] |
|
- 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
Function to unpack QoS status indications. This maps to SLQSSetQosStatusCallback
- Parameters
-
| pResp[IN] |
|
| respLen[IN] |
- Length of pResp from modem
|
| pOutput[OUT] |
|
- 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