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
F168158106: D25704.id74580.diff
Wed, Aug 26, 3:44 PM
Unknown Object (File)
Sat, Aug 22, 3:18 AM
Unknown Object (File)
Thu, Aug 13, 7:54 PM
Unknown Object (File)
Wed, Aug 12, 11:14 PM
Unknown Object (File)
Sat, Aug 8, 7:37 PM
Unknown Object (File)
Sat, Aug 8, 7:37 PM
Unknown Object (File)
Tue, Aug 4, 7:19 PM
Unknown Object (File)
Mon, Aug 3, 8:20 AM

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 Passed
Unit
No Test Coverage
Build Status
Buildable 32377
Build 29858: arc lint + arc unit

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