Lines Matching refs:wFrameLen
537 uint16_t wFrameLen = 0; in phDnldNfc_BuildFramePkt() local
564 wFrameLen = (pDlContext->tRspBuffInfo.wLen) + PHDNLDNFC_MIN_PLD_LEN; in phDnldNfc_BuildFramePkt()
573 if (PHDNLDNFC_CMDRESP_MAX_PLD_SIZE < wFrameLen) { in phDnldNfc_BuildFramePkt()
592 wFrameLen = 0; in phDnldNfc_BuildFramePkt()
593 wFrameLen = (pDlContext->tCmdRspFrameInfo.dwSendlength); in phDnldNfc_BuildFramePkt()
594 if (wFrameLen > PHDNLDNFC_CMDRESP_MAX_BUFF_SIZE) { in phDnldNfc_BuildFramePkt()
601 pFrameByte = (uint8_t*)&wFrameLen; in phDnldNfc_BuildFramePkt()
612 wFrameLen += PHDNLDNFC_FRAME_HDR_LEN; in phDnldNfc_BuildFramePkt()
617 wFrameLen = PHDNLDNFC_SET_HDR_FRAGBIT(wFrameLen); in phDnldNfc_BuildFramePkt()
620 pFrameByte = (uint8_t*)&wFrameLen; in phDnldNfc_BuildFramePkt()
628 wFrameLen = PHDNLDNFC_CLR_HDR_FRAGBIT(wFrameLen); in phDnldNfc_BuildFramePkt()
630 wFrameLen += PHDNLDNFC_FRAME_HDR_LEN; in phDnldNfc_BuildFramePkt()
634 if (wFrameLen > (PHDNLDNFC_CMDRESP_MAX_BUFF_SIZE - 2)) { in phDnldNfc_BuildFramePkt()
640 wFrameLen); in phDnldNfc_BuildFramePkt()
645 pDlContext->tCmdRspFrameInfo.aFrameBuff[wFrameLen] = pFrameByte[1]; in phDnldNfc_BuildFramePkt()
646 pDlContext->tCmdRspFrameInfo.aFrameBuff[wFrameLen + 1] = pFrameByte[0]; in phDnldNfc_BuildFramePkt()
648 wFrameLen += PHDNLDNFC_FRAME_CRC_LEN; in phDnldNfc_BuildFramePkt()
651 (pDlContext->tCmdRspFrameInfo.dwSendlength) = wFrameLen; in phDnldNfc_BuildFramePkt()
677 uint16_t wFrameLen = 0; in phDnldNfc_CreateFramePld() local
712 wFrameLen = (pDlContext->tUserData.pBuff[wBuffIdx]); in phDnldNfc_CreateFramePld()
713 wFrameLen <<= 8; in phDnldNfc_CreateFramePld()
714 wFrameLen |= (pDlContext->tUserData.pBuff[wBuffIdx + 1]); in phDnldNfc_CreateFramePld()
716 (pDlContext->tRWInfo.wRWPldSize) = wFrameLen; in phDnldNfc_CreateFramePld()
721 (pDlContext->tRWInfo.wRemChunkBytes) = wFrameLen; in phDnldNfc_CreateFramePld()
744 (wFrameLen + PHDNLDNFC_FRAME_HDR_LEN); in phDnldNfc_CreateFramePld()