Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set CRC and payload decrypted flags PCAP packet header #66

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ btbb_pcap_append_packet(btbb_pcap_handle * h, const uint64_t ns,
const btbb_packet *pkt)
{
if (h && h->pcap_file) {
uint16_t flags = BREDR_DEWHITENED | BREDR_SIGPOWER_VALID |
uint16_t flags = BREDR_DEWHITENED | BREDR_SIGPOWER_VALID | BREDR_CRC_CHECKED | BREDR_CRC_VALID | BREDR_PAYLOAD_DECRYPTED |
((noisedbm < sigdbm) ? BREDR_NOISEPOWER_VALID : 0) |
((reflap != LAP_ANY) ? BREDR_REFLAP_VALID : 0) |
((refuap != UAP_ANY) ? BREDR_REFUAP_VALID : 0);
Expand Down