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)
Tue, Apr 15, 6:16 PM
Unknown Object (File)
Mon, Apr 14, 1:45 PM
Unknown Object (File)
Sat, Apr 12, 8:52 PM
Unknown Object (File)
Mar 15 2025, 11:03 AM
Unknown Object (File)
Mar 8 2025, 10:13 AM
Unknown Object (File)
Feb 20 2025, 4:40 PM
Unknown Object (File)
Feb 20 2025, 2:39 PM
Unknown Object (File)
Feb 12 2025, 9:10 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 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