From: Dmitriy Paliy <dmitriy.paliy@nokia.com>
To: linux-bluetooth@vger.kernel.org
Cc: Dmitriy Paliy <dmitriy.paliy@nokia.com>
Subject: [PATCH BlueZ] Change page scan interval in fast connectable mode
Date: Tue, 24 Jan 2012 14:43:17 +0200 [thread overview]
Message-ID: <1327408997-6528-1-git-send-email-dmitriy.paliy@nokia.com> (raw)
Page scan interval in fast connectable mode is changed from 22.5 msec to
160 msec to perform less aggressive page scanning. This is done
accordingly to controller vendor recommendation.
Primary concern is that current parameters 22.5 interval, 11.25 window, and
interleaved scanning occupy whole radio bandwidth. Changing interval to 160
msec should be sufficient for both speeding up connection establishment and
leaving space for other activities, like inquiry scan, e.g.
---
plugins/hciops.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/hciops.c b/plugins/hciops.c
index d42e7de..bc38c9b 100644
--- a/plugins/hciops.c
+++ b/plugins/hciops.c
@@ -3141,7 +3141,7 @@ static int hciops_fast_connectable(int index, gboolean enable)
if (enable) {
type = PAGE_SCAN_TYPE_INTERLACED;
- cp.interval = 0x0024; /* 22.5 msec page scan interval */
+ cp.interval = 0x0100; /* 160 msec page scan interval */
} else {
type = PAGE_SCAN_TYPE_STANDARD; /* default */
cp.interval = 0x0800; /* default 1.28 sec page scan */
--
1.7.5.4
reply other threads:[~2012-01-24 12:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1327408997-6528-1-git-send-email-dmitriy.paliy@nokia.com \
--to=dmitriy.paliy@nokia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).