Searched refs:CHPP_PREAMBLE_LEN_BYTES (Results 1 – 3 of 3) sorted by relevance
109 #define CHPP_PREAMBLE_LEN_BYTES 2 macro118 ((CHPP_PREAMBLE_DATA >> (8 * (CHPP_PREAMBLE_LEN_BYTES - (loc)-1))) & 0xff)139 (1024 + CHPP_PREAMBLE_LEN_BYTES + sizeof(struct ChppTransportHeader) + \146 ((uint16_t)(CHPP_LINK_TX_MTU_BYTES - CHPP_PREAMBLE_LEN_BYTES - \154 ((uint16_t)(CHPP_PLATFORM_LINK_RX_MTU_BYTES - CHPP_PREAMBLE_LEN_BYTES - \
53 constexpr size_t kMaxPacketSize = kMaxChunkSize + CHPP_PREAMBLE_LEN_BYTES +254 *checksum = chppCrc32(0, &buf[CHPP_PREAMBLE_LEN_BYTES], in addTransportFooterToBuf()255 *location - CHPP_PREAMBLE_LEN_BYTES); in addTransportFooterToBuf()306 EXPECT_EQ(sizeof(ChppTestResponse), CHPP_PREAMBLE_LEN_BYTES + in openService()380 size_t preambleLoc = MAX(0, len - CHPP_PREAMBLE_LEN_BYTES); in TEST_P()384 if (len >= CHPP_PREAMBLE_LEN_BYTES) { in TEST_P()419 CHPP_PREAMBLE_LEN_BYTES + sizeof(ChppTransportHeader)), in TEST_P()440 &mBuf[CHPP_PREAMBLE_LEN_BYTES + sizeof(ChppTransportHeader)], in TEST_P()456 &mBuf[CHPP_PREAMBLE_LEN_BYTES + sizeof(ChppTransportHeader) + len], in TEST_P()480 .payload[CHPP_PREAMBLE_LEN_BYTES]; in TEST_P()[all …]
138 context->rxStatus.locInState < CHPP_PREAMBLE_LEN_BYTES) { in chppConsumePreamble()158 if (context->rxStatus.locInState == CHPP_PREAMBLE_LEN_BYTES) { in chppConsumePreamble()479 context->transportLoopbackData.length - CHPP_PREAMBLE_LEN_BYTES - in chppProcessTransportLoopbackResponse()822 return CHPP_PREAMBLE_LEN_BYTES; in chppAddPreamble()857 .payload[CHPP_PREAMBLE_LEN_BYTES]; in chppAddPayload()897 footer.checksum = chppCrc32(0, &packet->payload[CHPP_PREAMBLE_LEN_BYTES], in chppAddFooter()898 packet->length - CHPP_PREAMBLE_LEN_BYTES); in chppAddFooter()