Lines Matching refs:wFrameLen
591 uint16_t wFrameLen = 0; in phDnldNfc_BuildFramePkt() local
630 wFrameLen = (pDlContext->tRspBuffInfo.wLen) + PHDNLDNFC_MIN_PLD_LEN; in phDnldNfc_BuildFramePkt()
638 if(PHDNLDNFC_CMDRESP_MAX_PLD_SIZE < wFrameLen) in phDnldNfc_BuildFramePkt()
664 wFrameLen = 0; in phDnldNfc_BuildFramePkt()
665 wFrameLen = (pDlContext->tCmdRspFrameInfo.dwSendlength); in phDnldNfc_BuildFramePkt()
671 pFrameByte = (uint8_t *)&wFrameLen; in phDnldNfc_BuildFramePkt()
680 wFrameLen += PHDNLDNFC_FRAME_HDR_LEN; in phDnldNfc_BuildFramePkt()
689 wFrameLen = PHDNLDNFC_SET_HDR_FRAGBIT(wFrameLen); in phDnldNfc_BuildFramePkt()
692 pFrameByte = (uint8_t *)&wFrameLen; in phDnldNfc_BuildFramePkt()
698 wFrameLen = PHDNLDNFC_CLR_HDR_FRAGBIT(wFrameLen); in phDnldNfc_BuildFramePkt()
700 wFrameLen += PHDNLDNFC_FRAME_HDR_LEN; in phDnldNfc_BuildFramePkt()
705 wCrcVal = phDnldNfc_CalcCrc16((pDlContext->tCmdRspFrameInfo.aFrameBuff),wFrameLen); in phDnldNfc_BuildFramePkt()
710 pDlContext->tCmdRspFrameInfo.aFrameBuff[wFrameLen] = pFrameByte[1]; in phDnldNfc_BuildFramePkt()
711 pDlContext->tCmdRspFrameInfo.aFrameBuff[wFrameLen+ 1] = pFrameByte[0]; in phDnldNfc_BuildFramePkt()
713 wFrameLen += PHDNLDNFC_FRAME_CRC_LEN; in phDnldNfc_BuildFramePkt()
716 (pDlContext->tCmdRspFrameInfo.dwSendlength) = wFrameLen; in phDnldNfc_BuildFramePkt()
745 uint16_t wFrameLen = 0; in phDnldNfc_CreateFramePld() local
782 wFrameLen = (pDlContext->tUserData.pBuff[wBuffIdx]); in phDnldNfc_CreateFramePld()
783 wFrameLen <<= 8; in phDnldNfc_CreateFramePld()
784 wFrameLen |= (pDlContext->tUserData.pBuff[wBuffIdx + 1]); in phDnldNfc_CreateFramePld()
786 (pDlContext->tRWInfo.wRWPldSize) = wFrameLen; in phDnldNfc_CreateFramePld()
793 (pDlContext->tRWInfo.wRemChunkBytes) = wFrameLen; in phDnldNfc_CreateFramePld()
815 (pDlContext->tRWInfo.wBytesToSendRecv) = (wFrameLen + PHDNLDNFC_FRAME_HDR_LEN); in phDnldNfc_CreateFramePld()