diff options
author | Sunny Kapdi <sunnyk@codeaurora.org> | 2018-07-05 14:31:21 -0700 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2018-08-20 04:59:46 +0000 |
commit | a96e9b3c8299fc2a9cc653fa9ab6efd7c22f6a6c (patch) | |
tree | f11a907ecba55617c2e1845521fc36b870d96bb1 /system/common/message_loop_thread_unittest.cc | |
parent | 22ba5f16fa7ebdcb9e62f7f1147217b56797dc61 (diff) |
A2DP Offload: Fix Max AVDTP MTU for Offload
Fix the max AVDTP MTU for Offload to what
can fit in a 3DH5 packet after accounting
for AVDTP and L2CAP header.
Also:
- Moved MAX_2MBPS_AVDTP_MTU and MAX_3MBPS_AVDTP_MTU to the common
avdt_api.h so it can be used by the rest of the code
- Removed previously incorrect value of BTA_AV_MAX_A2DP_MTU and
replace it with the new (correct) value of MAX_3MBPS_AVDTP_MTU
- Removed duplicate define of MAX_2MBPS_AVDTP_MTU and use
the one from avdt_api.h
Bug: 78907438
Test: A2DP Streaming
Change-Id: I2c60c34c33e4164c9f7e2e7362bbb600482dec97
Diffstat (limited to 'system/common/message_loop_thread_unittest.cc')
0 files changed, 0 insertions, 0 deletions