From: Marco Sinigaglia <marco.sinigaglia@csr.com>
To: linux-bluetooth@vger.kernel.org
Subject: HCI Le time out
Date: Tue, 01 Mar 2011 14:15:05 +0000 [thread overview]
Message-ID: <4D6CFF69.1020503@csr.com> (raw)
Hi All,
I am using CSR 8505 A06 and, using LE, I have some timeout problems
raised on hci.c.
The following LE functions use a 100ms for the hci_send_req cmd.
- hci_le_set_scan_parameters
- hci_le_set_advertise_enable
- hci_le_set_scan_enable
The 100ms is not enough becouse the chip can be in deep sleep.
Indeed, increasing it to 1000 the problem is fixed.
Would be possible to check in this modifications?
Cheers
Marco Sinigaglia
@@ -2646,7 +2645,7 @@
rq.rparam = &status;
rq.rlen = 1;
- if (hci_send_req(dd, &rq, 100) < 0)
+ if (hci_send_req(dd, &rq, 1000) < 0)
return -1;
if (status) {
@@ -2680,7 +2679,7 @@
rq.rparam = &status;
rq.rlen = 1;
- if (hci_send_req(dd, &rq, 100) < 0)
+ if (hci_send_req(dd, &rq, 1000) < 0)
return -1;
if (status) {
@@ -2708,7 +2707,7 @@
rq.rparam = &status;
rq.rlen = 1;
- if (hci_send_req(dd, &rq, 100) < 0)
+ if (hci_send_req(dd, &rq, 1000) < 0)
return -1;
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
next reply other threads:[~2011-03-01 14:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-01 14:15 Marco Sinigaglia [this message]
2011-03-01 15:20 ` HCI Le time out Anderson Briglia
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=4D6CFF69.1020503@csr.com \
--to=marco.sinigaglia@csr.com \
--cc=linux-bluetooth@vger.kernel.org \
/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.