2012-07-16 04:31:45

by Elvis Pfutzenreuter

[permalink] [raw]
Subject: [PATCH] Increase MTU for MCAP/HDP data channels

HDP may need to send or receive PDUs up to 64512 octets (the IEEE
11073-20601 upper limit) depending on the role, so setting MTU to
maximum possible value.
---
profiles/health/mcap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/health/mcap.h b/profiles/health/mcap.h
index 34a8382..1129e69 100644
--- a/profiles/health/mcap.h
+++ b/profiles/health/mcap.h
@@ -35,7 +35,7 @@ extern "C" {

/* maximum transmission unit for channels */
#define MCAP_CC_MTU 48
-#define MCAP_DC_MTU L2CAP_DEFAULT_MTU
+#define MCAP_DC_MTU 65535

/* MCAP Standard Op Codes */
#define MCAP_ERROR_RSP 0x00
--
1.7.9.5



2012-07-16 19:52:05

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] Increase MTU for MCAP/HDP data channels

Hi Elvis,

On Mon, Jul 16, 2012, Elvis Pf?tzenreuter wrote:
> HDP may need to send or receive PDUs up to 64512 octets (the IEEE
> 11073-20601 upper limit) depending on the role, so setting MTU to
> maximum possible value.
> ---
> profiles/health/mcap.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied. Thanks.

Johan