Bluetooth: Increase default ATT MTU when possible
The 23 bytes default is quite limiting. When SMP has been enabled we can do a bit better since we know that we can fit two complete ACL packets to the buffers (23 bytes payload in the first, and 27 in the second). Change-Id: I71d9c484c962b1ff46d325f7182511f168608b8e Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
3bc43254e0
commit
c9f1ce2639
1 changed files with 2 additions and 0 deletions
|
@ -108,6 +108,8 @@ config BLUETOOTH_L2CAP_IN_MTU
|
|||
|
||||
config BLUETOOTH_ATT_MTU
|
||||
int "Attribute Protocol (ATT) channel MTU"
|
||||
default 50 if BLUETOOTH_SMP # BLUETOOTH_L2CAP_IN_MTU is big enough
|
||||
# for two complete ACL packets
|
||||
default 23
|
||||
range 23 BLUETOOTH_L2CAP_IN_MTU
|
||||
help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue