From: Gowtham Anandha Babu <gowtham.ab@samsung.com>
To: linux-bluetooth@vger.kernel.org
Cc: 'Bharat Bhusan Panda' <bharat.panda@samsung.com>,
cpgs@samsung.com,
'Grzegorz Kolodziejczyk' <grzegorz.kolodziejczyk@tieto.com>,
'Luiz Augusto von Dentz' <luiz.dentz@gmail.com>
Subject: Query regarding bneptest tool
Date: Mon, 11 May 2015 16:36:33 +0530 [thread overview]
Message-ID: <001a01d08bda$91503ab0$b3f0b010$@samsung.com> (raw)
Hi All,
I am testing BlueZ bnep test tool (tools/bneptest) using PTS 6.1.0.
The BNEP client test cases are not passing in BT_IO_SEC_MEDIUM security
level.
My PTS PICS and PIXIT are same as android/pixit-bnep.txt,
android/pics-bnep.txt.
Whereas when the security level is BT_IO_SEC_LOW, it is passing.
If it is a valid fix, then I will send a patch for the same.
This is tested in Linux, not sure about android.
diff --git a/tools/bneptest.c b/tools/bneptest.c
index 98ee9b1..fccecd2 100644
--- a/tools/bneptest.c
+++ b/tools/bneptest.c
@@ -477,7 +477,7 @@ static int bnep_client_connect(void)
BT_IO_OPT_SOURCE_BDADDR, &src_addr,
BT_IO_OPT_DEST_BDADDR, &dst_addr,
BT_IO_OPT_PSM, BNEP_PSM,
- BT_IO_OPT_SEC_LEVEL,
BT_IO_SEC_MEDIUM,
+ BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_LOW,
BT_IO_OPT_OMTU, BNEP_MTU,
BT_IO_OPT_IMTU, BNEP_MTU,
BT_IO_OPT_INVALID);
Regards,
Gowtham Anandha Babu
next reply other threads:[~2015-05-11 11:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 11:06 Gowtham Anandha Babu [this message]
2015-05-11 11:36 ` Query regarding bneptest tool Luiz Augusto von Dentz
2015-05-11 12:12 ` Gowtham Anandha Babu
2015-05-11 12:28 ` Luiz Augusto von Dentz
2015-05-11 14:19 ` Gowtham Anandha Babu
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='001a01d08bda$91503ab0$b3f0b010$@samsung.com' \
--to=gowtham.ab@samsung.com \
--cc=bharat.panda@samsung.com \
--cc=cpgs@samsung.com \
--cc=grzegorz.kolodziejczyk@tieto.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/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