From: Szymon Janc <szymon.janc@gmail.com>
To: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH 1/9] android/ipc-tester: Add cases for SOCK msg size
Date: Fri, 24 Jan 2014 00:25:56 +0100 [thread overview]
Message-ID: <2121587.74RTNtnecv@athlon> (raw)
In-Reply-To: <1390379124-16426-1-git-send-email-jakub.tyszkowski@tieto.com>
Hi Jakub,
On Wednesday 22 January 2014 09:25:16 Jakub Tyszkowski wrote:
> Add cases testing message size verification for SOCK opcodes.
> ---
> android/ipc-tester.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/android/ipc-tester.c b/android/ipc-tester.c
> index ed0dd10..088c324 100644
> --- a/android/ipc-tester.c
> +++ b/android/ipc-tester.c
> @@ -864,5 +864,23 @@ int main(int argc, char *argv[])
> sizeof(struct hal_cmd_le_test_mode), -1,
> HAL_SERVICE_ID_BLUETOOTH);
>
> + /* check for valid data size for SOCK */
> + test_datasize_valid("SOCK Listen+", HAL_SERVICE_ID_SOCK,
> + HAL_OP_SOCK_LISTEN,
> + sizeof(struct hal_cmd_sock_listen), 1,
> + HAL_SERVICE_ID_BLUETOOTH, HAL_SERVICE_ID_SOCK);
> + test_datasize_valid("SOCK Listen-", HAL_SERVICE_ID_SOCK,
> + HAL_OP_SOCK_LISTEN,
> + sizeof(struct hal_cmd_sock_listen), -1,
> + HAL_SERVICE_ID_BLUETOOTH, HAL_SERVICE_ID_SOCK);
> + test_datasize_valid("SOCK Connect+", HAL_SERVICE_ID_SOCK,
> + HAL_OP_SOCK_CONNECT,
> + sizeof(struct hal_cmd_sock_connect), 1,
> + HAL_SERVICE_ID_BLUETOOTH, HAL_SERVICE_ID_SOCK);
> + test_datasize_valid("SOCK Connect-", HAL_SERVICE_ID_SOCK,
> + HAL_OP_SOCK_CONNECT,
> + sizeof(struct hal_cmd_sock_connect), -1,
> + HAL_SERVICE_ID_BLUETOOTH, HAL_SERVICE_ID_SOCK);
> +
> return tester_run();
> }
All patches in this set have been applied, thanks.
--
Szymon K. Janc
szymon.janc@gmail.com
prev parent reply other threads:[~2014-01-23 23:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-22 8:25 [PATCH 1/9] android/ipc-tester: Add cases for SOCK msg size Jakub Tyszkowski
2014-01-22 8:25 ` [PATCH 2/9] android/ipc-tester: Add cases for HIDHOST " Jakub Tyszkowski
2014-01-22 8:25 ` [PATCH 3/9] android/ipc-tester: Add case for HIDHOST Set Info Jakub Tyszkowski
2014-01-22 8:25 ` [PATCH 4/9] android/ipc-tester: Add case for HIDHOST Set Report Jakub Tyszkowski
2014-01-22 8:25 ` [PATCH 5/9] android/ipc-tester: Add case for HIDHOST Send Data Jakub Tyszkowski
2014-01-22 8:25 ` [PATCH 6/9] android/ipc-tester: Add cases for PAN msg size Jakub Tyszkowski
2014-01-22 8:25 ` [PATCH 7/9] android/ipc-tester: Add cases for A2DP " Jakub Tyszkowski
2014-01-22 8:25 ` [PATCH 8/9] android/ipc-tester: Add case for BT Set adapter prop Jakub Tyszkowski
2014-01-22 8:25 ` [PATCH 9/9] android/ipc-tester: Add case for BT Set remote prop Jakub Tyszkowski
2014-01-23 23:25 ` Szymon Janc [this message]
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=2121587.74RTNtnecv@athlon \
--to=szymon.janc@gmail.com \
--cc=jakub.tyszkowski@tieto.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.