Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
wda.h
Go to the documentation of this file.
1 
6 #ifndef __LITEQMI_WDA_H__
7 #define __LITEQMI_WDA_H__
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #include "common.h"
14 #include <stdint.h>
15 
16 void helper_get_wda_resp_ctx(
17  uint8_t *rsp,
18  uint32_t len,
19  unpack_qmi_t *pCtx
20  );
21 
101 typedef struct{
102  uint8_t* pQos_format; //TLV 0x10
103  uint32_t* pQlink_prot; //TLV 0x11
104  uint32_t* pUl_data_aggregation_protocol; //TLV 0x12
105  uint32_t* pDl_data_aggregation_protocol; //TLV 0x13
106  uint32_t* pNdp_signature; //TLV 0x14
107  uint32_t* pDl_data_aggregation_max_datagrams; //TLV 0x15
108  uint32_t* pDl_data_aggregation_max_size; //TLV 0x16
109  uint32_t* pEp_type; //TLV 0x17 - 1
110  uint32_t* pIface_id; //TLV 0x17 - 2
111  uint32_t* pQos_header_format; //TLV 0x18
112  uint32_t* pDl_minimum_padding; //TLV 0x19
113  uint8_t* pFlow_control; //TLV 0x1A
114  uint32_t* pUl_data_aggregation_max_datagrams; //TLV 0x1B
115  uint32_t* pUl_data_aggregation_max_size; //TLV 0x1C
116  uint8_t* pTcp_coalescing; //TLV 0x1D - 1
117  uint8_t* pUdp_coalescing; //TLV 0x1D - 2
119 
210 typedef struct{
211  swi_uint256_t ParamPresenceMask;
212  uint16_t Tlvresult;
213  uint8_t* pQos_format; //TLV 0x10
214  uint32_t* pQlink_prot; //TLV 0x11
215  uint32_t* pUl_data_aggregation_protocol; //TLV 0x12
216  uint32_t* pDl_data_aggregation_protocol; //TLV 0x13
217  uint32_t* pNdp_signature; //TLV 0x14
218  uint32_t* pDl_data_aggregation_max_datagrams; //TLV 0x15
219  uint32_t* pDl_data_aggregation_max_size; //TLV 0x16
220  uint32_t* pUl_data_aggregation_max_datagrams; //TLV 0x17
221  uint32_t* pUl_data_aggregation_max_size; //TLV 0x18
222  uint32_t* pQos_header_format; //TLV 0x19
223  uint32_t* pDl_minimum_padding; //TLV 0x1A
224  uint8_t* pFlow_control; //TLV 0x1B
225  uint8_t* pTcp_coalescing; //TLV 0x1C - 1
226  uint8_t* pUdp_coalescing; //TLV 0x1C - 2
228 
244  pack_qmi_t *pCtx,
245  uint8_t *pReqBuf,
246  uint16_t *pLen,
248 );
249 
264  uint8_t *pResp,
265  uint16_t respLen,
267 );
268 
287 typedef struct{
288  uint32_t ep_type;
289  uint32_t iface_id;
291 
351 typedef struct{
352  swi_uint256_t ParamPresenceMask;
353  uint16_t Tlvresult;
354  uint8_t Qos_format;
355  uint32_t Qlink_prot;
356  uint32_t Ul_data_aggregation_protocol;
357  uint32_t Dl_data_aggregation_protocol;
358  uint32_t Ndp_signature;
359  uint32_t Dl_data_aggregation_max_datagrams;
360  uint32_t Dl_data_aggregation_max_size;
361  uint32_t Ul_data_aggregation_max_datagrams;
362  uint32_t Ul_data_aggregation_max_size;
363  uint32_t Qos_header_format;
364  uint32_t Dl_minimum_padding;
365  uint8_t Flow_control;
366  uint8_t Tcp_coalescing;
367  uint8_t Udp_coalescing;
369 
370 
386  pack_qmi_t *pCtx,
387  uint8_t *pReqBuf,
388  uint16_t *pLen,
389  pack_wda_GetDataFormat_t *reqArg
390 );
391 
392 
407  uint8_t *pResp,
408  uint16_t respLen,
410 );
411 
434 typedef struct{
435  uint32_t* pEp_type;
436  uint32_t* pIface_id;
437  uint8_t* pQmap_dfc;
439 
456 typedef struct{
457  swi_uint256_t ParamPresenceMask;
458  uint16_t Tlvresult;
459  uint8_t* pQmap_dfc;
461 
477  pack_qmi_t *pCtx,
478  uint8_t *pReqBuf,
479  uint16_t *pLen,
481 );
482 
497  uint8_t *pResp,
498  uint16_t respLen,
500 );
501 
520 typedef struct{
521  uint32_t* pEp_type;
522  uint32_t* pIface_id;
524 
541 typedef struct{
542  swi_uint256_t ParamPresenceMask;
543  uint16_t Tlvresult;
544  uint8_t* pQmap_dfc;
546 
562  pack_qmi_t *pCtx,
563  uint8_t *pReqBuf,
564  uint16_t *pLen,
566 );
567 
582  uint8_t *pResp,
583  uint16_t respLen,
585 );
586 
587 #ifdef __cplusplus
588 } /* extern "C" { */
589 #endif
590 
591 #endif//#ifndef __LITEQMI_WDA_H__
592 
Definition: wda.h:434
int unpack_wda_GetDataFormat(uint8_t *pResp, uint16_t respLen, unpack_wda_GetDataFormat_t *pOutput)
Definition: wda.h:541
int unpack_wda_SetDataFormat(uint8_t *pResp, uint16_t respLen, unpack_wda_SetDataFormat_t *pOutput)
Definition: wda.h:210
Definition: wda.h:456
int unpack_wda_SetQmapSettings(uint8_t *pResp, uint16_t respLen, unpack_wda_SetQmapSettings_t *pOutput)
int pack_wda_SetDataFormat(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_wda_SetDataFormat_t *reqArg)
Definition: wda.h:101
int pack_wda_GetQmapSettings(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_wda_GetQmapSettings_t *reqArg)
int pack_wda_GetDataFormat(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_wda_GetDataFormat_t *reqArg)
int pack_wda_SetQmapSettings(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_wda_SetQmapSettings_t *reqArg)
Definition: wda.h:351
Definition: common.h:154
Definition: wda.h:520
int unpack_wda_GetQmapSettings(uint8_t *pResp, uint16_t respLen, unpack_wda_GetQmapSettings_t *pOutput)
Definition: common.h:139
Definition: wda.h:287