Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
sar.h
Go to the documentation of this file.
1 
6 #ifndef __LITEQMI_SAR_H__
7 #define __LITEQMI_SAR_H__
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 #include "common.h"
14 #include <stdint.h>
15 
30  pack_qmi_t *pCtx,
31  uint8_t *pReqBuf,
32  uint16_t *pLen
33  );
55 typedef struct{
56  uint32_t *pSarRFState;
57  swi_uint256_t ParamPresenceMask;
59 
73  uint8_t *pResp,
74  uint16_t respLen,
76  );
77 
94 typedef struct {
95  uint32_t RfSarState;
97 
99 
115  pack_qmi_t *pCtx,
116  uint8_t *pReqBuf,
117  uint16_t *pLen,
119  );
120 
134  uint8_t *pResp,
135  uint16_t respLen,
136  unpack_sar_SLQSSetRfSarState_t *pOutput
137  );
138 
163 typedef struct
164 {
165  uint32_t moduleId;
166  uint8_t enableDetection;
167  int32_t pmaxDbmQ7;
168  int32_t pmaxDbmQ7Mimo;
169  int32_t band;
170 } ModuleInfo_t;
171 
172 /*
173  * This structure contains the SarMpeBeamMtpl request parameters.
174  */
175 typedef struct {
176  uint8_t moduleInfoLen;
177  ModuleInfo_t moduleInfo[64];
179 
181 
199  pack_qmi_t *pCtx,
200  uint8_t *pReqBuf,
201  uint16_t *pLen,
203 );
204 
221  uint8_t *pResp,
222  uint16_t respLen,
223  unpack_sar_SLQSMpeBeamMtpl_t *pOutput
224 );
225 
226 #ifdef __cplusplus
227 } /* extern "C" { */
228 #endif
229 
230 #endif//#ifndef __LITEQMI_SAR_H__
231 
int unpack_sar_SLQSSetRfSarState(uint8_t *pResp, uint16_t respLen, unpack_sar_SLQSSetRfSarState_t *pOutput)
int pack_sar_SLQSGetRfSarState(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen)
Definition: sar.h:55
Definition: common.h:350
int pack_sar_SLQSMpeBeamMtpl(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sar_SLQSMpeBeamMtpl_t *reqArg)
Definition: sar.h:163
int pack_sar_SLQSSetRfSarState(pack_qmi_t *pCtx, uint8_t *pReqBuf, uint16_t *pLen, pack_sar_SLQSSetRfSarState_t *reqArg)
int unpack_sar_SLQSMpeBeamMtpl(uint8_t *pResp, uint16_t respLen, unpack_sar_SLQSMpeBeamMtpl_t *pOutput)
Definition: sar.h:175
Definition: sar.h:94
Definition: common.h:139
int unpack_sar_SLQSGetRfSarState(uint8_t *pResp, uint16_t respLen, unpack_sar_SLQSGetRfSarState_t *pOutput)