Lines Matching refs:errorCodeTranslation
191 struct errorCode errorCodeTranslation[] = { variable
355 for (i = 0; i < (int)(sizeof(errorCodeTranslation)/ sizeof(errorCode)); i++) { in NanErrorTranslation()
356 if (errorCodeTranslation[i].firmwareError == firmwareErrorRecvd) { 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()
371 if (i == (int)(sizeof(errorCodeTranslation)/sizeof(errorCode))) { in NanErrorTranslation()
384 for (i = 0; i < (int)(sizeof(errorCodeTranslation)/ sizeof(errorCode)); i++) { in NanErrorTranslation()
385 if (errorCodeTranslation[i].firmwareError == firmwareErrorRecvd) { in NanErrorTranslation()
386 pRspInd->reason = errorCodeTranslation[i].frameworkError; in NanErrorTranslation()
387 … strlcpy(pRspInd->nan_reason, errorCodeTranslation[i].nan_error, NAN_ERROR_STR_LEN); in NanErrorTranslation()
391 if (i == (int)(sizeof(errorCodeTranslation)/sizeof(errorCode))) { in NanErrorTranslation()
399 for (i = 0; i < (int)(sizeof(errorCodeTranslation)/ sizeof(errorCode)); i++) { in NanErrorTranslation()
400 if (errorCodeTranslation[i].firmwareError == firmwareErrorRecvd) { in NanErrorTranslation()
401 pRspdInd->reason = errorCodeTranslation[i].frameworkError; in NanErrorTranslation()
402 … strlcpy(pRspdInd->nan_reason, errorCodeTranslation[i].nan_error, NAN_ERROR_STR_LEN); in NanErrorTranslation()
406 if (i == (int)(sizeof(errorCodeTranslation)/sizeof(errorCode))) { in NanErrorTranslation()