All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3] android/pts: Update GAP results
@ 2014-06-18 14:09 Jakub Tyszkowski
  2014-06-18 14:30 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Tyszkowski @ 2014-06-18 14:09 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jakub Tyszkowski

---
 android/pts-gap.txt | 59 ++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 45 insertions(+), 14 deletions(-)

diff --git a/android/pts-gap.txt b/android/pts-gap.txt
index e09f73d..e3acdbb 100644
--- a/android/pts-gap.txt
+++ b/android/pts-gap.txt
@@ -112,19 +112,32 @@ TC_CONN_UCON_BV_03_C	PASS	btmgmt connectable on
 				btmgmt discov limited 30
 TC_CONN_UCON_BV_04_C	N/A
 TC_CONN_UCON_BV_05_C	N/A
-TC_CONN_ACEP_BV_01_C	INC	No white list support
-				Note: pass on some chips with 'gattc connect'
-TC_CONN_ACEP_BV_02_C	INC	Privacy feature - not implemented
+TC_CONN_ACEP_BV_01_C	PASS	debugfs:
+				echo -n "add <PTS addr> 0 1" > /sys/kernel/
+					debug/bluetooth/hciX/le_auto_conn
+				btmgmt connectable on
+				btmgmt power on
+				btmgmt disconnect -t 1 <PTS addr>
+				debugfs:
+				echo -n "clr" > /sys/kernel/debug/bluetooth/
+					hciX/le_auto_conn
+TC_CONN_ACEP_BV_02_C	INC	Privacy feature - PTS issue #12308
 TC_CONN_GCEP_BV_01_C	PASS	'gattc connect' prior to pressing OK on PTS
 TC_CONN_GCEP_BV_02_C	PASS	'gattc connect' prior to pressing OK on PTS
-TC_CONN_GCEP_BV_03_C	INC	Privacy feature - not implemented
-TC_CONN_GCEP_BV_04_C	INC	Privacy feature - not implemented
+TC_CONN_GCEP_BV_03_C	PASS	gattc connect
+				bluetooth create_bond
+				gattc connect
+				gattc disconnect
+TC_CONN_GCEP_BV_04_C	INC	Privacy feature - PTS issue #12308
 TC_CONN_SCEP_BV_01_C	PASS	'gattc connect' prior to pressing OK on PTS
-TC_CONN_SCEP_BV_02_C	INC	Privacy feature - not implemented
+TC_CONN_SCEP_BV_02_C	INC	Privacy feature - PTS issue #12308
 TC_CONN_DCEP_BV_01_C	PASS	'gattc connect' prior to pressing OK on PTS
-TC_CONN_DCEP_BV_02_C	INC	Privacy feature - not implemented
+TC_CONN_DCEP_BV_02_C	INC	Privacy feature - PTS issue #12308
 TC_CONN_DCEP_BV_03_C	PASS
-TC_CONN_DCEP_BV_04_C	INC	Privacy feature - not implemented
+TC_CONN_DCEP_BV_04_C	PASS	gattc connect
+				gattc create_bond
+				gattc connect
+				gattc disconnect
 TC_CONN_CPUP_BV_01_C	N/A
 TC_CONN_CPUP_BV_02_C	N/A
 TC_CONN_CPUP_BV_03_C	N/A
@@ -141,8 +154,8 @@ TC_CONN_CPUP_BV_06_C	PASS	gattc register_client
 				gattc disconnect <client_if> <pts_bdaddr>
 					<conn_id>
 TC_CONN_TERM_BV_01_C	PASS
-TC_CONN_PRDA_BV_01_C	INC	Privacy feature - not implemented
-TC_CONN_PRDA_BV_02_C	INC	Privacy feature - not implemented
+TC_CONN_PRDA_BV_01_C	INC	PTS issue #12207
+TC_CONN_PRDA_BV_02_C	INC	PTS issue #12310
 TC_BOND_NBON_BV_01_C	PASS
 TC_BOND_NBON_BV_02_C	PASS	haltest: gattc_register_client
 				gattc connect <client_id> <address>
