public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Increasing HIDP_DEFAULT_MTU ?
Date: Tue, 29 May 2007 06:04:15 +0200	[thread overview]
Message-ID: <1180411455.21432.114.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <f3ev58$iku$1@sea.gmane.org>

Hi Pascal,

> I have a Bluetooth HID peripheral which sends 50-byte payloads
> on L2CAP psm 19, even though it has accepted a Config req with
> MTU 48.  As a result, the data never reaches userspace.
> Is this a bug in the device ?

which device is this. I might need to have one of it at home for
testing.

> Besides, even if the device implemented segmentation with
> DATC, a MTU of 48 might be a significant performance penalty
> (generating twice as many packets on the radio channel ?).

Actually we are not really supporting segmentation by ourself. If I had
one of the devices for testing, I might be able to fix that easily. Hint
hint :)

> So would it be appropriate to change
> bluez-libs-3.11/include/hidp.h:#define HIDP_DEFAULT_MTU 48
> to 672, as recommmended by HID_SPEC_V10 section 7.5.2 ?
> 
> Or maybe make it a command-line option for hidd and
> bluetoothd-service-input ?

I fixed the input service now. We will see how this works out. In
addition the 2.6.22-rc3 kernel contains a patch to fix a bug in the
L2CAP config handling.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2007-05-29  4:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-28 16:14 [Bluez-devel] Increasing HIDP_DEFAULT_MTU ? Pascal
2007-05-29  4:04 ` Marcel Holtmann [this message]
2007-05-29 22:12   ` Pascal
2007-05-30  7:31     ` Marcel Holtmann
2007-05-30 10:52       ` Pascal
2007-05-30 11:51         ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1180411455.21432.114.camel@aeonflux.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox