Searched refs:pInTlv (Results 1 – 2 of 2) sorted by relevance
734 u16 NANTLV_WriteTlv(pNanTlv pInTlv, u8 *pOutTlv) in NANTLV_WriteTlv() argument739 if (!pInTlv) in NANTLV_WriteTlv()751 *pOutTlv++ = pInTlv->type & 0xFF; in NANTLV_WriteTlv()752 *pOutTlv++ = (pInTlv->type & 0xFF00) >> 8; in NANTLV_WriteTlv()755 ALOGV("WRITE TLV type %u, writeLen %u", pInTlv->type, writeLen); in NANTLV_WriteTlv()757 *pOutTlv++ = pInTlv->length & 0xFF; in NANTLV_WriteTlv()758 *pOutTlv++ = (pInTlv->length & 0xFF00) >> 8; in NANTLV_WriteTlv()761 ALOGV("WRITE TLV length %u, writeLen %u", pInTlv->length, writeLen); in NANTLV_WriteTlv()763 for (i=0; i < pInTlv->length; ++i) in NANTLV_WriteTlv()765 *pOutTlv++ = pInTlv->value[i]; in NANTLV_WriteTlv()[all …]
694 u16 NANTLV_ReadTlv(u8 *pInTlv, pNanTlv pOutTlv);695 u16 NANTLV_WriteTlv(pNanTlv pInTlv, u8 *pOutTlv);