All of lore.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] Host Controller to Host Flow Control
Date: Mon, 21 Aug 2006 16:00:11 +0200	[thread overview]
Message-ID: <1156168811.4318.2.camel@localhost> (raw)
In-Reply-To: <006101c6c522$7be5de60$9d0cc70a@dlh.st.com>

Hi Mayank,

> > I added the two missing decodings to hcidump now.
> 
> I see the following five missing decodings in hcidump. Which ones did you
> miss out?
> 
> (1)< HCI Command: Host Buffer Size (0x03|0x0033) plen 7
>    0000: 00 04 ff 08 00 08 00                              .......
> 
> (2) > HCI Event: Command Complete (0x0e) plen 4
>     Host Buffer Size (0x03|0x0033) ncmd 1
>     0000: 00                                                .
> 
> (3) < HCI Command: Set Host Controller To Host Flow Control (0x03|0x0031)
> plen 1
>     0000: 01                                                .
> 
> (4) > HCI Event: Command Complete (0x0e) plen 4
>     Set Host Controller To Host Flow Control (0x03|0x0031) ncmd 1
>     0000: 00                                                .
> 
> (5) < HCI Command: Host Number of Completed Packets (0x03|0x0035) plen 5
>   0000: 01 28 00 01 00                                    .(...

the code in the CVS should now take care of all five.

> > You have to
> > store the setting for host_fc in hci_dev, because it can be different
> > for separate controllers.
> 
> I agree. But how to provide the user with the facility to switch flow
> control on/off? Like we modify security settings through hcid.conf.

As I said, the kernel can track HCI command and their results. So you
can actually detect inside the kernel if someone switched it on. See the
page and inquiry scan for an example.

After that you can simply add an additional command to hciconfig to set
the host flow control and everything is fine.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2006-08-21 14:00 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08  3:56 [Bluez-devel] Host Controller to Host Flow Control Mayank BATRA
2006-08-08 12:52 ` Ulisses Furquim
2006-08-09 21:58   ` Marcel Holtmann
2006-08-10  4:33     ` Mayank BATRA
2006-08-10  8:35   ` Mayank BATRA
2006-08-10 13:00     ` Ulisses Furquim
2006-08-10 13:43       ` Mayank BATRA
2006-08-14 15:24       ` Mayank BATRA
2006-08-14 20:26         ` Marcel Holtmann
2006-08-17  4:43           ` Mayank BATRA
2006-08-17 12:59             ` Marcel Holtmann
2006-08-17 11:20               ` Mayank BATRA
2006-08-17 13:45                 ` Marcel Holtmann
2006-08-18  9:54                   ` Mayank BATRA
2006-08-18 14:04                     ` Marcel Holtmann
2006-08-18 12:26                       ` Mayank BATRA
2006-08-21  9:41                         ` Mayank BATRA
2006-08-21 11:51                           ` Marcel Holtmann
2006-08-21 11:28                             ` Mayank BATRA
2006-08-21 13:34                               ` Marcel Holtmann
2006-08-21 11:56                                 ` Mayank BATRA
2006-08-21 14:50                                   ` Marcel Holtmann
2006-08-21 13:05                                     ` Mayank BATRA
2006-08-21 14:00                                       ` Marcel Holtmann [this message]
2006-08-21 21:10                                   ` Ulisses Furquim
2006-08-22  3:30                                     ` Mayank BATRA
2006-08-22  5:39                                       ` Marcel Holtmann
2006-08-22  3:52                                         ` Mayank BATRA
2006-08-22  5:54                                           ` Marcel Holtmann
2006-08-22 20:47                                             ` Ulisses Furquim
2006-08-23  3:54                                               ` Mayank BATRA
2006-08-23  5:48                                               ` Mayank BATRA
2006-08-23 13:06                                                 ` Ulisses Furquim
2006-08-23  8:03                                               ` Mayank BATRA
2006-08-23 14:28                                                 ` Marcel Holtmann
2006-08-23 18:44                                               ` Steven Singer
2006-08-23 20:14                                                 ` Ulisses Furquim
2006-10-31 13:25                                               ` Mayank BATRA
2006-10-31 14:30                                                 ` Ulisses Furquim
2006-11-01  4:09                                                   ` Mayank BATRA
2006-08-22  5:42                                     ` 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=1156168811.4318.2.camel@localhost \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.