Re: [PATCH] Bluetooth: hci_bcsp: Use the shared CRC-CCITT byte helper
From: patchwork-bot+bluetooth
Date: Tue Sep 08 2026 - 15:56:06 EST
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Mon, 7 Sep 2026 23:10:15 +0800 you wrote:
> bcsp_crc_update() processes each byte as two nibbles, requiring two
> dependent table lookups for every header and payload byte when CRC is
> enabled.
>
> The existing crc_ccitt_byte() helper implements the same reflected
> polynomial with one lookup per byte. Use it instead of the private
> nibble-based implementation and select CRC_CCITT for BCSP-only UART
> configurations as well. The initial CRC value and final bit reversal
> remain unchanged.
>
> [...]
Here is the summary with links:
- Bluetooth: hci_bcsp: Use the shared CRC-CCITT byte helper
https://git.kernel.org/bluetooth/bluetooth-next/c/30962c917c47
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html