Skip to content
Commit ea2d785a authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Alberto Escolar
Browse files

modem: cmux: replace `crc8` with `crc8_rohc` for FCS calculation



To improve performance in FCS calculation, this commit replaces
the usage of the generic `crc8` function with the specific `crc8_rohc`
function in `modem_cmux.c`.
The `crc8_rohc` function utilizes a small table approach, enhancing
the efficiency of CRC-8/ROHC variant calculations while optimizing
memory usage.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent d6024c50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment