Page MenuHomeFreeBSD

Fix L2CAP ACL packet Packet Boundary flag for LE packet.
ClosedPublic

Authored by takawata on Jul 17 2020, 10:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 9:31 AM
Unknown Object (File)
Thu, Oct 9, 12:02 AM
Unknown Object (File)
Fri, Oct 3, 10:23 AM
Unknown Object (File)
Fri, Oct 3, 12:20 AM
Unknown Object (File)
Wed, Oct 1, 9:40 AM
Unknown Object (File)
Tue, Sep 30, 4:07 AM
Unknown Object (File)
Sep 12 2025, 1:37 AM
Unknown Object (File)
Sep 11 2025, 3:26 PM

Details

Summary

ACL packet boundary flag should be 0 instead of 2 for LE packet.
Some HCI will ignore LE packet with PB flag is 2, which will prevent
packet from sending.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

It's a bit funny that the check is == NG_HCI_LINK_ACL (we are speaking ACL anyway), but makes sense — with LE it would be NG_HCI_LINK_LE_PUBLIC / NG_HCI_LINK_LE_RANDOM, and others like SCO wouldn't be used with L2CAP (?)

This revision is now accepted and ready to land.Jul 17 2020, 11:53 AM