@@ -295,10 +308,28 @@ TC_SEC_CSIGN_BI_04_C	PASS	haltest:
 				gattc listen
 				bluetooth ssp_reply
 				gatts disconnect
-TC_PRIV_CONN_BV_01_C	INC	Privacy feature - not implemented
-TC_PRIV_CONN_BV_02_C	INC	Privacy feature - not implemented
-TC_PRIV_CONN_BV_03_C	INC	Privacy feature - not implemented
-TC_PRIV_CONN_BV_04_C	INC	Privacy feature - not implemented
+TC_PRIV_CONN_BV_01_C	PASS	gattc connect
+				gattc create_bond
+				gattc search service
+				gattc get_characteristic
+				gattc write_characteristic (privacy flag)
+				gattc write_characteristic (reconnection addr.)
+				gattc disconnect
+TC_PRIV_CONN_BV_02_C	PASS	gattc connect
+				gattc search service
+				gattc get_characteristic
+				gattc write_characteristic (reconnection addr.)
+				gattc disconnect
+TC_PRIV_CONN_BV_03_C	INC	Privacy feature - PTS issue #12308
+TC_PRIV_CONN_BV_04_C	PASS	gattc connect
+				gattc create_bond
+				gattc search service
+				gattc get_characteristic
+				gattc write_characteristic (privacy flag)
+				gattc write_characteristic (reconnection addr.)
+				gattc disconnect
+				gattc connect
+				gattc disconnect
 TC_PRIV_CONN_BV_05_C	N/A
 TC_PRIV_CONN_BV_06_C	N/A
 TC_PRIV_CONN_BV_07_C	N/A
-- 
2.0.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCHv3] android/pts: Update GAP results
  2014-06-18 14:09 [PATCHv3] android/pts: Update GAP results Jakub Tyszkowski
@ 2014-06-18 14:30 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-06-18 14:30 UTC (permalink / raw)
  To: Jakub Tyszkowski; +Cc: linux-bluetooth

Hi Jakub,

