Skip to content

datasource_nrf_51822: filter packets that fail CRC validation - #621

Merged
kismetwireless merged 1 commit into
kismetwireless:masterfrom
shrout1:fix/nrf51822-crc-filter
Jul 28, 2026
Merged

datasource_nrf_51822: filter packets that fail CRC validation#621
kismetwireless merged 1 commit into
kismetwireless:masterfrom
shrout1:fix/nrf51822-crc-filter

Conversation

@shrout1

@shrout1 shrout1 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Add an else branch alongside the existing valid-packet handling to set packet->filtered = true when checksum_valid is false. Previously there was no such branch: invalid packets fell straight through with no packet data attached at all, likely the root cause of the sustained under-detection reported in #399; see the end of this conversation. This will allow for invalid packet counters to increment.

Add an else branch alongside the existing valid-packet handling to
set packet->filtered = true when checksum_valid is false, so invalid
packets are dropped before they can create or update a device.
Previously there was no such branch: invalid packets fell straight
through with no packet data attached at all, likely the root cause
of the sustained under-detection reported in kismetwireless#399.
@kismetwireless
kismetwireless merged commit 626fec9 into kismetwireless:master Jul 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants