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)
Wed, Apr 17, 11:25 AM
Unknown Object (File)
Feb 29 2024, 7:17 PM
Unknown Object (File)
Feb 20 2024, 2:19 AM
Unknown Object (File)
Feb 11 2024, 6:44 PM
Unknown Object (File)
Jan 25 2024, 9:16 AM
Unknown Object (File)
Jan 16 2024, 6:33 PM
Unknown Object (File)
Jan 10 2024, 2:45 PM
Unknown Object (File)
Dec 21 2023, 3:51 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 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