Searched refs:pInTlv (Results 1 – 2 of 2) sorted by relevance
1267 u16 NANTLV_WriteTlv(pNanTlv pInTlv, u8 *pOutTlv) in NANTLV_WriteTlv() argument1272 if (!pInTlv) in NANTLV_WriteTlv()1284 *pOutTlv++ = pInTlv->type & 0xFF; in NANTLV_WriteTlv()1285 *pOutTlv++ = (pInTlv->type & 0xFF00) >> 8; in NANTLV_WriteTlv()1288 ALOGV("WRITE TLV type %u, writeLen %u", pInTlv->type, writeLen); in NANTLV_WriteTlv()1290 *pOutTlv++ = pInTlv->length & 0xFF; in NANTLV_WriteTlv()1291 *pOutTlv++ = (pInTlv->length & 0xFF00) >> 8; in NANTLV_WriteTlv()1294 ALOGV("WRITE TLV length %u, writeLen %u", pInTlv->length, writeLen); in NANTLV_WriteTlv()1296 for (i=0; i < pInTlv->length; ++i) in NANTLV_WriteTlv()1298 *pOutTlv++ = pInTlv->value[i]; in NANTLV_WriteTlv()[all …]
788 u16 NANTLV_ReadTlv(u8 *pInTlv, pNanTlv pOutTlv);789 u16 NANTLV_WriteTlv(pNanTlv pInTlv, u8 *pOutTlv);