On Wednesday 18 of June 2014 16:09:21 Jakub Tyszkowski wrote:
> ---
>  android/pts-gap.txt | 59 ++++++++++++++++++++++++++++++++++++++++-------------
>  1 file changed, 45 insertions(+), 14 deletions(-)
> 
> diff --git a/android/pts-gap.txt b/android/pts-gap.txt
> index e09f73d..e3acdbb 100644
> --- a/android/pts-gap.txt
> +++ b/android/pts-gap.txt
> @@ -112,19 +112,32 @@ TC_CONN_UCON_BV_03_C	PASS	btmgmt connectable on
>  				btmgmt discov limited 30
>  TC_CONN_UCON_BV_04_C	N/A
>  TC_CONN_UCON_BV_05_C	N/A
> -TC_CONN_ACEP_BV_01_C	INC	No white list support
> -				Note: pass on some chips with 'gattc connect'
> -TC_CONN_ACEP_BV_02_C	INC	Privacy feature - not implemented
> +TC_CONN_ACEP_BV_01_C	PASS	debugfs:
> +				echo -n "add <PTS addr> 0 1" > /sys/kernel/
> +					debug/bluetooth/hciX/le_auto_conn
> +				btmgmt connectable on
> +				btmgmt power on
> +				btmgmt disconnect -t 1 <PTS addr>
> +				debugfs:
> +				echo -n "clr" > /sys/kernel/debug/bluetooth/
> +					hciX/le_auto_conn
> +TC_CONN_ACEP_BV_02_C	INC	Privacy feature - PTS issue #12308
>  TC_CONN_GCEP_BV_01_C	PASS	'gattc connect' prior to pressing OK on PTS
>  TC_CONN_GCEP_BV_02_C	PASS	'gattc connect' prior to pressing OK on PTS
> -TC_CONN_GCEP_BV_03_C	INC	Privacy feature - not implemented
> -TC_CONN_GCEP_BV_04_C	INC	Privacy feature - not implemented
> +TC_CONN_GCEP_BV_03_C	PASS	gattc connect
> +				bluetooth create_bond
> +				gattc connect
> +				gattc disconnect
> +TC_CONN_GCEP_BV_04_C	INC	Privacy feature - PTS issue #12308
>  TC_CONN_SCEP_BV_01_C	PASS	'gattc connect' prior to pressing OK on PTS
> -TC_CONN_SCEP_BV_02_C	INC	Privacy feature - not implemented
> +TC_CONN_SCEP_BV_02_C	INC	Privacy feature - PTS issue #12308
>  TC_CONN_DCEP_BV_01_C	PASS	'gattc connect' prior to pressing OK on PTS
> -TC_CONN_DCEP_BV_02_C	INC	Privacy feature - not implemented
> +TC_CONN_DCEP_BV_02_C	INC	Privacy feature - PTS issue #12308
>  TC_CONN_DCEP_BV_03_C	PASS
> -TC_CONN_DCEP_BV_04_C	INC	Privacy feature - not implemented
> +TC_CONN_DCEP_BV_04_C	PASS	gattc connect
> +				gattc create_bond
> +				gattc connect
> +				gattc disconnect
>  TC_CONN_CPUP_BV_01_C	N/A
>  TC_CONN_CPUP_BV_02_C	N/A
>  TC_CONN_CPUP_BV_03_C	N/A
> @@ -141,8 +154,8 @@ TC_CONN_CPUP_BV_06_C	PASS	gattc register_client
>  				gattc disconnect <client_if> <pts_bdaddr>
>  					<conn_id>
>  TC_CONN_TERM_BV_01_C	PASS
> -TC_CONN_PRDA_BV_01_C	INC	Privacy feature - not implemented
> -TC_CONN_PRDA_BV_02_C	INC	Privacy feature - not implemented
> +TC_CONN_PRDA_BV_01_C	INC	PTS issue #12207
> +TC_CONN_PRDA_BV_02_C	INC	PTS issue #12310
>  TC_BOND_NBON_BV_01_C	PASS
>  TC_BOND_NBON_BV_02_C	PASS	haltest: gattc_register_client
>  				gattc connect <client_id> <address>
> @@ -295,10 +308,28 @@ TC_SEC_CSIGN_BI_04_C	PASS	haltest:
>  				gattc listen
>  				bluetooth ssp_reply
>  				gatts disconnect
> -TC_PRIV_CONN_BV_01_C	INC	Privacy feature - not implemented
> -TC_PRIV_CONN_BV_02_C	INC	Privacy feature - not implemented
> -TC_PRIV_CONN_BV_03_C	INC	Privacy feature - not implemented
> -TC_PRIV_CONN_BV_04_C	INC	Privacy feature - not implemented
> +TC_PRIV_CONN_BV_01_C	PASS	gattc connect
> +				gattc create_bond
> +				gattc search service
> +				gattc get_characteristic
> +				gattc write_characteristic (privacy flag)
> +				gattc write_characteristic (reconnection addr.)
> +				gattc disconnect
> +TC_PRIV_CONN_BV_02_C	PASS	gattc connect
> +				gattc search service
> +				gattc get_characteristic
> +				gattc write_characteristic (reconnection addr.)
> +				gattc disconnect
> +TC_PRIV_CONN_BV_03_C	INC	Privacy feature - PTS issue #12308
> +TC_PRIV_CONN_BV_04_C	PASS	gattc connect
> +				gattc create_bond
> +				gattc search service
> +				gattc get_characteristic
> +				gattc write_characteristic (privacy flag)
> +				gattc write_characteristic (reconnection addr.)
> +				gattc disconnect
> +				gattc connect
> +				gattc disconnect
>  TC_PRIV_CONN_BV_05_C	N/A
>  TC_PRIV_CONN_BV_06_C	N/A
>  TC_PRIV_CONN_BV_07_C	N/A
> 

Applied, thanks.

-- 
Best regards, 
Szymon Janc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-18 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-18 14:09 [PATCHv3] android/pts: Update GAP results Jakub Tyszkowski
2014-06-18 14:30 ` Szymon Janc

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.