Home
last modified time | relevance | path

Searched refs:pRsp (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dnan_rsp.cpp347 NanResponseMsg *pRsp; in NanErrorTranslation() local
354 pRsp = (NanResponseMsg*)pResponse; in NanErrorTranslation()
357 pRsp->status = errorCodeTranslation[i].frameworkError; in NanErrorTranslation()
358 strlcpy(pRsp->nan_error, errorCodeTranslation[i].nan_error, NAN_ERROR_STR_LEN); in NanErrorTranslation()
367 strlcat(pRsp->nan_error, tlvInfo, sizeof(pRsp->nan_error)); in NanErrorTranslation()
372 pRsp->status = NAN_STATUS_INTERNAL_FAILURE; in NanErrorTranslation()
373 strlcpy(pRsp->nan_error, "NAN Discovery engine failure", NAN_ERROR_STR_LEN); in NanErrorTranslation()
375 …LOGD("%s: Status: %d Error Info[value %d]: %s", __FUNCTION__, pRsp->status, valueRcvd, pRsp->nan_e… in NanErrorTranslation()
416 int NanCommand::getNanResponse(transaction_id *id, NanResponseMsg *pRsp) in getNanResponse() argument
418 if (mNanVendorEvent == NULL || pRsp == NULL) { in getNanResponse()
[all …]
Dnan_ind.cpp215 pNanPublishRepliedIndMsg pRsp = (pNanPublishRepliedIndMsg)mNanVendorEvent; in getNanPublishReplied() local
216 event->requestor_instance_id = pRsp->publishRepliedIndParams.matchHandle; in getNanPublishReplied()
219 u8 *pInputTlv = pRsp->ptlv; in getNanPublishReplied()
264 pNanPublishTerminatedIndMsg pRsp = (pNanPublishTerminatedIndMsg)mNanVendorEvent; in getNanPublishTerminated() local
265 event->publish_id = pRsp->fwHeader.handle; in getNanPublishTerminated()
266 NanErrorTranslation((NanInternalStatusType)pRsp->reason, 0, in getNanPublishTerminated()
279 pNanMatchIndMsg pRsp = (pNanMatchIndMsg)mNanVendorEvent; in getNanMatch() local
280 event->publish_subscribe_id = pRsp->fwHeader.handle; in getNanMatch()
281 event->requestor_instance_id = pRsp->matchIndParams.matchHandle; in getNanMatch()
282 event->match_occured_flag = pRsp->matchIndParams.matchOccuredFlag; in getNanMatch()
[all …]
Dnancommand.h40 int getNanResponse(transaction_id *id, NanResponseMsg *pRsp);
94 NanStatsResponse *pRsp,
133 wifi_error getNanStaParameter(wifi_interface_handle iface, NanStaParameter *pRsp);
145 void *pRsp,
Dnan_i.h1282 void *pRsp,
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dnan_rsp.cpp381 NanResponseMsg *pRsp; in NanErrorTranslation() local
388 pRsp = (NanResponseMsg*)pResponse; in NanErrorTranslation()
391 pRsp->status = errorCodeTranslation[i].frameworkError; in NanErrorTranslation()
392 strlcpy(pRsp->nan_error, errorCodeTranslation[i].nan_error, NAN_ERROR_STR_LEN); in NanErrorTranslation()
401 strlcat(pRsp->nan_error, tlvInfo, sizeof(pRsp->nan_error)); in NanErrorTranslation()
406 pRsp->status = NAN_STATUS_INTERNAL_FAILURE; in NanErrorTranslation()
407 strlcpy(pRsp->nan_error, "NAN Discovery engine failure", NAN_ERROR_STR_LEN); in NanErrorTranslation()
409 …LOGD("%s: Status: %d Error Info[value %d]: %s", __FUNCTION__, pRsp->status, valueRcvd, pRsp->nan_e… in NanErrorTranslation()
450 int NanCommand::getNanResponse(transaction_id *id, NanResponseMsg *pRsp) in getNanResponse() argument
452 if (mNanVendorEvent == NULL || pRsp == NULL) { in getNanResponse()
[all …]
Dnan_ind.cpp259 pNanPublishRepliedIndMsg pRsp = (pNanPublishRepliedIndMsg)mNanVendorEvent; in getNanPublishReplied() local
260 event->requestor_instance_id = pRsp->publishRepliedIndParams.matchHandle; in getNanPublishReplied()
263 u8 *pInputTlv = pRsp->ptlv; in getNanPublishReplied()
308 pNanPublishTerminatedIndMsg pRsp = (pNanPublishTerminatedIndMsg)mNanVendorEvent; in getNanPublishTerminated() local
309 event->publish_id = pRsp->fwHeader.handle; in getNanPublishTerminated()
310 NanErrorTranslation((NanInternalStatusType)pRsp->reason, 0, in getNanPublishTerminated()
323 pNanMatchIndMsg pRsp = (pNanMatchIndMsg)mNanVendorEvent; in getNanMatch() local
324 event->publish_subscribe_id = pRsp->fwHeader.handle; in getNanMatch()
325 event->requestor_instance_id = pRsp->matchIndParams.matchHandle; in getNanMatch()
326 event->match_occured_flag = pRsp->matchIndParams.matchOccuredFlag; in getNanMatch()
[all …]
Dnancommand.h117 int getNanResponse(transaction_id *id, NanResponseMsg *pRsp);
171 NanStatsResponse *pRsp,
210 wifi_error getNanStaParameter(wifi_interface_handle iface, NanStaParameter *pRsp);
222 void *pRsp,
Dnan_i.h1320 void *pRsp,
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Apdu_Api.cpp42 pphNxpEse_7816_rpdu_t pRsp) { in phNxpEse_7816_Transceive() argument
53 if (NULL == pCmd || NULL == pRsp) { in phNxpEse_7816_Transceive()
59 } else if (0 < pCmd->le_type && NULL == pRsp->pdata) { in phNxpEse_7816_Transceive()
73 pRsp->sw2 = *(pRspTrans.p_data + (pRspTrans.len - 1)); in phNxpEse_7816_Transceive()
75 pRsp->sw1 = *(pRspTrans.p_data + (pRspTrans.len - 1)); in phNxpEse_7816_Transceive()
77 pRsp->len = pRspTrans.len; in phNxpEse_7816_Transceive()
81 pRsp->sw2 = *(pRspTrans.p_data + (pRspTrans.len - 1)); in phNxpEse_7816_Transceive()
83 pRsp->sw1 = *(pRspTrans.p_data + (pRspTrans.len - 1)); in phNxpEse_7816_Transceive()
85 pRsp->len = pRspTrans.len; in phNxpEse_7816_Transceive()
86 NXP_LOG_ESE_D("pRsp->len %d", pRsp->len); in phNxpEse_7816_Transceive()
[all …]
DphNxpEseProto7816_3.h564 phNxpEse_data* pRsp);
DphNxpEse_Api.cpp558 ESESTATUS phNxpEse_Transceive(phNxpEse_data* pCmd, phNxpEse_data* pRsp) { in phNxpEse_Transceive() argument
561 if ((NULL == pCmd) || (NULL == pRsp)) return ESESTATUS_INVALID_PARAMETER; in phNxpEse_Transceive()
581 (phNxpEse_data*)pRsp); in phNxpEse_Transceive()
DphNxpEseProto7816_3.cpp1775 phNxpEse_data* pRsp) { in phNxpEseProto7816_Transceive() argument
1780 if ((NULL == pCmd) || (NULL == pRsp) || in phNxpEseProto7816_Transceive()
1823 pRsp->len = pRes.len; in phNxpEseProto7816_Transceive()
1824 pRsp->p_data = pRes.p_data; in phNxpEseProto7816_Transceive()
/hardware/st/secure_element/ese-spi-driver/
DSpiLayerInterface.cc170 uint8_t* pRsp = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in SpiLayerInterface_setup() local
172 T1protocol_transcieveApduPart(0, 0, false, (StEse_data*)pRsp, S_IFS_REQ); in SpiLayerInterface_setup()
176 free(pRsp); in SpiLayerInterface_setup()
182 free(pRsp); in SpiLayerInterface_setup()
DStEseApi.cc151 ESESTATUS StEse_Transceive(StEse_data* pCmd, StEse_data* pRsp) { in StEse_Transceive() argument
159 if ((NULL == pCmd) || (NULL == pRsp)) return ESESTATUS_INVALID_PARAMETER; in StEse_Transceive()
181 (StEse_data*)pRsp, I_block); in StEse_Transceive()
206 (StEse_data*)pRsp, I_block); in StEse_Transceive()
DStEseApi.h80 ESESTATUS StEse_Transceive(StEse_data* pCmd, StEse_data* pRsp);
DT1protocol.h400 bool isLast, StEse_data* pRsp,
DT1protocol.cc1129 bool isLast, StEse_data* pRsp, in T1protocol_transcieveApduPart() argument
1223 pRsp->len = pRes.len; in T1protocol_transcieveApduPart()
1224 pRsp->p_data = pRes.p_data; in T1protocol_transcieveApduPart()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/inc/
DphNxpEse_Apdu_Api.h102 pphNxpEse_7816_rpdu_t pRsp);
DphNxpEse_Api.h192 ESESTATUS phNxpEse_Transceive(phNxpEse_data* pCmd, phNxpEse_data* pRsp);
/hardware/nxp/secure_element/pn8x/libese-spi/p73/inc/
DphNxpEse_Api.h142 ESESTATUS phNxpEse_Transceive(phNxpEse_data* pCmd, phNxpEse_data* pRsp);
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEseProto7816_3.cpp1069 phNxpEse_data* pRsp) { in phNxpEseProto7816_Transceive() argument
1074 if ((NULL == pCmd) || (NULL == pRsp) || in phNxpEseProto7816_Transceive()
1099 pRsp->len = pRes.len; in phNxpEseProto7816_Transceive()
1100 pRsp->p_data = pRes.p_data; in phNxpEseProto7816_Transceive()
1111 pRsp->len = pRes.len; in phNxpEseProto7816_Transceive()
1112 pRsp->p_data = pRes.p_data; in phNxpEseProto7816_Transceive()
DphNxpEseProto7816_3.h426 phNxpEse_data* pRsp);
DphNxpEse_Api.cpp590 ESESTATUS phNxpEse_Transceive(phNxpEse_data* pCmd, phNxpEse_data* pRsp) { in phNxpEse_Transceive() argument
593 if ((NULL == pCmd) || (NULL == pRsp)) return ESESTATUS_INVALID_PARAMETER; in phNxpEse_Transceive()
607 (phNxpEse_data*)pRsp); in phNxpEse_Transceive()