Home
last modified time | relevance | path

Searched refs:UNCODED_FRAGS (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/subsys/lorawan/frag_decoder/src/
Dmain.c21 #define UNCODED_FRAGS (DIV_ROUND_UP(FIRMWARE_SIZE, FRAG_SIZE)) macro
23 (DIV_ROUND_UP(UNCODED_FRAGS * CONFIG_LORAWAN_FRAG_TRANSPORT_MAX_REDUNDANCY, 100))
24 #define PADDING (UNCODED_FRAGS * FRAG_SIZE - FIRMWARE_SIZE)
37 static uint8_t fw_coded[(UNCODED_FRAGS + REDUNDANT_FRAGS) * FRAG_SIZE];
51 UNCODED_FRAGS & 0xFF,
52 (UNCODED_FRAGS >> 8) & 0xFF,
111 for (int i = 0; i < UNCODED_FRAGS; i++) { in run_test()
113 (i == UNCODED_FRAGS - 1) ? (FRAG_SIZE - PADDING) : FRAG_SIZE; in run_test()