Loading system/gd/hci/acl_manager/assembler.h +3 −3 Original line number Diff line number Diff line Loading @@ -20,6 +20,9 @@ namespace bluetooth { namespace hci { namespace acl_manager { constexpr size_t kMaxQueuedPacketsPerConnection = 10; constexpr size_t kL2capBasicFrameHeaderSize = 4; namespace { class PacketViewForRecombination : public packet::PacketView<kLittleEndian> { public: Loading @@ -29,9 +32,6 @@ class PacketViewForRecombination : public packet::PacketView<kLittleEndian> { } }; constexpr size_t kMaxQueuedPacketsPerConnection = 10; constexpr int kL2capBasicFrameHeaderSize = 4; // Per spec 5.1 Vol 2 Part B 5.3, ACL link shall carry L2CAP data. Therefore, an ACL packet shall contain L2CAP PDU. // This function returns the PDU size of the L2CAP data if it's a starting packet. Returns 0 if it's invalid. uint16_t GetL2capPduSize(AclView packet) { Loading Loading
system/gd/hci/acl_manager/assembler.h +3 −3 Original line number Diff line number Diff line Loading @@ -20,6 +20,9 @@ namespace bluetooth { namespace hci { namespace acl_manager { constexpr size_t kMaxQueuedPacketsPerConnection = 10; constexpr size_t kL2capBasicFrameHeaderSize = 4; namespace { class PacketViewForRecombination : public packet::PacketView<kLittleEndian> { public: Loading @@ -29,9 +32,6 @@ class PacketViewForRecombination : public packet::PacketView<kLittleEndian> { } }; constexpr size_t kMaxQueuedPacketsPerConnection = 10; constexpr int kL2capBasicFrameHeaderSize = 4; // Per spec 5.1 Vol 2 Part B 5.3, ACL link shall carry L2CAP data. Therefore, an ACL packet shall contain L2CAP PDU. // This function returns the PDU size of the L2CAP data if it's a starting packet. Returns 0 if it's invalid. uint16_t GetL2capPduSize(AclView packet) { Loading