Merge "Fixed the HCI ACL Header definitions for PB and BC Flags" am: adda0e8721

am: cd762d90e8

Change-Id: Ie928aff644005c58792d3fd94a317e0e758c11aa
This commit is contained in:
Stanley Tng 2017-07-20 18:24:07 +00:00 committed by android-build-merger
commit 81775f2adb

View file

@ -88,8 +88,14 @@ using ::android::sp;
#define EVENT_NUMBER_OF_COMPLETED_PACKETS_NUM_HANDLES 2 #define EVENT_NUMBER_OF_COMPLETED_PACKETS_NUM_HANDLES 2
#define ACL_BROADCAST_ACTIVE_SLAVE (0x1 << 4) #define ACL_BROADCAST_FLAG_OFFSET 6
#define ACL_PACKET_BOUNDARY_COMPLETE (0x3 << 6) #define ACL_BROADCAST_FLAG_ACTIVE_SLAVE 0x1
#define ACL_BROADCAST_ACTIVE_SLAVE (ACL_BROADCAST_FLAG_ACTIVE_SLAVE << ACL_BROADCAST_FLAG_OFFSET)
#define ACL_PACKET_BOUNDARY_FLAG_OFFSET 4
#define ACL_PACKET_BOUNDARY_FLAG_COMPLETE 0x3
#define ACL_PACKET_BOUNDARY_COMPLETE \
(ACL_PACKET_BOUNDARY_FLAG_COMPLETE << ACL_PACKET_BOUNDARY_FLAG_OFFSET)
constexpr char kCallbackNameAclEventReceived[] = "aclDataReceived"; constexpr char kCallbackNameAclEventReceived[] = "aclDataReceived";
constexpr char kCallbackNameHciEventReceived[] = "hciEventReceived"; constexpr char kCallbackNameHciEventReceived[] = "hciEventReceived";