Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix incoming attrib-server connection MTUs
@ 2011-01-20 19:09 Brian Gix
  2011-01-20 19:09 ` [PATCH] " Brian Gix
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Gix @ 2011-01-20 19:09 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: vinicius.gomes, claudio.takahasi, johan.hedberg, padovan


This patch fixes bug detected by Johan.

The reworked patch passes a user_data argument to the bt_io_listen
call which identifies the server IO channel (le_io or l2cap_io). This
is propegated to the eventual connect_event, and used to set up the
correct default MTU for the underlying RF carrier channel.

As stated in the previous patches, this default MTU is important when
reading long Attributes, because some/most remote GATT clients assume
completion of an Attribute read when a shorter-than-MTU result is returned,
making it important for the server to completely fill the response
packets when possible.

--
Brian Gix
bgix@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-21  6:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 19:09 [PATCH 0/1] Fix incoming attrib-server connection MTUs Brian Gix
2011-01-20 19:09 ` [PATCH] " Brian Gix
2011-01-21  6:50   ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox