linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add PICS, PIXITs and PTS test results for L2CAP
@ 2013-12-15 22:39 Sebastian Chlad
  2013-12-16  8:17 ` Johan Hedberg
  0 siblings, 1 reply; 11+ messages in thread
From: Sebastian Chlad @ 2013-12-15 22:39 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Sebastian Chlad

This allows better tracking of the current state of implementation
---
 android/pics-l2cap.txt  | 157 ++++++++++++++++++++++++++
 android/pixit-l2cap.txt |  39 +++++++
 android/pts-l2cap.txt   | 293 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 489 insertions(+)
 create mode 100644 android/pics-l2cap.txt
 create mode 100644 android/pixit-l2cap.txt
 create mode 100644 android/pts-l2cap.txt

diff --git a/android/pics-l2cap.txt b/android/pics-l2cap.txt
new file mode 100644
index 0000000..72ec932
--- /dev/null
+++ b/android/pics-l2cap.txt
@@ -0,0 +1,157 @@
+L2CAP PICS for the PTS tool.
+
+* - different than PTS defaults
+# - not yet implemented/supported
+
+M - mandatory
+O - optional
+
+		Roles
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_1_1	True		Data Channel Initiator (C.1)
+TSPC_L2CAP_1_2	True		Data Channel Acceptor (C.1)
+TSPC_L2CAP_1_3	False (#)	LE Master (C.2)
+TSPC_L2CAP_1_4	False (#)	LE Slave (C.2)
+-------------------------------------------------------------------------------
+C.1: Mandatory IF BR/EDR or BR/EDR/LE is claimed, ELSE Excluded.
+C.2: Mandatory to support (at least one of TSPC_L2CAP_1_3 or TSPC_L2CAP_1_4)
+	IF LE or BR/EDR/LE claimed, ELSE Excluded.
+-------------------------------------------------------------------------------
+
+
+		General Operation
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_2_1	True		Support of L2CAP signaling channel (C.20)
+TSPC_L2CAP_2_2	True		Support of configuration process (C.20)
+TSPC_L2CAP_2_4	True		Support of command echo request (C.21)
+TSPC_L2CAP_2_3  True            Support of connection oriented data
+                                        channel (C.20)
+TSPC_L2CAP_2_5	True		Support of command echo response (C.20)
+TSPC_L2CAP_2_6	True (*)	Support of command information request (C.21)
+TSPC_L2CAP_2_7	True		Support of command information response (C.20)
+TSPC_L2CAP_2_8	False		Support of a channel group (C.21)
+TSPC_L2CAP_2_9	False		Support of packet for connectionless
+					channel (C.21)
+TSPC_L2CAP_2_10	False		Support retransmission mode (C.21)
+TSPC_L2CAP_2_11	False		Support flow control mode(C.21)
+TSPC_L2CAP_2_12	True (*)	Enhanced Retransmission Mode (C.1, C.13)
+TSPC_L2CAP_2_13	True (*)	Streaming Mode (C.1, C.14)
+TSPC_L2CAP_2_14	True (*)	FCS Option (C.2)
+TSPC_L2CAP_2_15	True (*)	Generate Local Busy Condition (C.3)
+TSPC_L2CAP_2_16	True (*)	Send Reject (C.3)
+TSPC_L2CAP_2_17	True (*)	Send Selective Reject (C.3)
+TSPC_L2CAP_2_18	True (*)	Mandatory use of ERTM (C.4)
+TSPC_L2CAP_2_19	True (*)	Mandatory use of Streaming Mode (C.5)
+TSPC_L2CAP_2_20	True (*)	Optional use of ERTM (C.4)
+TSPC_L2CAP_2_21	True (*)	Optional use of Streaming Mode (C.5)
+TSPC_L2CAP_2_22	True (*)	Send data using SAR in ERTM (C.6)
+TSPC_L2CAP_2_23	True (*)	Send data using SAR in Streaming Mode (C.7)
+TSPC_L2CAP_2_24	True (*)	Actively request Basic Mode for a PSM that
+					supports the use of ERTM or Streaming
+					Mode (C.8)
+TSPC_L2CAP_2_25	True (*)	Supports performing L2CAP channel mode
+					configuration fallback from SM
+					 to ERTM (C.9)
+TSPC_L2CAP_2_26	True (*)	Supports sending more than one unacknowledged
+					I-Frame when operating in ERTM (C.10)
+TSPC_L2CAP_2_27	True (*)	Supports sending more than three unacknowledged
+					I-Frame when operating in ERTM (C.10)
+TSPC_L2CAP_2_28	True (*)	Supports configuring the peer TxWindow
+					greater than 1 (C.11)
+TSPC_L2CAP_2_29	False		AMP Support (C.12)
+TSPC_L2CAP_2_30	True (*)	Fixed Channel Support (C.12)
+TSPC_L2CAP_2_31	False		AMP Manager Support (C.12)
+TSPC_L2CAP_2_32	False		ERTM over AMP (C.12)
+TSPC_L2CAP_2_33	False		Streaming Mode Source over AMP Support (C.15)
+TSPC_L2CAP_2_34	False		Streaming Mode Sink over AMP Support (C.15)
+TSPC_L2CAP_2_35	False		Unicast Connectionless Data, Reception (C.1, C.16)
+TSPC_L2CAP_2_36	False		Ability to transmit an unencrypted packet over
+					a Unicast connectionless L2CAP
+					channel (C.16)
+TSPC_L2CAP_2_37	False		Ability to transmit an encrypted packet over
+					a Unicast connectionless L2CAP
+					channel (C.16)
+TSPC_L2CAP_2_38	False		Extended Flow Specification for BR/EDR (C.8)
+TSPC_L2CAP_2_39	False		Extended Window Size (C.8)
+TSPC_L2CAP_2_40	False		Support of Low Energy signaling channel (C.17)
+TSPC_L2CAP_2_41	False		Support of command reject (C.17)
+TSPC_L2CAP_2_42	False		Send Connection Parameter Update Request (C.18)
+TSPC_L2CAP_2_43	False		Send Connection Parameter Update Response (C.19)
+TSPC_L2CAP_2_44	False		Extended Flow Specification for AMP (C.22)
+TSPC_L2CAP_2_45	False		Send disconnect request command (O)
+-------------------------------------------------------------------------------
+C.1: Mandatory to support at least one of TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 OR
+	TSPC_L2CAP_2_35 IF BR/EDR BR/EDR/LE AND SUM_ICS 31/7 (CSA1) OR
+	SUM_ICS 31/8 (3.0) OR SUM_ICS 31/9 (3.0+HS) OR SUM_ICS 31/10 (4.0))
+	is supported, ELSE Excluded
+C.2: Optional IF TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.3: Optional IF TSPC_L2CAP_2_12 AND TSPC_L2CAP_2_28 is claimed, ELSE Excluded.
+C.4: IF TSPC_L2CAP_2_12 is claimed THEN either TSPC_L2CAP_2_18
+	OR TSPC_L2CAP_2_20 are Mandatory, ELSE Excluded.
+C.5: IF TSPC_L2CAP_2_13 is claimed THEN either TSPC_L2CAP_2_19
+	OR TSPC_L2CAP_2_21 are Mandatory, ELSE Excluded.
+C.6: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.7: Optional IF TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.8: Optional IF TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.9: Mandatory IF TSPC_L2CAP_2_12 AND TSPC_L2CAP_2_13 AND TSPC_L2CAP_2_21
+       is claimed, ELSE Excluded.
+C.10: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.11: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.12: Mandatory IF SUM_ICS 31/9 (3.0 + HS) is claimed, ELSE Optional.
+C.13: Mandatory IF SUM_ICS 31/9 (3.0 + HS) is claimed, ELSE Optional.
+C.14: Optional IF SUM_ICS 31/8 OR 31/9 OR 31/10 OR 31/11 is claimed, ELSE Excluded.
+C.15: Optional IF TSPC_L2CAP_2_29 is claimed, ELSE Excluded.
+C.16: Optional IF (SUM_ICS 31/8 OR SUM_ICS 31/9 OR 31/10 OR 31/11) is claimed,
+       ELSE Excluded.
+C.17: Mandatory IF LE OR BR/EDR/LE is claimed, ELSE Excluded.
+C.18: Optional IF (SUM_ICS 31/10 AND 1/4) is claimed, ELSE Excluded.
+C.19: Mandatory IF (SUM_ICS 31/10 AND 1/3) is claimed, ELSE Excluded.
+C.20: Mandatory IF LE OR BR/EDR/LE, is claimed, ELSE Excluded
+C.21: Optional IF LE OR BR/EDR/LE, is claimed, ELSE Excluded
+C.22: Mandatory IF TSPC_L2CAP_2_29 is claimed, ELSE Excluded.
+-------------------------------------------------------------------------------
+
+
+		Configurable Parameters
+-------------------------------------------------------------------------------
+Parameter	Name Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_3_1	True		Support of RTX timer (M)
+TSPC_L2CAP_3_2	True		Support of ERTX timer (C.4)
+TSPC_L2CAP_3_3	True		Support minimum MTU size 48 octets (C.4)
+TSPC_L2CAP_3_4	True (*)	Support MTU size larger than 48 octets (C.5)
+TSPC_L2CAP_3_5	True		Support of flush timeout value for reliable
+					channel (C.4)
+TSPC_L2CAP_3_6	False		Support of flush timeout value for unreliable
+					channel (C.5)
+TSPC_L2CAP_3_7	False		Support of bi-directional quality of service
+					(QoS) option field (C.1)
+TSPC_L2CAP_3_8	False		Negotiate QoS service type (C.5)
+TSPC_L2CAP_3_9	False		Negotiate and support service type ‘No
+					traffic’ (C.2)
+TSPC_L2CAP_3_10	False		Negotiate and support service type ‘Best
+					effort’ (C.3)
+TSPC_L2CAP_3_11	False		Negotiate and support service type
+					‘Guaranteed’ (C.2)
+TSPC_L2CAP_3_12	True (*)	Support minimum MTU size 23 octets (C.6)
+TSPC_L2CAP_3_13	False		Negotiate and support service type ‘No traffic’
+					for Extended Flow Specification (C.7)
+TSPC_L2CAP_3_14	False		Negotiate and support service type ‘Best Effort'
+					for Extended Flow Specification (C.8)
+TSPC_L2CAP_3_15	False		Negotiate and support service type ‘Guaranteed’
+					for Extended Flow Specification (C.9)
+-------------------------------------------------------------------------------
+C.1: Mandatory if TSPC_L2CAP_3_8 is supported, ELSE Optional.
+C.2: Optional if TSPC_L2CAP_3_8 is supported, ELSE Excluded.
+C.3: Mandatory if TSPC_L2CAP_3_8 is supported, ELSE Excluded.
+C.4: Mandatory IF BR/EDR OR BR/EDR/LE is claimed, ELSE Excluded.
+C.5: Optional IF BR/EDR OR BR/EDR/LE is claimed, ELSE Excluded.
+C.6: Mandatory IF LE OR BR/EDR/LE is claimed, ELSE Excluded.
+C.7: Optional if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+C.8: Mandatory if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+C.9: Optional if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+-------------------------------------------------------------------------------
diff --git a/android/pixit-l2cap.txt b/android/pixit-l2cap.txt
new file mode 100644
index 0000000..6f2beae
--- /dev/null
+++ b/android/pixit-l2cap.txt
@@ -0,0 +1,39 @@
+L2CAP PIXIT for the PTS tool.
+
+* - different than PTS defaults
+& - should be set to IUT Bluetooth address
+
+               Required PIXIT settings
+-------------------------------------------------------------------------------
+Parameter Name                                         Value
+-------------------------------------------------------------------------------
+TSPX_bd_addr_iut                                       112233445566 (*&)
+TSPX_client_class_of_device                            100104
+TSPX_server_class_of_device                            100104
+TSPX_security_enabled                                  False
+TSPX_delete_link_key                                   False
+TSPX_pin_code                                          0000
+TSPX_flushto                                           FFFF
+TSPX_inmtu                                             02A0
+TSPX_no_fail_verditcs                                  FALSE
+TSPX_oumtu                                             02A0
+TSPX_iut_role_initiator                                FALSE
+TSPX_psm                                               0001
+TSPX_time_guard                                        180000
+TSPX_timer_ertx                                        120000
+TSPX_timer_ertx_max                                    300000
+TSPX_timer_ertx_min                                    60000
+TSPX_timer_rtx                                         10000
+TSPX_timer_rtx_max                                     60000
+TSPX_timer_rtx_min                                     1000
+TSPX_rfc_mode_tx_window_size                           08
+TSPX_rfc_mode_max_transmit                             03
+TSPX_rfc_mode_retransmission_timeout                   07D0
+TSPX_rfc_mode_monitor_timeout                          2EE0
+TSPX_rfc_mode_maximum_pdu_size                         02A0
+TSPX_extended_window_size                              0012
+TSPX_use_implicit_send                                 TRUE
+TSPX_use_dynamic_pin                                   FALSE
+TSPX_iut_SDU_size_in_bytes                             144
+TSPX_secure_simple_pairing_pass_key_confirmation       FALSE
+-------------------------------------------------------------------------------
diff --git a/android/pts-l2cap.txt b/android/pts-l2cap.txt
new file mode 100644
index 0000000..a599515
--- /dev/null
+++ b/android/pts-l2cap.txt
@@ -0,0 +1,293 @@
+PTS test results for L2CAP
+
+PTS version: 5.0
+Tested: 10-11.12.2013
+
+Results:
+PASS   test passed
+FAIL   test failed
+INC    test is inconclusive
+N/A    test is disabled due to PICS setup
+
+-------------------------------------------------------------------------------
+Test Name              Result  Notes
+-------------------------------------------------------------------------------
+TC_COS_CED_BV_01_C     INC     IUT should introduce testing tools
+TC_COS_CED_BV_03_C     INC     IUT should introduce testing tools
+TC_COS_CED_BV_04_C     N/A
+TC_COS_CED_BV_05_C     PASS    IUT must be connectable and discoverable
+TC_COS_CED_BV_07_C     PASS    IUT must be connectable and discoverable
+TC_COS_CED_BV_08_C     PASS    IUT must be connectable and discoverable
+TC_COS_CED_BV_09_C     PASS    IUT should introduce testing tools
+TC_COS_CED_BV_10_C     N/A
+TC_COS_CED_BV_11_C     PASS    IUT must be connectable and discoverable
+TC_COS_CED_BI_01_C     PASS    IUT must be connectable and discoverable
+TC_COS_CFD_BV_01_C     PASS    IUT must be connectable
+TC_COS_CFD_BV_02_C     PASS    IUT must be connectable
+TC_COS_CFD_BV_03_C     PASS    IUT must be connectable
+TC_COS_CED_BV_08_C     INC     IUT should introduce testing tools
+TC_COS_CED_BV_09_C     INC     IUT should introduce testing tools
+TC_COS_CED_BV_10_C     N/A
+TC_COS_CED_BI_11_C     PASS    IUT must be connectable
+TC_COS_CFD_BV_12_C     PASS    IUT must be connectable
+TC_COS_CFD_BV_13_C     N/A
+TC_COS_IEX_BV_01_C     PASS    IUT must be connectable
+TC_COS_IEX_BV_02_C     PASS    IUT must be connectable
+TC_COS_ECH_BV_01_C     PASS    IUT must be connectable
+TC_COS_ECH_BV_02_C     INC     IUT should introduce testing tools
+TC_CLS_CLR_BV_01_C     N/A
+TC_CLS_UCD_BV_01_C     N/A
+TC_CLS_UCD_BV_02_C     N/A
+TC_CLS_UCD_BV_03_C     N/A
+TC_EXF_BV_01_C         PASS    IUT must be connectable
+TC_EXF_BV_02_C         PASS    IUT must be connectable
+TC_EXF_BV_03_C         PASS    IUT must be connectable
+TC_EXF_BV_04_C         N/A
+TC_EXF_BV_05_C         PASS    IUT must be connectable
+TC_EXF_BV_06_C         N/A
+TC_CMC_BV_01_C         INC     IUT should introduce testing tools
+TC_CMC_BV_02_C         INC     IUT should introduce testing tools
+TC_CMC_BV_03_C         INC     IUT should introduce testing tools
+TC_CMC_BV_04_C         INC     IUT should introduce testing tools
+TC_CMC_BV_05_C         INC     IUT should introduce testing tools
+TC_CMC_BV_06_C         INC     IUT should introduce testing tools
+TC_CMC_BV_07_C         INC     IUT should introduce testing tools
+TC_CMC_BV_08_C         INC     IUT should introduce testing tools
+TC_CMC_BV_09_C         INC     IUT should introduce testing tools
+TC_CMC_BV_10_C         INC     IUT should introduce testing tools
+TC_CMC_BV_11_C         INC     IUT should introduce testing tools
+TC_CMC_BV_12_C         INC     IUT should introduce testing tools
+TC_CMC_BV_13_C         INC     IUT should introduce testing tools
+TC_CMC_BV_14_C         INC     IUT should introduce testing tools
+TC_CMC_BV_15_C         INC     IUT should introduce testing tools
+TC_CMC_BI_01_C         INC     IUT should introduce testing tools
+TC_CMC_BI_02_C         INC     IUT should introduce testing tools
+TC_CMC_BI_03_C         INC     IUT should introduce testing tools
+TC_CMC_BI_04_C         INC     IUT should introduce testing tools
+TC_CMC_BI_05_C         INC     IUT should introduce testing tools
+TC_CMC_BI_06_C         INC     IUT should introduce testing tools
+TC_FOC_BV_01_C         INC     IUT should introduce testing tools
+TC_FOC_BV_02_C         INC     IUT should introduce testing tools
+TC_FOC_BV_03_C         INC     IUT should introduce testing tools
+TC_FOC_BV_04_C         INC     IUT should introduce testing tools
+TC_OFS_BV_01_C         INC     IUT should introduce testing tools
+TC_OFS_BV_02_C         INC     IUT should introduce testing tools
+TC_OFS_BV_03_C         INC     IUT should introduce testing tools
+TC_OFS_BV_04_C         INC     IUT should introduce testing tools
+TC_OFS_BV_05_C         INC     IUT should introduce testing tools
+TC_OFS_BV_06_C         INC     IUT should introduce testing tools
+TC_OFS_BV_07_C         INC     IUT should introduce testing tools
+TC_OFS_BV_08_C         INC     IUT should introduce testing tools
+TC_ERM_BV_01_C         INC     IUT should introduce testing tools
+TC_ERM_BV_02_C         INC     IUT should introduce testing tools
+TC_ERM_BV_03_C         INC     IUT should introduce testing tools
+TC_ERM_BV_04_C         INC     IUT should introduce testing tools
+TC_ERM_BV_05_C         INC     IUT should introduce testing tools
+TC_ERM_BV_06_C         INC     IUT should introduce testing tools
+TC_ERM_BV_07_C         INC     IUT should introduce testing tools
+TC_ERM_BV_08_C         INC     IUT should introduce testing tools
+TC_ERM_BV_09_C         INC     IUT should introduce testing tools
+TC_ERM_BV_10_C         INC     IUT should introduce testing tools
+TC_ERM_BV_11_C         INC     IUT should introduce testing tools
+TC_ERM_BV_12_C         INC     IUT should introduce testing tools
+TC_ERM_BV_13_C         INC     IUT should introduce testing tools
+TC_ERM_BV_14_C         INC     IUT should introduce testing tools
+TC_ERM_BV_15_C         INC     IUT should introduce testing tools
+TC_ERM_BV_16_C         INC     IUT should introduce testing tools
+TC_ERM_BV_17_C         INC     IUT should introduce testing tools
+TC_ERM_BV_18_C         INC     IUT should introduce testing tools
+TC_ERM_BV_19_C         INC     IUT should introduce testing tools
+TC_ERM_BV_20_C         INC     IUT should introduce testing tools
+TC_ERM_BV_21_C         INC     IUT should introduce testing tools
+TC_ERM_BV_22_C         INC     IUT should introduce testing tools
+TC_ERM_BV_23_C         INC     IUT should introduce testing tools
+TC_ERM_BI_01_C         INC     IUT should introduce testing tools
+TC_ERM_BI_02_C         INC     IUT should introduce testing tools
+TC_ERM_BI_03_C         INC     IUT should introduce testing tools
+TC_ERM_BI_04_C         INC     IUT should introduce testing tools
+TC_ERM_BI_05_C         INC     IUT should introduce testing tools
+TC_STM_BV_01_C         INC     IUT should introduce testing tools
+TC_STM_BV_02_C         INC     IUT should introduce testing tools
+TC_STM_BV_03_C         INC     IUT should introduce testing tools
+TC_STM_BV_11_C         N/A
+TC_STM_BV_12_C         N/A
+TC_STM_BV_13_C         N/A
+TC_FIX_BV_01_C         PASS    IUT must be connectable
+TC_FIX_BV_02_C         N/A
+TC_EWC_BV_01_C         N/A
+TC_EWC_BV_02_C         N/A
+TC_EWC_BV_03_C         N/A
+TC_LSC_BV_01_C         N/A
+TC_LSC_BV_02_C         N/A
+TC_LSC_BV_03_C         N/A
+TC_LSC_BI_04_C         N/A
+TC_LSC_BI_05_C         N/A
+TC_LSC_BV_06_C         N/A
+TC_LSC_BV_07_C         N/A
+TC_LSC_BV_08_C         N/A
+TC_LSC_BV_09_C         N/A
+TC_LSC_BI_10_C         N/A
+TC_LSC_BI_11_C         N/A
+TC_LSC_BV_12_C         N/A
+TC_CCH_BV_01_C         N/A
+TC_CCH_BV_02_C         N/A
+TC_CCH_BV_03_C         N/A
+TC_CCH_BV_04_C         N/A
+TC_ECF_BV_01_C         N/A
+TC_ECF_BV_02_C         N/A
+TC_ECF_BV_03_C         N/A
+TC_ECF_BV_04_C         N/A
+TC_ECF_BV_05_C         N/A
+TC_ECF_BV_06_C         N/A
+TC_ECF_BV_07_C         N/A
+TC_ECF_BV_08_C         N/A
+TC_LE_CPU_BV_01_C      N/A
+TC_LE_CPU_BV_02_C      N/A
+TC_LE_CPU_BI_01_C      N/A
+TC_LE_CPU_BI_02_C      N/A
+TC_LE_REJ_BV_01_C      N/A
+
+-------------------------------------------------------------------------------
+	HELPER SECTION
+-------------------------------------------------------------------------------
+Test Name                          Result  Notes
+-------------------------------------------------------------------------------
+TC_HELPER_COS_CED_BV_01_C          PASS    IUT must be connectable
+TC_HELPER_COS_CED_BV_03_C          INC     IUT should introduce testing tools
+TC_HELPER_COS_CED_BV_04_C          N/A
+TC_HELPER_COS_CED_BV_05_C          INC     IUT should introduce testing tools
+TC_HELPER_COS_CED_BV_07_C          N/A
+TC_HELPER_COS_CED_BV_08_C          INC
+TC_HELPER_COS_CED_BV_09_C          INC
+TC_HELPER_COS_CED_BV_11_C          INC     IUT should introduce testing tools
+TC_HELPER_COS_CED_BI_01_C          PASS    IUT must be connectable
+TC_HELPER_COS_CFD_BV_01_C          INC
+TC_HELPER_COS_CFD_BV_02_C          INC     IUT should introduce testing tools
+TC_HELPER_COS_CFD_BV_03_C          INC     IUT should introduce testing tools
+TC_HELPER_COS_CFD_BV_08_C          PASS    IUT must be connectable
+TC_HELPER_COS_CFD_BV_09_C          PASS    IUT must be connectable
+TC_HELPER_COS_CFD_BV_10_C          INC
+TC_HELPER_COS_CFD_BV_11_C          INC     IUT should introduce testing tools
+TC_HELPER_COS_CFD_BV_12_C          PASS    IUT must be connectable
+TC_HELPER_COS_CFD_BV_13_C          INC
+TC_HELPER_CLS_CLR_BV_01_C          PASS    IUT must be connectable
+TC_HELPER_CLS_UCD_BV_01_C          N/A
+TC_HELPER_CLS_UCD_BV_02_C          N/A
+TC_HELPER_CLS_UCD_BV_03_C          N/A
+TC_HELPER_EXF_BV_01_C              PASS    IUT must be connectable
+TC_HELPER_EXF_BV_02_C              PASS    IUT must be connectable
+TC_HELPER_EXF_BV_03_C              PASS    IUT must be connectable
+TC_HELPER_EXF_BV_04_C              PASS    IUT must be connectable
+TC_HELPER_EXF_BV_05_C              PASS    IUT must be connectable
+TC_HELPER_EXF_BV_06_C              PASS    IUT must be connectable
+TC_HELPER_CMC_BV_01_C              INC
+TC_HELPER_CMC_BV_02_C              INC
+TC_HELPER_CMC_BV_03_C              INC
+TC_HELPER_CMC_BV_405_C             INC
+TC_HELPER_CMC_BV_06_C              INC
+TC_HELPER_CMC_BV_07_C              INC
+TC_HELPER_CMC_BV_08_C              INC
+TC_HELPER_CMC_BV_09_C              INC
+TC_HELPER_CMC_BV_10_C              INC
+TC_HELPER_CMC_BV_11_C              INC
+TC_HELPER_CMC_BV_12_C              INC
+TC_HELPER_CMC_BV_13_C              INC
+TC_HELPER_CMC_BV_14_C              INC
+TC_HELPER_CMC_BV_15_C              INC
+TC_HELPER_CMC_BI_01_C              INC
+TC_HELPER_CMC_BI_02_C              INC
+TC_HELPER_CMC_BI_03_C              INC
+TC_HELPER_CMC_BI_04_C              INC
+TC_HELPER_CMC_BI_05_C              INC
+TC_HELPER_CMC_BI_06_C              INC
+TC_HELPER_FOC_BV_01_ALT_1_C        INC
+TC_HELPER_FOC_BV_01_ALT_2_C        INC
+TC_HELPER_FOC_BV_02_ALT_1_C        INC
+TC_HELPER_FOC_BV_02_ALT_2_C        INC
+TC_HELPER_FOC_BV_03_ALT_1_C        INC
+TC_HELPER_FOC_BV_03_ALT_2_C        INC
+TC_HELPER_FOC_BV_04_ALT_1_C        INC
+TC_HELPER_FOC_BV_04_ALT_2_C        INC
+TC_HELPER_OFS_BV_01_C              INC
+TC_HELPER_OFS_BV_02_C              INC
+TC_HELPER_OFS_BV_03_C              INC
+TC_HELPER_OFS_BV_04_C              INC
+TC_HELPER_OFS_BV_05_C              INC
+TC_HELPER_OFS_BV_06_C              INC
+TC_HELPER_OFS_BV_07_C              INC
+TC_HELPER_OFS_BV_08_C              INC
+TC_HELPER_ERM_BV_01_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_02_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_02_C__no_Sframe_C INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_03_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_05_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_06_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_07_C_ALT_1_C      INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_07_C_ALT_2_C      INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_08_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_09_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_10_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_11_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_12_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_13_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_14_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_15_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_16_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_17_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_18_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_19_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_20_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_21_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_21_TxWin1_C       INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_21_ALT_1_C        INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_21_ALT_2_C        INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_22_ALT_1_C        INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_22_ALT_2_C        INC     IUT should introduce testing tools
+TC_HELPER_ERM_BV_23_C              INC     IUT should introduce testing tools
+TC_HELPER_ERM_BI_1_C               INC     IUT should introduce testing tools
+TC_HELPER_ERM_BI_2_C               INC     IUT should introduce testing tools
+TC_HELPER_ERM_BI_3_C               INC     IUT should introduce testing tools
+TC_HELPER_ERM_BI_4_C               INC     IUT should introduce testing tools
+TC_HELPER_ERM_BI_5_ALT_1_C         INC     IUT should introduce testing tools
+TC_HELPER_ERM_BI_5_ALT_2_C         INC     IUT should introduce testing tools
+TC_HELPER_ERM_BI_5_ALT_3_C         INC     IUT should introduce testing tools
+TC_HELPER_STM_BV_01_C              INC
+TC_HELPER_STM_BV_02_C              INC
+TC_HELPER_STM_BV_03_C              INC
+TC_HELPER_STM_BV_11_C              N/A
+TC_HELPER_STM_BV_12_C              N/A
+TC_HELPER_STM_BV_13_C              N/A
+TC_HELPER_FIX_BV_01_C              N/A
+TC_HELPER_FIX_BV_02_C              PASS    IUT must be connectable
+TC_HELPER_EWC_BV_01_C              INC
+TC_HELPER_EWC_BV_02_C              INC
+TC_HELPER_EWC_BV_03_C              INC
+TC_HELPER_LSC_BV_01_C              N/A
+TC_HELPER_LSC_BV_02_C              N/A
+TC_HELPER_LSC_BV_03_C              N/A
+TC_HELPER_LSC_BI_04_C              N/A
+TC_HELPER_LSC_BI_05_C              N/A
+TC_HELPER_LSC_BV_06_C              N/A
+TC_HELPER_LSC_BV_07_C              N/A
+TC_HELPER_LSC_BV_08_C              N/A
+TC_HELPER_LSC_BV_09_C           N/A
+TC_HELPER_LSC_BI_10_C           N/A
+TC_HELPER_LSC_BI_11_C           N/A
+TC_HELPER_LSC_BV_12_C           N/A
+TC_HELPER_CCH_BV_01_C           N/A
+TC_HELPER_CCH_BV_02_C           N/A
+TC_HELPER_CCH_BV_03_C           N/A
+TC_HELPER_CCH_BV_04_C           N/A
+TC_HELPER_ECF_BV_01_C           N/A
+TC_HELPER_ECF_BV_02_C           N/A
+TC_HELPER_ECF_BV_03_C           N/A
+TC_HELPER_ECF_BV_04_C           N/A
+TC_HELPER_ECF_BV_05_C           N/A
+TC_HELPER_ECF_BV_06_C           N/A
+TC_HELPER_ECF_BV_07_C           N/A
+TC_HELPER_ECF_BV_08_C           N/A
+TC_HELPER_LE_CPU_BV_01_C        N/A
+TC_HELPER_LE_CPU_BV_02_C        N/A
+TC_HELPER_LE_CPU_BI_01_C        N/A
+TC_HELPER_LE_CPU_BI_02_C        N/A
+TC_HELPER_LE_REJ_BI_01_C        N/A
-- 
1.8.1.2


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

* Re: [PATCH] Add PICS, PIXITs and PTS test results for L2CAP
  2013-12-15 22:39 [PATCH] Add PICS, PIXITs and PTS test results for L2CAP Sebastian Chlad
@ 2013-12-16  8:17 ` Johan Hedberg
  2013-12-17  9:27   ` Chlad, SebastianX
  0 siblings, 1 reply; 11+ messages in thread
From: Johan Hedberg @ 2013-12-16  8:17 UTC (permalink / raw)
  To: Sebastian Chlad; +Cc: linux-bluetooth, Sebastian Chlad

Hi Sebastian,

On Sun, Dec 15, 2013, Sebastian Chlad wrote:
> +* - different than PTS defaults
> +# - not yet implemented/supported
> +
> +M - mandatory
> +O - optional
> +
> +		Roles
> +-------------------------------------------------------------------------------
> +Parameter Name	Selected	Description
> +-------------------------------------------------------------------------------
> +TSPC_L2CAP_1_1	True		Data Channel Initiator (C.1)
> +TSPC_L2CAP_1_2	True		Data Channel Acceptor (C.1)
> +TSPC_L2CAP_1_3	False (#)	LE Master (C.2)
> +TSPC_L2CAP_1_4	False (#)	LE Slave (C.2)

I thought the idea of the '#' notation was that we could mark entries as
True if they eventually will be supported but are not yet implemented.
Wouldn't these last two entries fall under this category.

> +-------------------------------------------------------------------------------
> +Test Name              Result  Notes
> +-------------------------------------------------------------------------------
> +TC_COS_CED_BV_01_C     INC     IUT should introduce testing tools
> +TC_COS_CED_BV_03_C     INC     IUT should introduce testing tools

What does the note here mean. l2test? If so wouldn't it be more helpful
to list the exact l2test command that's needs to be run?

Johan

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

* RE: [PATCH] Add PICS, PIXITs and PTS test results for L2CAP
  2013-12-16  8:17 ` Johan Hedberg
@ 2013-12-17  9:27   ` Chlad, SebastianX
  2013-12-17 10:29     ` Johan Hedberg
                       ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Chlad, SebastianX @ 2013-12-17  9:27 UTC (permalink / raw)
  To: Johan Hedberg, Sebastian Chlad; +Cc: linux-bluetooth@vger.kernel.org

Hi Johan,

[ '#' notation ]
True and I can simply change it however there was (is) one thing which prevented me from doing this in the first place: having set any PICS which is not in place however it will be eventually implemented to False and marking it (#), gives clear indication what are the development objectives and at the same time some not relevant PTS tests are simply N/A. That is of benefit to anyone who wishes to test L2CAP in current state. 

[testing tools]
Good point. I was thinking about having in place some more tools besides l2test. I was considering i.e. hcitool or bluetoothctl however it wasn't straight forward to bring these to Android.mk (i.e. readline).
Anyhow having l2test (in Android) was straight forward so I'm planning to do the second round of L2CAP testing. 

In essence my idea was to do testing (L2CAP or anything for the matter) in repetitive way so surely first txt could lack some elements however with next iterations it would improve (i.e. we would have more and more test tools and scripts in place on Android so we could better describe and understand needs for certain set of PTS test). 

To summarize: please let me know what is you stand on [ '#' notation ] - I'll act accordingly and then I'll push L2CAP PTS test results once I finish second round of testing.

Thanks,
Seb

Hi Sebastian,

On Sun, Dec 15, 2013, Sebastian Chlad wrote:
> +* - different than PTS defaults
> +# - not yet implemented/supported
> +
> +M - mandatory
> +O - optional
> +
> +             Roles
> +-------------------------------------------------------------------------------
> +Parameter Name       Selected        Description
> +-------------------------------------------------------------------------------
> +TSPC_L2CAP_1_1       True            Data Channel Initiator (C.1)
> +TSPC_L2CAP_1_2       True            Data Channel Acceptor (C.1)
> +TSPC_L2CAP_1_3       False (#)       LE Master (C.2)
> +TSPC_L2CAP_1_4       False (#)       LE Slave (C.2)

I thought the idea of the '#' notation was that we could mark entries as
True if they eventually will be supported but are not yet implemented.
Wouldn't these last two entries fall under this category. 

> +-------------------------------------------------------------------------------
> +Test Name              Result  Notes
> +-------------------------------------------------------------------------------
> +TC_COS_CED_BV_01_C     INC     IUT should introduce testing tools
> +TC_COS_CED_BV_03_C     INC     IUT should introduce testing tools

What does the note here mean. l2test? If so wouldn't it be more helpful
to list the exact l2test command that's needs to be run?

Johan
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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

* Re: [PATCH] Add PICS, PIXITs and PTS test results for L2CAP
  2013-12-17  9:27   ` Chlad, SebastianX
@ 2013-12-17 10:29     ` Johan Hedberg
  2013-12-18 19:32     ` [PATCH] android/pts: Add PICS, PIXITs and PTS " Sebastian Chlad
                       ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Johan Hedberg @ 2013-12-17 10:29 UTC (permalink / raw)
  To: Chlad, SebastianX; +Cc: Sebastian Chlad, linux-bluetooth@vger.kernel.org

Hi Sebastian,

On Tue, Dec 17, 2013, Chlad, SebastianX wrote:
> To summarize: please let me know what is you stand on [ '#' notation ]
> - I'll act accordingly and then I'll push L2CAP PTS test results once
> I finish second round of testing.

I don't really care as long as it's consistent throughout all files.
Either change all places which have "True + #" to "False + #" or use the
existing convention in your new file.

Johan

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

* [PATCH] android/pts: Add PICS, PIXITs and PTS for L2CAP
  2013-12-17  9:27   ` Chlad, SebastianX
  2013-12-17 10:29     ` Johan Hedberg
@ 2013-12-18 19:32     ` Sebastian Chlad
  2013-12-19  8:21       ` Johan Hedberg
  2013-12-19  9:14     ` Sebastian Chlad
  2013-12-19 12:26     ` Sebastian Chlad
  3 siblings, 1 reply; 11+ messages in thread
From: Sebastian Chlad @ 2013-12-18 19:32 UTC (permalink / raw)
  To: johan.hedberg; +Cc: linux-bluetooth, Sebastian Chlad

This allows better tracking of the current state of implementation
---
 android/pics-l2cap.txt  | 157 ++++++++++++++++++++++++++
 android/pixit-l2cap.txt |  39 +++++++
 android/pts-l2cap.txt   | 293 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 489 insertions(+)
 create mode 100644 android/pics-l2cap.txt
 create mode 100644 android/pixit-l2cap.txt
 create mode 100644 android/pts-l2cap.txt

diff --git a/android/pics-l2cap.txt b/android/pics-l2cap.txt
new file mode 100644
index 0000000..ef25133
--- /dev/null
+++ b/android/pics-l2cap.txt
@@ -0,0 +1,157 @@
+L2CAP PICS for the PTS tool.
+
+* - different than PTS defaults
+# - not yet implemented/supported
+
+M - mandatory
+O - optional
+
+		Roles
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_1_1	True		Data Channel Initiator (C.1)
+TSPC_L2CAP_1_2	True		Data Channel Acceptor (C.1)
+TSPC_L2CAP_1_3	True (#)	LE Master (C.2)
+TSPC_L2CAP_1_4	True (#)	LE Slave (C.2)
+-------------------------------------------------------------------------------
+C.1: Mandatory IF BR/EDR or BR/EDR/LE is claimed, ELSE Excluded.
+C.2: Mandatory to support (at least one of TSPC_L2CAP_1_3 or TSPC_L2CAP_1_4)
+	IF LE or BR/EDR/LE claimed, ELSE Excluded.
+-------------------------------------------------------------------------------
+
+
+		General Operation
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_2_1	True		Support of L2CAP signaling channel (C.20)
+TSPC_L2CAP_2_2	True		Support of configuration process (C.20)
+TSPC_L2CAP_2_4	True		Support of command echo request (C.21)
+TSPC_L2CAP_2_3  True            Support of connection oriented data
+                                        channel (C.20)
+TSPC_L2CAP_2_5	True		Support of command echo response (C.20)
+TSPC_L2CAP_2_6	True (*)	Support of command information request (C.21)
+TSPC_L2CAP_2_7	True		Support of command information response (C.20)
+TSPC_L2CAP_2_8	False		Support of a channel group (C.21)
+TSPC_L2CAP_2_9	False		Support of packet for connectionless
+					channel (C.21)
+TSPC_L2CAP_2_10	False		Support retransmission mode (C.21)
+TSPC_L2CAP_2_11	False		Support flow control mode(C.21)
+TSPC_L2CAP_2_12	True (*)	Enhanced Retransmission Mode (C.1, C.13)
+TSPC_L2CAP_2_13	True (*)	Streaming Mode (C.1, C.14)
+TSPC_L2CAP_2_14	True (*)	FCS Option (C.2)
+TSPC_L2CAP_2_15	True (*)	Generate Local Busy Condition (C.3)
+TSPC_L2CAP_2_16	True (*)	Send Reject (C.3)
+TSPC_L2CAP_2_17	True (*)	Send Selective Reject (C.3)
+TSPC_L2CAP_2_18	True (*)	Mandatory use of ERTM (C.4)
+TSPC_L2CAP_2_19	True (*)	Mandatory use of Streaming Mode (C.5)
+TSPC_L2CAP_2_20	True (*)	Optional use of ERTM (C.4)
+TSPC_L2CAP_2_21	True (*)	Optional use of Streaming Mode (C.5)
+TSPC_L2CAP_2_22	True (*)	Send data using SAR in ERTM (C.6)
+TSPC_L2CAP_2_23	True (*)	Send data using SAR in Streaming Mode (C.7)
+TSPC_L2CAP_2_24	True (*)	Actively request Basic Mode for a PSM that
+					supports the use of ERTM or Streaming
+					Mode (C.8)
+TSPC_L2CAP_2_25	True (*)	Supports performing L2CAP channel mode
+					configuration fallback from SM
+					 to ERTM (C.9)
+TSPC_L2CAP_2_26	True (*)	Supports sending more than one unacknowledged
+					I-Frame when operating in ERTM (C.10)
+TSPC_L2CAP_2_27	True (*)	Supports sending more than three unacknowledged
+					I-Frame when operating in ERTM (C.10)
+TSPC_L2CAP_2_28	True (*)	Supports configuring the peer TxWindow
+					greater than 1 (C.11)
+TSPC_L2CAP_2_29	False		AMP Support (C.12)
+TSPC_L2CAP_2_30	True (*)	Fixed Channel Support (C.12)
+TSPC_L2CAP_2_31	False		AMP Manager Support (C.12)
+TSPC_L2CAP_2_32	False		ERTM over AMP (C.12)
+TSPC_L2CAP_2_33	False		Streaming Mode Source over AMP Support (C.15)
+TSPC_L2CAP_2_34	False		Streaming Mode Sink over AMP Support (C.15)
+TSPC_L2CAP_2_35	False		Unicast Connectionless Data, Reception (C.1, C.16)
+TSPC_L2CAP_2_36	False		Ability to transmit an unencrypted packet over
+					a Unicast connectionless L2CAP
+					channel (C.16)
+TSPC_L2CAP_2_37	False		Ability to transmit an encrypted packet over
+					a Unicast connectionless L2CAP
+					channel (C.16)
+TSPC_L2CAP_2_38	False		Extended Flow Specification for BR/EDR (C.8)
+TSPC_L2CAP_2_39	False		Extended Window Size (C.8)
+TSPC_L2CAP_2_40	True (*)	Support of Low Energy signaling channel (C.17)
+TSPC_L2CAP_2_41	True (*)	Support of command reject (C.17)
+TSPC_L2CAP_2_42	True (*)	Send Connection Parameter Update Request (C.18)
+TSPC_L2CAP_2_43	True (*)	Send Connection Parameter Update Response (C.19)
+TSPC_L2CAP_2_44	False		Extended Flow Specification for AMP (C.22)
+TSPC_L2CAP_2_45	False		Send disconnect request command (O)
+-------------------------------------------------------------------------------
+C.1: Mandatory to support at least one of TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 OR
+	TSPC_L2CAP_2_35 IF BR/EDR BR/EDR/LE AND SUM_ICS 31/7 (CSA1) OR
+	SUM_ICS 31/8 (3.0) OR SUM_ICS 31/9 (3.0+HS) OR SUM_ICS 31/10 (4.0))
+	is supported, ELSE Excluded
+C.2: Optional IF TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.3: Optional IF TSPC_L2CAP_2_12 AND TSPC_L2CAP_2_28 is claimed, ELSE Excluded.
+C.4: IF TSPC_L2CAP_2_12 is claimed THEN either TSPC_L2CAP_2_18
+	OR TSPC_L2CAP_2_20 are Mandatory, ELSE Excluded.
+C.5: IF TSPC_L2CAP_2_13 is claimed THEN either TSPC_L2CAP_2_19
+	OR TSPC_L2CAP_2_21 are Mandatory, ELSE Excluded.
+C.6: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.7: Optional IF TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.8: Optional IF TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.9: Mandatory IF TSPC_L2CAP_2_12 AND TSPC_L2CAP_2_13 AND TSPC_L2CAP_2_21
+       is claimed, ELSE Excluded.
+C.10: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.11: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.12: Mandatory IF SUM_ICS 31/9 (3.0 + HS) is claimed, ELSE Optional.
+C.13: Mandatory IF SUM_ICS 31/9 (3.0 + HS) is claimed, ELSE Optional.
+C.14: Optional IF SUM_ICS 31/8 OR 31/9 OR 31/10 OR 31/11 is claimed, ELSE Excluded.
+C.15: Optional IF TSPC_L2CAP_2_29 is claimed, ELSE Excluded.
+C.16: Optional IF (SUM_ICS 31/8 OR SUM_ICS 31/9 OR 31/10 OR 31/11) is claimed,
+       ELSE Excluded.
+C.17: Mandatory IF LE OR BR/EDR/LE is claimed, ELSE Excluded.
+C.18: Optional IF (SUM_ICS 31/10 AND 1/4) is claimed, ELSE Excluded.
+C.19: Mandatory IF (SUM_ICS 31/10 AND 1/3) is claimed, ELSE Excluded.
+C.20: Mandatory IF LE OR BR/EDR/LE, is claimed, ELSE Excluded
+C.21: Optional IF LE OR BR/EDR/LE, is claimed, ELSE Excluded
+C.22: Mandatory IF TSPC_L2CAP_2_29 is claimed, ELSE Excluded.
+-------------------------------------------------------------------------------
+
+
+		Configurable Parameters
+-------------------------------------------------------------------------------
+Parameter	Name Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_3_1	True		Support of RTX timer (M)
+TSPC_L2CAP_3_2	True		Support of ERTX timer (C.4)
+TSPC_L2CAP_3_3	True		Support minimum MTU size 48 octets (C.4)
+TSPC_L2CAP_3_4	True (*)	Support MTU size larger than 48 octets (C.5)
+TSPC_L2CAP_3_5	True		Support of flush timeout value for reliable
+					channel (C.4)
+TSPC_L2CAP_3_6	False		Support of flush timeout value for unreliable
+					channel (C.5)
+TSPC_L2CAP_3_7	False		Support of bi-directional quality of service
+					(QoS) option field (C.1)
+TSPC_L2CAP_3_8	False		Negotiate QoS service type (C.5)
+TSPC_L2CAP_3_9	False		Negotiate and support service type ‘No
+					traffic’ (C.2)
+TSPC_L2CAP_3_10	False		Negotiate and support service type ‘Best
+					effort’ (C.3)
+TSPC_L2CAP_3_11	False		Negotiate and support service type
+					‘Guaranteed’ (C.2)
+TSPC_L2CAP_3_12	True (*)	Support minimum MTU size 23 octets (C.6)
+TSPC_L2CAP_3_13	False		Negotiate and support service type ‘No traffic’
+					for Extended Flow Specification (C.7)
+TSPC_L2CAP_3_14	False		Negotiate and support service type ‘Best Effort'
+					for Extended Flow Specification (C.8)
+TSPC_L2CAP_3_15	False		Negotiate and support service type ‘Guaranteed’
+					for Extended Flow Specification (C.9)
+-------------------------------------------------------------------------------
+C.1: Mandatory if TSPC_L2CAP_3_8 is supported, ELSE Optional.
+C.2: Optional if TSPC_L2CAP_3_8 is supported, ELSE Excluded.
+C.3: Mandatory if TSPC_L2CAP_3_8 is supported, ELSE Excluded.
+C.4: Mandatory IF BR/EDR OR BR/EDR/LE is claimed, ELSE Excluded.
+C.5: Optional IF BR/EDR OR BR/EDR/LE is claimed, ELSE Excluded.
+C.6: Mandatory IF LE OR BR/EDR/LE is claimed, ELSE Excluded.
+C.7: Optional if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+C.8: Mandatory if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+C.9: Optional if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+-------------------------------------------------------------------------------
diff --git a/android/pixit-l2cap.txt b/android/pixit-l2cap.txt
new file mode 100644
index 0000000..7de6638
--- /dev/null
+++ b/android/pixit-l2cap.txt
@@ -0,0 +1,39 @@
+L2CAP PIXIT for the PTS tool.
+
+* - different than PTS defaults
+& - should be set to IUT Bluetooth address
+
+               Required PIXIT settings
+-------------------------------------------------------------------------------
+Parameter Name                                         Value
+-------------------------------------------------------------------------------
+TSPX_bd_addr_iut                                       112233445566 (*&)
+TSPX_client_class_of_device                            100104
+TSPX_server_class_of_device                            100104
+TSPX_security_enabled                                  FALSE
+TSPX_delete_link_key                                   FALSE
+TSPX_pin_code                                          0000
+TSPX_flushto                                           FFFF
+TSPX_inmtu                                             02A0
+TSPX_no_fail_verditcs                                  FALSE
+TSPX_oumtu                                             02A0
+TSPX_iut_role_initiator                                FALSE
+TSPX_psm                                               1011 (*)
+TSPX_time_guard                                        180000
+TSPX_timer_ertx                                        120000
+TSPX_timer_ertx_max                                    300000
+TSPX_timer_ertx_min                                    60000
+TSPX_timer_rtx                                         10000
+TSPX_timer_rtx_max                                     60000
+TSPX_timer_rtx_min                                     1000
+TSPX_rfc_mode_tx_window_size                           08
+TSPX_rfc_mode_max_transmit                             03
+TSPX_rfc_mode_retransmission_timeout                   07D0
+TSPX_rfc_mode_monitor_timeout                          2EE0
+TSPX_rfc_mode_maximum_pdu_size                         02A0
+TSPX_extended_window_size                              0012
+TSPX_use_implicit_send                                 TRUE
+TSPX_use_dynamic_pin                                   FALSE
+TSPX_iut_SDU_size_in_bytes                             144
+TSPX_secure_simple_pairing_pass_key_confirmation       FALSE
+-------------------------------------------------------------------------------
diff --git a/android/pts-l2cap.txt b/android/pts-l2cap.txt
new file mode 100644
index 0000000..66dc36b
--- /dev/null
+++ b/android/pts-l2cap.txt
@@ -0,0 +1,293 @@
+PTS test results for L2CAP
+
+PTS version: 5.0
+Tested: 18.12.2013
+
+Results:
+PASS   test passed
+FAIL   test failed
+INC    test is inconclusive
+N/A    test is disabled due to PICS setup
+
+-------------------------------------------------------------------------------
+Test Name              Result  Notes
+-------------------------------------------------------------------------------
+TC_COS_CED_BV_01_C     PASS
+TC_COS_CED_BV_03_C     PASS
+TC_COS_CED_BV_04_C     N/A
+TC_COS_CED_BV_05_C     PASS
+TC_COS_CED_BV_07_C     PASS
+TC_COS_CED_BV_08_C     PASS
+TC_COS_CED_BV_09_C     INC
+TC_COS_CED_BV_10_C     N/A
+TC_COS_CED_BV_11_C     PASS
+TC_COS_CED_BI_01_C     PASS
+TC_COS_CFD_BV_01_C     PASS
+TC_COS_CFD_BV_02_C     PASS
+TC_COS_CFD_BV_03_C     PASS
+TC_COS_CFD_BV_08_C     INC
+TC_COS_CFD_BV_09_C     INC
+TC_COS_CFD_BV_10_C     N/A
+TC_COS_CFD_BI_11_C     PASS
+TC_COS_CFD_BV_12_C     PASS
+TC_COS_CFD_BV_13_C     N/A
+TC_COS_IEX_BV_01_C     PASS
+TC_COS_IEX_BV_02_C     PASS
+TC_COS_ECH_BV_01_C     PASS
+TC_COS_ECH_BV_02_C     INC
+TC_CLS_CLR_BV_01_C     N/A
+TC_CLS_UCD_BV_01_C     N/A
+TC_CLS_UCD_BV_02_C     N/A
+TC_CLS_UCD_BV_03_C     N/A
+TC_EXF_BV_01_C         PASS
+TC_EXF_BV_02_C         PASS
+TC_EXF_BV_03_C         PASS
+TC_EXF_BV_04_C         N/A
+TC_EXF_BV_05_C         PASS
+TC_EXF_BV_06_C         N/A
+TC_CMC_BV_01_C         INC
+TC_CMC_BV_02_C         INC
+TC_CMC_BV_03_C         INC
+TC_CMC_BV_04_C         INC
+TC_CMC_BV_05_C         INC
+TC_CMC_BV_06_C         INC
+TC_CMC_BV_07_C         INC
+TC_CMC_BV_08_C         INC
+TC_CMC_BV_09_C         INC
+TC_CMC_BV_10_C         INC
+TC_CMC_BV_11_C         INC
+TC_CMC_BV_12_C         INC
+TC_CMC_BV_13_C         INC
+TC_CMC_BV_14_C         INC
+TC_CMC_BV_15_C         INC
+TC_CMC_BI_01_C         INC
+TC_CMC_BI_02_C         INC
+TC_CMC_BI_03_C         INC
+TC_CMC_BI_04_C         INC
+TC_CMC_BI_05_C         INC
+TC_CMC_BI_06_C         INC
+TC_FOC_BV_01_C         INC
+TC_FOC_BV_02_C         INC
+TC_FOC_BV_03_C         INC
+TC_FOC_BV_04_C         INC
+TC_OFS_BV_01_C         INC
+TC_OFS_BV_02_C         INC
+TC_OFS_BV_03_C         INC
+TC_OFS_BV_04_C         INC
+TC_OFS_BV_05_C         INC
+TC_OFS_BV_06_C         INC
+TC_OFS_BV_07_C         INC
+TC_OFS_BV_08_C         INC
+TC_ERM_BV_01_C         INC
+TC_ERM_BV_02_C         INC
+TC_ERM_BV_03_C         INC
+TC_ERM_BV_04_C         INC
+TC_ERM_BV_05_C         INC
+TC_ERM_BV_06_C         INC
+TC_ERM_BV_07_C         INC
+TC_ERM_BV_08_C         INC
+TC_ERM_BV_09_C         INC
+TC_ERM_BV_10_C         INC
+TC_ERM_BV_11_C         INC
+TC_ERM_BV_12_C         INC
+TC_ERM_BV_13_C         INC
+TC_ERM_BV_14_C         INC
+TC_ERM_BV_15_C         INC
+TC_ERM_BV_16_C         INC
+TC_ERM_BV_17_C         INC
+TC_ERM_BV_18_C         INC
+TC_ERM_BV_19_C         INC
+TC_ERM_BV_20_C         INC
+TC_ERM_BV_21_C         INC
+TC_ERM_BV_22_C         INC
+TC_ERM_BV_23_C         INC
+TC_ERM_BI_01_C         INC
+TC_ERM_BI_02_C         INC
+TC_ERM_BI_03_C         INC
+TC_ERM_BI_04_C         INC
+TC_ERM_BI_05_C         INC
+TC_STM_BV_01_C         INC
+TC_STM_BV_02_C         INC
+TC_STM_BV_03_C         INC
+TC_STM_BV_11_C         N/A
+TC_STM_BV_12_C         N/A
+TC_STM_BV_13_C         N/A
+TC_FIX_BV_01_C         PASS
+TC_FIX_BV_02_C         PASS
+TC_EWC_BV_01_C         N/A
+TC_EWC_BV_02_C         N/A
+TC_EWC_BV_03_C         N/A
+TC_LSC_BV_01_C         N/A
+TC_LSC_BV_02_C         N/A
+TC_LSC_BV_03_C         N/A
+TC_LSC_BI_04_C         N/A
+TC_LSC_BI_05_C         N/A
+TC_LSC_BV_06_C         N/A
+TC_LSC_BV_07_C         N/A
+TC_LSC_BV_08_C         N/A
+TC_LSC_BV_09_C         N/A
+TC_LSC_BI_10_C         N/A
+TC_LSC_BI_11_C         N/A
+TC_LSC_BV_12_C         N/A
+TC_CCH_BV_01_C         N/A
+TC_CCH_BV_02_C         N/A
+TC_CCH_BV_03_C         N/A
+TC_CCH_BV_04_C         N/A
+TC_ECF_BV_01_C         N/A
+TC_ECF_BV_02_C         N/A
+TC_ECF_BV_03_C         N/A
+TC_ECF_BV_04_C         N/A
+TC_ECF_BV_05_C         N/A
+TC_ECF_BV_06_C         N/A
+TC_ECF_BV_07_C         N/A
+TC_ECF_BV_08_C         N/A
+TC_LE_CPU_BV_01_C      N/A
+TC_LE_CPU_BV_02_C      N/A
+TC_LE_CPU_BI_01_C      N/A
+TC_LE_CPU_BI_02_C      N/A
+TC_LE_REJ_BV_01_C      N/A
+
+-------------------------------------------------------------------------------
+	HELPER SECTION
+-------------------------------------------------------------------------------
+Test Name                          Result  Notes
+-------------------------------------------------------------------------------
+TC_HELPER_COS_CED_BV_01_C          PASS
+TC_HELPER_COS_CED_BV_03_C          PASS
+TC_HELPER_COS_CED_BV_04_C          N/A
+TC_HELPER_COS_CED_BV_05_C          PASS
+TC_HELPER_COS_CED_BV_07_C          N/A
+TC_HELPER_COS_CED_BV_08_C          PASS
+TC_HELPER_COS_CED_BV_09_C          PASS
+TC_HELPER_COS_CED_BV_11_C          PASS
+TC_HELPER_COS_CED_BI_01_C          PASS
+TC_HELPER_COS_CFD_BV_01_C          INC
+TC_HELPER_COS_CFD_BV_02_C          INC
+TC_HELPER_COS_CFD_BV_03_C          INC
+TC_HELPER_COS_CFD_BV_08_C          PASS
+TC_HELPER_COS_CFD_BV_09_C          PASS
+TC_HELPER_COS_CFD_BV_10_C          INC
+TC_HELPER_COS_CFD_BV_11_C          INC
+TC_HELPER_COS_CFD_BV_12_C          PASS
+TC_HELPER_COS_CFD_BV_13_C          INC
+TC_HELPER_CLS_CLR_BV_01_C          PASS
+TC_HELPER_CLS_UCD_BV_01_C          N/A
+TC_HELPER_CLS_UCD_BV_02_C          N/A
+TC_HELPER_CLS_UCD_BV_03_C          N/A
+TC_HELPER_EXF_BV_01_C              PASS
+TC_HELPER_EXF_BV_02_C              PASS
+TC_HELPER_EXF_BV_03_C              PASS
+TC_HELPER_EXF_BV_04_C              PASS
+TC_HELPER_EXF_BV_05_C              PASS
+TC_HELPER_EXF_BV_06_C              PASS
+TC_HELPER_CMC_BV_01_C              INC
+TC_HELPER_CMC_BV_02_C              INC
+TC_HELPER_CMC_BV_03_C              INC
+TC_HELPER_CMC_BV_405_C             INC
+TC_HELPER_CMC_BV_06_C              INC
+TC_HELPER_CMC_BV_07_C              INC
+TC_HELPER_CMC_BV_08_C              INC
+TC_HELPER_CMC_BV_09_C              INC
+TC_HELPER_CMC_BV_10_C              INC
+TC_HELPER_CMC_BV_11_C              INC
+TC_HELPER_CMC_BV_12_C              INC
+TC_HELPER_CMC_BV_13_C              INC
+TC_HELPER_CMC_BV_14_C              INC
+TC_HELPER_CMC_BV_15_C              INC
+TC_HELPER_CMC_BI_01_C              INC
+TC_HELPER_CMC_BI_02_C              INC
+TC_HELPER_CMC_BI_03_C              INC
+TC_HELPER_CMC_BI_04_C              INC
+TC_HELPER_CMC_BI_05_C              INC
+TC_HELPER_CMC_BI_06_C              INC
+TC_HELPER_FOC_BV_01_ALT_1_C        INC
+TC_HELPER_FOC_BV_01_ALT_2_C        INC
+TC_HELPER_FOC_BV_02_ALT_1_C        INC
+TC_HELPER_FOC_BV_02_ALT_2_C        INC
+TC_HELPER_FOC_BV_03_ALT_1_C        INC
+TC_HELPER_FOC_BV_03_ALT_2_C        INC
+TC_HELPER_FOC_BV_04_ALT_1_C        INC
+TC_HELPER_FOC_BV_04_ALT_2_C        INC
+TC_HELPER_OFS_BV_01_C              INC
+TC_HELPER_OFS_BV_02_C              INC
+TC_HELPER_OFS_BV_03_C              INC
+TC_HELPER_OFS_BV_04_C              INC
+TC_HELPER_OFS_BV_05_C              INC
+TC_HELPER_OFS_BV_06_C              INC
+TC_HELPER_OFS_BV_07_C              INC
+TC_HELPER_OFS_BV_08_C              INC
+TC_HELPER_ERM_BV_01_C              INC
+TC_HELPER_ERM_BV_02_C              INC
+TC_HELPER_ERM_BV_02_C__no_Sframe_C INC
+TC_HELPER_ERM_BV_03_C              INC
+TC_HELPER_ERM_BV_05_C              INC
+TC_HELPER_ERM_BV_06_C              INC
+TC_HELPER_ERM_BV_07_C_ALT_1_C      INC
+TC_HELPER_ERM_BV_07_C_ALT_2_C      INC
+TC_HELPER_ERM_BV_08_C              INC
+TC_HELPER_ERM_BV_09_C              INC
+TC_HELPER_ERM_BV_10_C              INC
+TC_HELPER_ERM_BV_11_C              INC
+TC_HELPER_ERM_BV_12_C              INC
+TC_HELPER_ERM_BV_13_C              INC
+TC_HELPER_ERM_BV_14_C              INC
+TC_HELPER_ERM_BV_15_C              INC
+TC_HELPER_ERM_BV_16_C              INC
+TC_HELPER_ERM_BV_17_C              INC
+TC_HELPER_ERM_BV_18_C              INC
+TC_HELPER_ERM_BV_19_C              INC
+TC_HELPER_ERM_BV_20_C              INC
+TC_HELPER_ERM_BV_21_C              INC
+TC_HELPER_ERM_BV_21_TxWin1_C       INC
+TC_HELPER_ERM_BV_21_ALT_1_C        INC
+TC_HELPER_ERM_BV_21_ALT_2_C        INC
+TC_HELPER_ERM_BV_22_ALT_1_C        INC
+TC_HELPER_ERM_BV_22_ALT_2_C        INC
+TC_HELPER_ERM_BV_23_C              INC
+TC_HELPER_ERM_BI_1_C               INC
+TC_HELPER_ERM_BI_2_C               INC
+TC_HELPER_ERM_BI_3_C               INC
+TC_HELPER_ERM_BI_4_C               INC
+TC_HELPER_ERM_BI_5_ALT_1_C         INC
+TC_HELPER_ERM_BI_5_ALT_2_C         INC
+TC_HELPER_ERM_BI_5_ALT_3_C         INC
+TC_HELPER_STM_BV_01_C              INC
+TC_HELPER_STM_BV_02_C              INC
+TC_HELPER_STM_BV_03_C              INC
+TC_HELPER_STM_BV_11_C              N/A
+TC_HELPER_STM_BV_12_C              N/A
+TC_HELPER_STM_BV_13_C              N/A
+TC_HELPER_FIX_BV_01_C              PASS
+TC_HELPER_FIX_BV_02_C              PASS
+TC_HELPER_EWC_BV_01_C              INC
+TC_HELPER_EWC_BV_02_C              INC
+TC_HELPER_EWC_BV_03_C              INC
+TC_HELPER_LSC_BV_01_C              N/A
+TC_HELPER_LSC_BV_02_C              N/A
+TC_HELPER_LSC_BV_03_C              N/A
+TC_HELPER_LSC_BI_04_C              N/A
+TC_HELPER_LSC_BI_05_C              N/A
+TC_HELPER_LSC_BV_06_C              N/A
+TC_HELPER_LSC_BV_07_C              N/A
+TC_HELPER_LSC_BV_08_C              N/A
+TC_HELPER_LSC_BV_09_C              N/A
+TC_HELPER_LSC_BI_10_C              N/A
+TC_HELPER_LSC_BI_11_C              N/A
+TC_HELPER_LSC_BV_12_C              N/A
+TC_HELPER_CCH_BV_01_C              N/A
+TC_HELPER_CCH_BV_02_C              N/A
+TC_HELPER_CCH_BV_03_C              N/A
+TC_HELPER_CCH_BV_04_C              N/A
+TC_HELPER_ECF_BV_01_C              N/A
+TC_HELPER_ECF_BV_02_C              N/A
+TC_HELPER_ECF_BV_03_C              N/A
+TC_HELPER_ECF_BV_04_C              N/A
+TC_HELPER_ECF_BV_05_C              N/A
+TC_HELPER_ECF_BV_06_C              N/A
+TC_HELPER_ECF_BV_07_C              N/A
+TC_HELPER_ECF_BV_08_C              N/A
+TC_HELPER_LE_CPU_BV_01_C           N/A
+TC_HELPER_LE_CPU_BV_02_C           N/A
+TC_HELPER_LE_CPU_BI_01_C           N/A
+TC_HELPER_LE_CPU_BI_02_C           N/A
+TC_HELPER_LE_REJ_BI_01_C           N/A
-- 
1.8.1.2


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

* Re: [PATCH] android/pts: Add PICS, PIXITs and PTS for L2CAP
  2013-12-18 19:32     ` [PATCH] android/pts: Add PICS, PIXITs and PTS " Sebastian Chlad
@ 2013-12-19  8:21       ` Johan Hedberg
  0 siblings, 0 replies; 11+ messages in thread
From: Johan Hedberg @ 2013-12-19  8:21 UTC (permalink / raw)
  To: Sebastian Chlad; +Cc: linux-bluetooth, Sebastian Chlad

Hi Sebastian,

On Wed, Dec 18, 2013, Sebastian Chlad wrote:
> This allows better tracking of the current state of implementation
> ---
>  android/pics-l2cap.txt  | 157 ++++++++++++++++++++++++++
>  android/pixit-l2cap.txt |  39 +++++++
>  android/pts-l2cap.txt   | 293 ++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 489 insertions(+)
>  create mode 100644 android/pics-l2cap.txt
>  create mode 100644 android/pixit-l2cap.txt
>  create mode 100644 android/pts-l2cap.txt

Looks otherwise fine to me, but are you've forgotten to add these to
EXTRA_DIST in android/Makefile.am. Otherwise the files would not get
included in the next release tarball we make.

Johan

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

* [PATCH] android/pts: Add PICS, PIXITs and PTS for L2CAP
  2013-12-17  9:27   ` Chlad, SebastianX
  2013-12-17 10:29     ` Johan Hedberg
  2013-12-18 19:32     ` [PATCH] android/pts: Add PICS, PIXITs and PTS " Sebastian Chlad
@ 2013-12-19  9:14     ` Sebastian Chlad
  2013-12-19  9:42       ` Szymon Janc
  2013-12-19 12:26     ` Sebastian Chlad
  3 siblings, 1 reply; 11+ messages in thread
From: Sebastian Chlad @ 2013-12-19  9:14 UTC (permalink / raw)
  To: johan.hedberg; +Cc: linux-bluetooth, Sebastian Chlad

This allows better tracking of the current state of implementation
---
 android/Makefile.am     |   4 +-
 android/pics-l2cap.txt  | 157 ++++++++++++++++++++++++++++++++++++++++++++++++
 android/pixit-l2cap.txt |  39 ++++++++++++
 android/pts-l2cap.txt   | 149 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 348 insertions(+), 1 deletion(-)
 create mode 100644 android/pics-l2cap.txt
 create mode 100644 android/pixit-l2cap.txt
 create mode 100644 android/pts-l2cap.txt

diff --git a/android/Makefile.am b/android/Makefile.am
index 79f30d7..b459102 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -111,4 +111,6 @@ EXTRA_DIST += android/Android.mk android/hal-ipc-api.txt android/README \
 		android/pixit-gap.txt android/pixit-hid.txt \
 		android/pixit-opp.txt android/pixit-pan.txt \
 		android/pixit-pbap.txt android/pts-gap.txt android/pts-hid.txt \
-		android/pts-opp.txt android/pts-pbap.txt
+		android/pts-opp.txt android/pts-pbap.txt \
+		android/pics-l2cap.txt android/pixit-l2cap.txt \
+		android/pts-l2cap.txt
diff --git a/android/pics-l2cap.txt b/android/pics-l2cap.txt
new file mode 100644
index 0000000..ef25133
--- /dev/null
+++ b/android/pics-l2cap.txt
@@ -0,0 +1,157 @@
+L2CAP PICS for the PTS tool.
+
+* - different than PTS defaults
+# - not yet implemented/supported
+
+M - mandatory
+O - optional
+
+		Roles
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_1_1	True		Data Channel Initiator (C.1)
+TSPC_L2CAP_1_2	True		Data Channel Acceptor (C.1)
+TSPC_L2CAP_1_3	True (#)	LE Master (C.2)
+TSPC_L2CAP_1_4	True (#)	LE Slave (C.2)
+-------------------------------------------------------------------------------
+C.1: Mandatory IF BR/EDR or BR/EDR/LE is claimed, ELSE Excluded.
+C.2: Mandatory to support (at least one of TSPC_L2CAP_1_3 or TSPC_L2CAP_1_4)
+	IF LE or BR/EDR/LE claimed, ELSE Excluded.
+-------------------------------------------------------------------------------
+
+
+		General Operation
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_2_1	True		Support of L2CAP signaling channel (C.20)
+TSPC_L2CAP_2_2	True		Support of configuration process (C.20)
+TSPC_L2CAP_2_4	True		Support of command echo request (C.21)
+TSPC_L2CAP_2_3  True            Support of connection oriented data
+                                        channel (C.20)
+TSPC_L2CAP_2_5	True		Support of command echo response (C.20)
+TSPC_L2CAP_2_6	True (*)	Support of command information request (C.21)
+TSPC_L2CAP_2_7	True		Support of command information response (C.20)
+TSPC_L2CAP_2_8	False		Support of a channel group (C.21)
+TSPC_L2CAP_2_9	False		Support of packet for connectionless
+					channel (C.21)
+TSPC_L2CAP_2_10	False		Support retransmission mode (C.21)
+TSPC_L2CAP_2_11	False		Support flow control mode(C.21)
+TSPC_L2CAP_2_12	True (*)	Enhanced Retransmission Mode (C.1, C.13)
+TSPC_L2CAP_2_13	True (*)	Streaming Mode (C.1, C.14)
+TSPC_L2CAP_2_14	True (*)	FCS Option (C.2)
+TSPC_L2CAP_2_15	True (*)	Generate Local Busy Condition (C.3)
+TSPC_L2CAP_2_16	True (*)	Send Reject (C.3)
+TSPC_L2CAP_2_17	True (*)	Send Selective Reject (C.3)
+TSPC_L2CAP_2_18	True (*)	Mandatory use of ERTM (C.4)
+TSPC_L2CAP_2_19	True (*)	Mandatory use of Streaming Mode (C.5)
+TSPC_L2CAP_2_20	True (*)	Optional use of ERTM (C.4)
+TSPC_L2CAP_2_21	True (*)	Optional use of Streaming Mode (C.5)
+TSPC_L2CAP_2_22	True (*)	Send data using SAR in ERTM (C.6)
+TSPC_L2CAP_2_23	True (*)	Send data using SAR in Streaming Mode (C.7)
+TSPC_L2CAP_2_24	True (*)	Actively request Basic Mode for a PSM that
+					supports the use of ERTM or Streaming
+					Mode (C.8)
+TSPC_L2CAP_2_25	True (*)	Supports performing L2CAP channel mode
+					configuration fallback from SM
+					 to ERTM (C.9)
+TSPC_L2CAP_2_26	True (*)	Supports sending more than one unacknowledged
+					I-Frame when operating in ERTM (C.10)
+TSPC_L2CAP_2_27	True (*)	Supports sending more than three unacknowledged
+					I-Frame when operating in ERTM (C.10)
+TSPC_L2CAP_2_28	True (*)	Supports configuring the peer TxWindow
+					greater than 1 (C.11)
+TSPC_L2CAP_2_29	False		AMP Support (C.12)
+TSPC_L2CAP_2_30	True (*)	Fixed Channel Support (C.12)
+TSPC_L2CAP_2_31	False		AMP Manager Support (C.12)
+TSPC_L2CAP_2_32	False		ERTM over AMP (C.12)
+TSPC_L2CAP_2_33	False		Streaming Mode Source over AMP Support (C.15)
+TSPC_L2CAP_2_34	False		Streaming Mode Sink over AMP Support (C.15)
+TSPC_L2CAP_2_35	False		Unicast Connectionless Data, Reception (C.1, C.16)
+TSPC_L2CAP_2_36	False		Ability to transmit an unencrypted packet over
+					a Unicast connectionless L2CAP
+					channel (C.16)
+TSPC_L2CAP_2_37	False		Ability to transmit an encrypted packet over
+					a Unicast connectionless L2CAP
+					channel (C.16)
+TSPC_L2CAP_2_38	False		Extended Flow Specification for BR/EDR (C.8)
+TSPC_L2CAP_2_39	False		Extended Window Size (C.8)
+TSPC_L2CAP_2_40	True (*)	Support of Low Energy signaling channel (C.17)
+TSPC_L2CAP_2_41	True (*)	Support of command reject (C.17)
+TSPC_L2CAP_2_42	True (*)	Send Connection Parameter Update Request (C.18)
+TSPC_L2CAP_2_43	True (*)	Send Connection Parameter Update Response (C.19)
+TSPC_L2CAP_2_44	False		Extended Flow Specification for AMP (C.22)
+TSPC_L2CAP_2_45	False		Send disconnect request command (O)
+-------------------------------------------------------------------------------
+C.1: Mandatory to support at least one of TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 OR
+	TSPC_L2CAP_2_35 IF BR/EDR BR/EDR/LE AND SUM_ICS 31/7 (CSA1) OR
+	SUM_ICS 31/8 (3.0) OR SUM_ICS 31/9 (3.0+HS) OR SUM_ICS 31/10 (4.0))
+	is supported, ELSE Excluded
+C.2: Optional IF TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.3: Optional IF TSPC_L2CAP_2_12 AND TSPC_L2CAP_2_28 is claimed, ELSE Excluded.
+C.4: IF TSPC_L2CAP_2_12 is claimed THEN either TSPC_L2CAP_2_18
+	OR TSPC_L2CAP_2_20 are Mandatory, ELSE Excluded.
+C.5: IF TSPC_L2CAP_2_13 is claimed THEN either TSPC_L2CAP_2_19
+	OR TSPC_L2CAP_2_21 are Mandatory, ELSE Excluded.
+C.6: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.7: Optional IF TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.8: Optional IF TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.9: Mandatory IF TSPC_L2CAP_2_12 AND TSPC_L2CAP_2_13 AND TSPC_L2CAP_2_21
+       is claimed, ELSE Excluded.
+C.10: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.11: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.12: Mandatory IF SUM_ICS 31/9 (3.0 + HS) is claimed, ELSE Optional.
+C.13: Mandatory IF SUM_ICS 31/9 (3.0 + HS) is claimed, ELSE Optional.
+C.14: Optional IF SUM_ICS 31/8 OR 31/9 OR 31/10 OR 31/11 is claimed, ELSE Excluded.
+C.15: Optional IF TSPC_L2CAP_2_29 is claimed, ELSE Excluded.
+C.16: Optional IF (SUM_ICS 31/8 OR SUM_ICS 31/9 OR 31/10 OR 31/11) is claimed,
+       ELSE Excluded.
+C.17: Mandatory IF LE OR BR/EDR/LE is claimed, ELSE Excluded.
+C.18: Optional IF (SUM_ICS 31/10 AND 1/4) is claimed, ELSE Excluded.
+C.19: Mandatory IF (SUM_ICS 31/10 AND 1/3) is claimed, ELSE Excluded.
+C.20: Mandatory IF LE OR BR/EDR/LE, is claimed, ELSE Excluded
+C.21: Optional IF LE OR BR/EDR/LE, is claimed, ELSE Excluded
+C.22: Mandatory IF TSPC_L2CAP_2_29 is claimed, ELSE Excluded.
+-------------------------------------------------------------------------------
+
+
+		Configurable Parameters
+-------------------------------------------------------------------------------
+Parameter	Name Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_3_1	True		Support of RTX timer (M)
+TSPC_L2CAP_3_2	True		Support of ERTX timer (C.4)
+TSPC_L2CAP_3_3	True		Support minimum MTU size 48 octets (C.4)
+TSPC_L2CAP_3_4	True (*)	Support MTU size larger than 48 octets (C.5)
+TSPC_L2CAP_3_5	True		Support of flush timeout value for reliable
+					channel (C.4)
+TSPC_L2CAP_3_6	False		Support of flush timeout value for unreliable
+					channel (C.5)
+TSPC_L2CAP_3_7	False		Support of bi-directional quality of service
+					(QoS) option field (C.1)
+TSPC_L2CAP_3_8	False		Negotiate QoS service type (C.5)
+TSPC_L2CAP_3_9	False		Negotiate and support service type ‘No
+					traffic’ (C.2)
+TSPC_L2CAP_3_10	False		Negotiate and support service type ‘Best
+					effort’ (C.3)
+TSPC_L2CAP_3_11	False		Negotiate and support service type
+					‘Guaranteed’ (C.2)
+TSPC_L2CAP_3_12	True (*)	Support minimum MTU size 23 octets (C.6)
+TSPC_L2CAP_3_13	False		Negotiate and support service type ‘No traffic’
+					for Extended Flow Specification (C.7)
+TSPC_L2CAP_3_14	False		Negotiate and support service type ‘Best Effort'
+					for Extended Flow Specification (C.8)
+TSPC_L2CAP_3_15	False		Negotiate and support service type ‘Guaranteed’
+					for Extended Flow Specification (C.9)
+-------------------------------------------------------------------------------
+C.1: Mandatory if TSPC_L2CAP_3_8 is supported, ELSE Optional.
+C.2: Optional if TSPC_L2CAP_3_8 is supported, ELSE Excluded.
+C.3: Mandatory if TSPC_L2CAP_3_8 is supported, ELSE Excluded.
+C.4: Mandatory IF BR/EDR OR BR/EDR/LE is claimed, ELSE Excluded.
+C.5: Optional IF BR/EDR OR BR/EDR/LE is claimed, ELSE Excluded.
+C.6: Mandatory IF LE OR BR/EDR/LE is claimed, ELSE Excluded.
+C.7: Optional if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+C.8: Mandatory if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+C.9: Optional if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+-------------------------------------------------------------------------------
diff --git a/android/pixit-l2cap.txt b/android/pixit-l2cap.txt
new file mode 100644
index 0000000..7de6638
--- /dev/null
+++ b/android/pixit-l2cap.txt
@@ -0,0 +1,39 @@
+L2CAP PIXIT for the PTS tool.
+
+* - different than PTS defaults
+& - should be set to IUT Bluetooth address
+
+               Required PIXIT settings
+-------------------------------------------------------------------------------
+Parameter Name                                         Value
+-------------------------------------------------------------------------------
+TSPX_bd_addr_iut                                       112233445566 (*&)
+TSPX_client_class_of_device                            100104
+TSPX_server_class_of_device                            100104
+TSPX_security_enabled                                  FALSE
+TSPX_delete_link_key                                   FALSE
+TSPX_pin_code                                          0000
+TSPX_flushto                                           FFFF
+TSPX_inmtu                                             02A0
+TSPX_no_fail_verditcs                                  FALSE
+TSPX_oumtu                                             02A0
+TSPX_iut_role_initiator                                FALSE
+TSPX_psm                                               1011 (*)
+TSPX_time_guard                                        180000
+TSPX_timer_ertx                                        120000
+TSPX_timer_ertx_max                                    300000
+TSPX_timer_ertx_min                                    60000
+TSPX_timer_rtx                                         10000
+TSPX_timer_rtx_max                                     60000
+TSPX_timer_rtx_min                                     1000
+TSPX_rfc_mode_tx_window_size                           08
+TSPX_rfc_mode_max_transmit                             03
+TSPX_rfc_mode_retransmission_timeout                   07D0
+TSPX_rfc_mode_monitor_timeout                          2EE0
+TSPX_rfc_mode_maximum_pdu_size                         02A0
+TSPX_extended_window_size                              0012
+TSPX_use_implicit_send                                 TRUE
+TSPX_use_dynamic_pin                                   FALSE
+TSPX_iut_SDU_size_in_bytes                             144
+TSPX_secure_simple_pairing_pass_key_confirmation       FALSE
+-------------------------------------------------------------------------------
diff --git a/android/pts-l2cap.txt b/android/pts-l2cap.txt
new file mode 100644
index 0000000..deff86c
--- /dev/null
+++ b/android/pts-l2cap.txt
@@ -0,0 +1,149 @@
+PTS test results for L2CAP
+
+PTS version: 5.0
+Tested: 18.12.2013
+
+Results:
+PASS   test passed
+FAIL   test failed
+INC    test is inconclusive
+N/A    test is disabled due to PICS setup
+
+-------------------------------------------------------------------------------
+Test Name              Result  Notes
+-------------------------------------------------------------------------------
+TC_COS_CED_BV_01_C     PASS
+TC_COS_CED_BV_03_C     PASS
+TC_COS_CED_BV_04_C     N/A
+TC_COS_CED_BV_05_C     PASS
+TC_COS_CED_BV_07_C     PASS
+TC_COS_CED_BV_08_C     PASS
+TC_COS_CED_BV_09_C     INC
+TC_COS_CED_BV_10_C     N/A
+TC_COS_CED_BV_11_C     PASS
+TC_COS_CED_BI_01_C     PASS
+TC_COS_CFD_BV_01_C     PASS
+TC_COS_CFD_BV_02_C     PASS
+TC_COS_CFD_BV_03_C     PASS
+TC_COS_CFD_BV_08_C     INC
+TC_COS_CFD_BV_09_C     INC
+TC_COS_CFD_BV_10_C     N/A
+TC_COS_CFD_BI_11_C     PASS
+TC_COS_CFD_BV_12_C     PASS
+TC_COS_CFD_BV_13_C     N/A
+TC_COS_IEX_BV_01_C     PASS
+TC_COS_IEX_BV_02_C     PASS
+TC_COS_ECH_BV_01_C     PASS
+TC_COS_ECH_BV_02_C     INC
+TC_CLS_CLR_BV_01_C     N/A
+TC_CLS_UCD_BV_01_C     N/A
+TC_CLS_UCD_BV_02_C     N/A
+TC_CLS_UCD_BV_03_C     N/A
+TC_EXF_BV_01_C         PASS
+TC_EXF_BV_02_C         PASS
+TC_EXF_BV_03_C         PASS
+TC_EXF_BV_04_C         N/A
+TC_EXF_BV_05_C         PASS
+TC_EXF_BV_06_C         N/A
+TC_CMC_BV_01_C         INC
+TC_CMC_BV_02_C         INC
+TC_CMC_BV_03_C         INC
+TC_CMC_BV_04_C         INC
+TC_CMC_BV_05_C         INC
+TC_CMC_BV_06_C         INC
+TC_CMC_BV_07_C         INC
+TC_CMC_BV_08_C         INC
+TC_CMC_BV_09_C         INC
+TC_CMC_BV_10_C         INC
+TC_CMC_BV_11_C         INC
+TC_CMC_BV_12_C         INC
+TC_CMC_BV_13_C         INC
+TC_CMC_BV_14_C         INC
+TC_CMC_BV_15_C         INC
+TC_CMC_BI_01_C         INC
+TC_CMC_BI_02_C         INC
+TC_CMC_BI_03_C         INC
+TC_CMC_BI_04_C         INC
+TC_CMC_BI_05_C         INC
+TC_CMC_BI_06_C         INC
+TC_FOC_BV_01_C         INC
+TC_FOC_BV_02_C         INC
+TC_FOC_BV_03_C         INC
+TC_FOC_BV_04_C         INC
+TC_OFS_BV_01_C         INC
+TC_OFS_BV_02_C         INC
+TC_OFS_BV_03_C         INC
+TC_OFS_BV_04_C         INC
+TC_OFS_BV_05_C         INC
+TC_OFS_BV_06_C         INC
+TC_OFS_BV_07_C         INC
+TC_OFS_BV_08_C         INC
+TC_ERM_BV_01_C         INC
+TC_ERM_BV_02_C         INC
+TC_ERM_BV_03_C         INC
+TC_ERM_BV_04_C         INC
+TC_ERM_BV_05_C         INC
+TC_ERM_BV_06_C         INC
+TC_ERM_BV_07_C         INC
+TC_ERM_BV_08_C         INC
+TC_ERM_BV_09_C         INC
+TC_ERM_BV_10_C         INC
+TC_ERM_BV_11_C         INC
+TC_ERM_BV_12_C         INC
+TC_ERM_BV_13_C         INC
+TC_ERM_BV_14_C         INC
+TC_ERM_BV_15_C         INC
+TC_ERM_BV_16_C         INC
+TC_ERM_BV_17_C         INC
+TC_ERM_BV_18_C         INC
+TC_ERM_BV_19_C         INC
+TC_ERM_BV_20_C         INC
+TC_ERM_BV_21_C         INC
+TC_ERM_BV_22_C         INC
+TC_ERM_BV_23_C         INC
+TC_ERM_BI_01_C         INC
+TC_ERM_BI_02_C         INC
+TC_ERM_BI_03_C         INC
+TC_ERM_BI_04_C         INC
+TC_ERM_BI_05_C         INC
+TC_STM_BV_01_C         INC
+TC_STM_BV_02_C         INC
+TC_STM_BV_03_C         INC
+TC_STM_BV_11_C         N/A
+TC_STM_BV_12_C         N/A
+TC_STM_BV_13_C         N/A
+TC_FIX_BV_01_C         PASS
+TC_FIX_BV_02_C         PASS
+TC_EWC_BV_01_C         N/A
+TC_EWC_BV_02_C         N/A
+TC_EWC_BV_03_C         N/A
+TC_LSC_BV_01_C         N/A
+TC_LSC_BV_02_C         N/A
+TC_LSC_BV_03_C         N/A
+TC_LSC_BI_04_C         N/A
+TC_LSC_BI_05_C         N/A
+TC_LSC_BV_06_C         N/A
+TC_LSC_BV_07_C         N/A
+TC_LSC_BV_08_C         N/A
+TC_LSC_BV_09_C         N/A
+TC_LSC_BI_10_C         N/A
+TC_LSC_BI_11_C         N/A
+TC_LSC_BV_12_C         N/A
+TC_CCH_BV_01_C         N/A
+TC_CCH_BV_02_C         N/A
+TC_CCH_BV_03_C         N/A
+TC_CCH_BV_04_C         N/A
+TC_ECF_BV_01_C         N/A
+TC_ECF_BV_02_C         N/A
+TC_ECF_BV_03_C         N/A
+TC_ECF_BV_04_C         N/A
+TC_ECF_BV_05_C         N/A
+TC_ECF_BV_06_C         N/A
+TC_ECF_BV_07_C         N/A
+TC_ECF_BV_08_C         N/A
+TC_LE_CPU_BV_01_C      N/A
+TC_LE_CPU_BV_02_C      N/A
+TC_LE_CPU_BI_01_C      N/A
+TC_LE_CPU_BI_02_C      N/A
+TC_LE_REJ_BV_01_C      N/A
+
-- 
1.8.1.2


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

* Re: [PATCH] android/pts: Add PICS, PIXITs and PTS for L2CAP
  2013-12-19  9:14     ` Sebastian Chlad
@ 2013-12-19  9:42       ` Szymon Janc
  2013-12-19  9:45         ` Chlad, SebastianX
  0 siblings, 1 reply; 11+ messages in thread
From: Szymon Janc @ 2013-12-19  9:42 UTC (permalink / raw)
  To: Sebastian Chlad; +Cc: johan.hedberg, linux-bluetooth, Sebastian Chlad

Hi Sebastian,

> This allows better tracking of the current state of implementation
> ---
>  android/Makefile.am     |   4 +-
>  android/pics-l2cap.txt  | 157 ++++++++++++++++++++++++++++++++++++++++++++++++
>  android/pixit-l2cap.txt |  39 ++++++++++++
>  android/pts-l2cap.txt   | 149 +++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 348 insertions(+), 1 deletion(-)
>  create mode 100644 android/pics-l2cap.txt
>  create mode 100644 android/pixit-l2cap.txt
>  create mode 100644 android/pts-l2cap.txt
> 

This one doesn't apply:

Applying: android/pts: Add PICS, PIXITs and PTS for L2CAP
error: patch failed: android/Makefile.am:111
error: android/Makefile.am: patch does not apply
/home/janccszy/devel/bluez/.git/rebase-apply/patch:385: new blank line at EOF.

-- 
BR
Szymon Janc

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

* RE: [PATCH] android/pts: Add PICS, PIXITs and PTS for L2CAP
  2013-12-19  9:42       ` Szymon Janc
@ 2013-12-19  9:45         ` Chlad, SebastianX
  0 siblings, 0 replies; 11+ messages in thread
From: Chlad, SebastianX @ 2013-12-19  9:45 UTC (permalink / raw)
  To: Szymon Janc, Sebastian Chlad
  Cc: Hedberg, Johan, linux-bluetooth@vger.kernel.org


________________________________________
From: Szymon Janc [szymon.janc@tieto.com]
Sent: Thursday, December 19, 2013 11:42 AM
To: Sebastian Chlad
Cc: Hedberg, Johan; linux-bluetooth@vger.kernel.org; Chlad, SebastianX
Subject: Re: [PATCH] android/pts: Add PICS, PIXITs and PTS for L2CAP

Hi Sebastian,

> This allows better tracking of the current state of implementation
> ---
>  android/Makefile.am     |   4 +-
>  android/pics-l2cap.txt  | 157 ++++++++++++++++++++++++++++++++++++++++++++++++
>  android/pixit-l2cap.txt |  39 ++++++++++++
>  android/pts-l2cap.txt   | 149 +++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 348 insertions(+), 1 deletion(-)
>  create mode 100644 android/pics-l2cap.txt
>  create mode 100644 android/pixit-l2cap.txt
>  create mode 100644 android/pts-l2cap.txt
>

This one doesn't apply:

yes, indeed. I'll correct that. 

Seb

Applying: android/pts: Add PICS, PIXITs and PTS for L2CAP
error: patch failed: android/Makefile.am:111
error: android/Makefile.am: patch does not apply
/home/janccszy/devel/bluez/.git/rebase-apply/patch:385: new blank line at EOF.

--
BR
Szymon Janc
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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

* [PATCH] android/pts: Add PICS, PIXITs and PTS for L2CAP
  2013-12-17  9:27   ` Chlad, SebastianX
                       ` (2 preceding siblings ...)
  2013-12-19  9:14     ` Sebastian Chlad
@ 2013-12-19 12:26     ` Sebastian Chlad
  2013-12-19 13:01       ` Szymon Janc
  3 siblings, 1 reply; 11+ messages in thread
From: Sebastian Chlad @ 2013-12-19 12:26 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Sebastian Chlad

This allows better tracking of the current state of implementation
---
 android/Makefile.am     |   4 +-
 android/pics-l2cap.txt  | 157 ++++++++++++++++++++++++++++++++++++++++++++++++
 android/pixit-l2cap.txt |  39 ++++++++++++
 android/pts-l2cap.txt   | 148 +++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 347 insertions(+), 1 deletion(-)
 create mode 100644 android/pics-l2cap.txt
 create mode 100644 android/pixit-l2cap.txt
 create mode 100644 android/pts-l2cap.txt

diff --git a/android/Makefile.am b/android/Makefile.am
index 909846e..a5533de 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -123,4 +123,6 @@ EXTRA_DIST += android/Android.mk android/hal-ipc-api.txt android/README \
 		android/pixit-pbap.txt android/pts-gap.txt android/pts-hid.txt \
 		android/pts-opp.txt android/pts-pbap.txt \
 		android/audio-ipc-api.txt android/pics-map.txt \
-		android/pixit-map.txt android/pts-map.txt
+		android/pixit-map.txt android/pts-map.txt \
+		android/pics-l2cap.txt android/pixit-l2cap.txt \
+		android/pts-l2cap.txt
diff --git a/android/pics-l2cap.txt b/android/pics-l2cap.txt
new file mode 100644
index 0000000..ef25133
--- /dev/null
+++ b/android/pics-l2cap.txt
@@ -0,0 +1,157 @@
+L2CAP PICS for the PTS tool.
+
+* - different than PTS defaults
+# - not yet implemented/supported
+
+M - mandatory
+O - optional
+
+		Roles
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_1_1	True		Data Channel Initiator (C.1)
+TSPC_L2CAP_1_2	True		Data Channel Acceptor (C.1)
+TSPC_L2CAP_1_3	True (#)	LE Master (C.2)
+TSPC_L2CAP_1_4	True (#)	LE Slave (C.2)
+-------------------------------------------------------------------------------
+C.1: Mandatory IF BR/EDR or BR/EDR/LE is claimed, ELSE Excluded.
+C.2: Mandatory to support (at least one of TSPC_L2CAP_1_3 or TSPC_L2CAP_1_4)
+	IF LE or BR/EDR/LE claimed, ELSE Excluded.
+-------------------------------------------------------------------------------
+
+
+		General Operation
+-------------------------------------------------------------------------------
+Parameter Name	Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_2_1	True		Support of L2CAP signaling channel (C.20)
+TSPC_L2CAP_2_2	True		Support of configuration process (C.20)
+TSPC_L2CAP_2_4	True		Support of command echo request (C.21)
+TSPC_L2CAP_2_3  True            Support of connection oriented data
+                                        channel (C.20)
+TSPC_L2CAP_2_5	True		Support of command echo response (C.20)
+TSPC_L2CAP_2_6	True (*)	Support of command information request (C.21)
+TSPC_L2CAP_2_7	True		Support of command information response (C.20)
+TSPC_L2CAP_2_8	False		Support of a channel group (C.21)
+TSPC_L2CAP_2_9	False		Support of packet for connectionless
+					channel (C.21)
+TSPC_L2CAP_2_10	False		Support retransmission mode (C.21)
+TSPC_L2CAP_2_11	False		Support flow control mode(C.21)
+TSPC_L2CAP_2_12	True (*)	Enhanced Retransmission Mode (C.1, C.13)
+TSPC_L2CAP_2_13	True (*)	Streaming Mode (C.1, C.14)
+TSPC_L2CAP_2_14	True (*)	FCS Option (C.2)
+TSPC_L2CAP_2_15	True (*)	Generate Local Busy Condition (C.3)
+TSPC_L2CAP_2_16	True (*)	Send Reject (C.3)
+TSPC_L2CAP_2_17	True (*)	Send Selective Reject (C.3)
+TSPC_L2CAP_2_18	True (*)	Mandatory use of ERTM (C.4)
+TSPC_L2CAP_2_19	True (*)	Mandatory use of Streaming Mode (C.5)
+TSPC_L2CAP_2_20	True (*)	Optional use of ERTM (C.4)
+TSPC_L2CAP_2_21	True (*)	Optional use of Streaming Mode (C.5)
+TSPC_L2CAP_2_22	True (*)	Send data using SAR in ERTM (C.6)
+TSPC_L2CAP_2_23	True (*)	Send data using SAR in Streaming Mode (C.7)
+TSPC_L2CAP_2_24	True (*)	Actively request Basic Mode for a PSM that
+					supports the use of ERTM or Streaming
+					Mode (C.8)
+TSPC_L2CAP_2_25	True (*)	Supports performing L2CAP channel mode
+					configuration fallback from SM
+					 to ERTM (C.9)
+TSPC_L2CAP_2_26	True (*)	Supports sending more than one unacknowledged
+					I-Frame when operating in ERTM (C.10)
+TSPC_L2CAP_2_27	True (*)	Supports sending more than three unacknowledged
+					I-Frame when operating in ERTM (C.10)
+TSPC_L2CAP_2_28	True (*)	Supports configuring the peer TxWindow
+					greater than 1 (C.11)
+TSPC_L2CAP_2_29	False		AMP Support (C.12)
+TSPC_L2CAP_2_30	True (*)	Fixed Channel Support (C.12)
+TSPC_L2CAP_2_31	False		AMP Manager Support (C.12)
+TSPC_L2CAP_2_32	False		ERTM over AMP (C.12)
+TSPC_L2CAP_2_33	False		Streaming Mode Source over AMP Support (C.15)
+TSPC_L2CAP_2_34	False		Streaming Mode Sink over AMP Support (C.15)
+TSPC_L2CAP_2_35	False		Unicast Connectionless Data, Reception (C.1, C.16)
+TSPC_L2CAP_2_36	False		Ability to transmit an unencrypted packet over
+					a Unicast connectionless L2CAP
+					channel (C.16)
+TSPC_L2CAP_2_37	False		Ability to transmit an encrypted packet over
+					a Unicast connectionless L2CAP
+					channel (C.16)
+TSPC_L2CAP_2_38	False		Extended Flow Specification for BR/EDR (C.8)
+TSPC_L2CAP_2_39	False		Extended Window Size (C.8)
+TSPC_L2CAP_2_40	True (*)	Support of Low Energy signaling channel (C.17)
+TSPC_L2CAP_2_41	True (*)	Support of command reject (C.17)
+TSPC_L2CAP_2_42	True (*)	Send Connection Parameter Update Request (C.18)
+TSPC_L2CAP_2_43	True (*)	Send Connection Parameter Update Response (C.19)
+TSPC_L2CAP_2_44	False		Extended Flow Specification for AMP (C.22)
+TSPC_L2CAP_2_45	False		Send disconnect request command (O)
+-------------------------------------------------------------------------------
+C.1: Mandatory to support at least one of TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 OR
+	TSPC_L2CAP_2_35 IF BR/EDR BR/EDR/LE AND SUM_ICS 31/7 (CSA1) OR
+	SUM_ICS 31/8 (3.0) OR SUM_ICS 31/9 (3.0+HS) OR SUM_ICS 31/10 (4.0))
+	is supported, ELSE Excluded
+C.2: Optional IF TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.3: Optional IF TSPC_L2CAP_2_12 AND TSPC_L2CAP_2_28 is claimed, ELSE Excluded.
+C.4: IF TSPC_L2CAP_2_12 is claimed THEN either TSPC_L2CAP_2_18
+	OR TSPC_L2CAP_2_20 are Mandatory, ELSE Excluded.
+C.5: IF TSPC_L2CAP_2_13 is claimed THEN either TSPC_L2CAP_2_19
+	OR TSPC_L2CAP_2_21 are Mandatory, ELSE Excluded.
+C.6: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.7: Optional IF TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.8: Optional IF TSPC_L2CAP_2_12 OR TSPC_L2CAP_2_13 is claimed, ELSE Excluded.
+C.9: Mandatory IF TSPC_L2CAP_2_12 AND TSPC_L2CAP_2_13 AND TSPC_L2CAP_2_21
+       is claimed, ELSE Excluded.
+C.10: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.11: Optional IF TSPC_L2CAP_2_12 is claimed, ELSE Excluded.
+C.12: Mandatory IF SUM_ICS 31/9 (3.0 + HS) is claimed, ELSE Optional.
+C.13: Mandatory IF SUM_ICS 31/9 (3.0 + HS) is claimed, ELSE Optional.
+C.14: Optional IF SUM_ICS 31/8 OR 31/9 OR 31/10 OR 31/11 is claimed, ELSE Excluded.
+C.15: Optional IF TSPC_L2CAP_2_29 is claimed, ELSE Excluded.
+C.16: Optional IF (SUM_ICS 31/8 OR SUM_ICS 31/9 OR 31/10 OR 31/11) is claimed,
+       ELSE Excluded.
+C.17: Mandatory IF LE OR BR/EDR/LE is claimed, ELSE Excluded.
+C.18: Optional IF (SUM_ICS 31/10 AND 1/4) is claimed, ELSE Excluded.
+C.19: Mandatory IF (SUM_ICS 31/10 AND 1/3) is claimed, ELSE Excluded.
+C.20: Mandatory IF LE OR BR/EDR/LE, is claimed, ELSE Excluded
+C.21: Optional IF LE OR BR/EDR/LE, is claimed, ELSE Excluded
+C.22: Mandatory IF TSPC_L2CAP_2_29 is claimed, ELSE Excluded.
+-------------------------------------------------------------------------------
+
+
+		Configurable Parameters
+-------------------------------------------------------------------------------
+Parameter	Name Selected	Description
+-------------------------------------------------------------------------------
+TSPC_L2CAP_3_1	True		Support of RTX timer (M)
+TSPC_L2CAP_3_2	True		Support of ERTX timer (C.4)
+TSPC_L2CAP_3_3	True		Support minimum MTU size 48 octets (C.4)
+TSPC_L2CAP_3_4	True (*)	Support MTU size larger than 48 octets (C.5)
+TSPC_L2CAP_3_5	True		Support of flush timeout value for reliable
+					channel (C.4)
+TSPC_L2CAP_3_6	False		Support of flush timeout value for unreliable
+					channel (C.5)
+TSPC_L2CAP_3_7	False		Support of bi-directional quality of service
+					(QoS) option field (C.1)
+TSPC_L2CAP_3_8	False		Negotiate QoS service type (C.5)
+TSPC_L2CAP_3_9	False		Negotiate and support service type ‘No
+					traffic’ (C.2)
+TSPC_L2CAP_3_10	False		Negotiate and support service type ‘Best
+					effort’ (C.3)
+TSPC_L2CAP_3_11	False		Negotiate and support service type
+					‘Guaranteed’ (C.2)
+TSPC_L2CAP_3_12	True (*)	Support minimum MTU size 23 octets (C.6)
+TSPC_L2CAP_3_13	False		Negotiate and support service type ‘No traffic’
+					for Extended Flow Specification (C.7)
+TSPC_L2CAP_3_14	False		Negotiate and support service type ‘Best Effort'
+					for Extended Flow Specification (C.8)
+TSPC_L2CAP_3_15	False		Negotiate and support service type ‘Guaranteed’
+					for Extended Flow Specification (C.9)
+-------------------------------------------------------------------------------
+C.1: Mandatory if TSPC_L2CAP_3_8 is supported, ELSE Optional.
+C.2: Optional if TSPC_L2CAP_3_8 is supported, ELSE Excluded.
+C.3: Mandatory if TSPC_L2CAP_3_8 is supported, ELSE Excluded.
+C.4: Mandatory IF BR/EDR OR BR/EDR/LE is claimed, ELSE Excluded.
+C.5: Optional IF BR/EDR OR BR/EDR/LE is claimed, ELSE Excluded.
+C.6: Mandatory IF LE OR BR/EDR/LE is claimed, ELSE Excluded.
+C.7: Optional if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+C.8: Mandatory if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+C.9: Optional if TSPC_L2CAP_2_44 OR TSPC_L2CAP_2_38 is supported, ELSE Excluded.
+-------------------------------------------------------------------------------
diff --git a/android/pixit-l2cap.txt b/android/pixit-l2cap.txt
new file mode 100644
index 0000000..7de6638
--- /dev/null
+++ b/android/pixit-l2cap.txt
@@ -0,0 +1,39 @@
+L2CAP PIXIT for the PTS tool.
+
+* - different than PTS defaults
+& - should be set to IUT Bluetooth address
+
+               Required PIXIT settings
+-------------------------------------------------------------------------------
+Parameter Name                                         Value
+-------------------------------------------------------------------------------
+TSPX_bd_addr_iut                                       112233445566 (*&)
+TSPX_client_class_of_device                            100104
+TSPX_server_class_of_device                            100104
+TSPX_security_enabled                                  FALSE
+TSPX_delete_link_key                                   FALSE
+TSPX_pin_code                                          0000
+TSPX_flushto                                           FFFF
+TSPX_inmtu                                             02A0
+TSPX_no_fail_verditcs                                  FALSE
+TSPX_oumtu                                             02A0
+TSPX_iut_role_initiator                                FALSE
+TSPX_psm                                               1011 (*)
+TSPX_time_guard                                        180000
+TSPX_timer_ertx                                        120000
+TSPX_timer_ertx_max                                    300000
+TSPX_timer_ertx_min                                    60000
+TSPX_timer_rtx                                         10000
+TSPX_timer_rtx_max                                     60000
+TSPX_timer_rtx_min                                     1000
+TSPX_rfc_mode_tx_window_size                           08
+TSPX_rfc_mode_max_transmit                             03
+TSPX_rfc_mode_retransmission_timeout                   07D0
+TSPX_rfc_mode_monitor_timeout                          2EE0
+TSPX_rfc_mode_maximum_pdu_size                         02A0
+TSPX_extended_window_size                              0012
+TSPX_use_implicit_send                                 TRUE
+TSPX_use_dynamic_pin                                   FALSE
+TSPX_iut_SDU_size_in_bytes                             144
+TSPX_secure_simple_pairing_pass_key_confirmation       FALSE
+-------------------------------------------------------------------------------
diff --git a/android/pts-l2cap.txt b/android/pts-l2cap.txt
new file mode 100644
index 0000000..d293046
--- /dev/null
+++ b/android/pts-l2cap.txt
@@ -0,0 +1,148 @@
+PTS test results for L2CAP
+
+PTS version: 5.0
+Tested: 18.12.2013
+
+Results:
+PASS   test passed
+FAIL   test failed
+INC    test is inconclusive
+N/A    test is disabled due to PICS setup
+
+-------------------------------------------------------------------------------
+Test Name              Result  Notes
+-------------------------------------------------------------------------------
+TC_COS_CED_BV_01_C     PASS
+TC_COS_CED_BV_03_C     PASS
+TC_COS_CED_BV_04_C     N/A
+TC_COS_CED_BV_05_C     PASS
+TC_COS_CED_BV_07_C     PASS
+TC_COS_CED_BV_08_C     PASS
+TC_COS_CED_BV_09_C     INC
+TC_COS_CED_BV_10_C     N/A
+TC_COS_CED_BV_11_C     PASS
+TC_COS_CED_BI_01_C     PASS
+TC_COS_CFD_BV_01_C     PASS
+TC_COS_CFD_BV_02_C     PASS
+TC_COS_CFD_BV_03_C     PASS
+TC_COS_CFD_BV_08_C     INC
+TC_COS_CFD_BV_09_C     INC
+TC_COS_CFD_BV_10_C     N/A
+TC_COS_CFD_BI_11_C     PASS
+TC_COS_CFD_BV_12_C     PASS
+TC_COS_CFD_BV_13_C     N/A
+TC_COS_IEX_BV_01_C     PASS
+TC_COS_IEX_BV_02_C     PASS
+TC_COS_ECH_BV_01_C     PASS
+TC_COS_ECH_BV_02_C     INC
+TC_CLS_CLR_BV_01_C     N/A
+TC_CLS_UCD_BV_01_C     N/A
+TC_CLS_UCD_BV_02_C     N/A
+TC_CLS_UCD_BV_03_C     N/A
+TC_EXF_BV_01_C         PASS
+TC_EXF_BV_02_C         PASS
+TC_EXF_BV_03_C         PASS
+TC_EXF_BV_04_C         N/A
+TC_EXF_BV_05_C         PASS
+TC_EXF_BV_06_C         N/A
+TC_CMC_BV_01_C         INC
+TC_CMC_BV_02_C         INC
+TC_CMC_BV_03_C         INC
+TC_CMC_BV_04_C         INC
+TC_CMC_BV_05_C         INC
+TC_CMC_BV_06_C         INC
+TC_CMC_BV_07_C         INC
+TC_CMC_BV_08_C         INC
+TC_CMC_BV_09_C         INC
+TC_CMC_BV_10_C         INC
+TC_CMC_BV_11_C         INC
+TC_CMC_BV_12_C         INC
+TC_CMC_BV_13_C         INC
+TC_CMC_BV_14_C         INC
+TC_CMC_BV_15_C         INC
+TC_CMC_BI_01_C         INC
+TC_CMC_BI_02_C         INC
+TC_CMC_BI_03_C         INC
+TC_CMC_BI_04_C         INC
+TC_CMC_BI_05_C         INC
+TC_CMC_BI_06_C         INC
+TC_FOC_BV_01_C         INC
+TC_FOC_BV_02_C         INC
+TC_FOC_BV_03_C         INC
+TC_FOC_BV_04_C         INC
+TC_OFS_BV_01_C         INC
+TC_OFS_BV_02_C         INC
+TC_OFS_BV_03_C         INC
+TC_OFS_BV_04_C         INC
+TC_OFS_BV_05_C         INC
+TC_OFS_BV_06_C         INC
+TC_OFS_BV_07_C         INC
+TC_OFS_BV_08_C         INC
+TC_ERM_BV_01_C         INC
+TC_ERM_BV_02_C         INC
+TC_ERM_BV_03_C         INC
+TC_ERM_BV_04_C         INC
+TC_ERM_BV_05_C         INC
+TC_ERM_BV_06_C         INC
+TC_ERM_BV_07_C         INC
+TC_ERM_BV_08_C         INC
+TC_ERM_BV_09_C         INC
+TC_ERM_BV_10_C         INC
+TC_ERM_BV_11_C         INC
+TC_ERM_BV_12_C         INC
+TC_ERM_BV_13_C         INC
+TC_ERM_BV_14_C         INC
+TC_ERM_BV_15_C         INC
+TC_ERM_BV_16_C         INC
+TC_ERM_BV_17_C         INC
+TC_ERM_BV_18_C         INC
+TC_ERM_BV_19_C         INC
+TC_ERM_BV_20_C         INC
+TC_ERM_BV_21_C         INC
+TC_ERM_BV_22_C         INC
+TC_ERM_BV_23_C         INC
+TC_ERM_BI_01_C         INC
+TC_ERM_BI_02_C         INC
+TC_ERM_BI_03_C         INC
+TC_ERM_BI_04_C         INC
+TC_ERM_BI_05_C         INC
+TC_STM_BV_01_C         INC
+TC_STM_BV_02_C         INC
+TC_STM_BV_03_C         INC
+TC_STM_BV_11_C         N/A
+TC_STM_BV_12_C         N/A
+TC_STM_BV_13_C         N/A
+TC_FIX_BV_01_C         PASS
+TC_FIX_BV_02_C         PASS
+TC_EWC_BV_01_C         N/A
+TC_EWC_BV_02_C         N/A
+TC_EWC_BV_03_C         N/A
+TC_LSC_BV_01_C         N/A
+TC_LSC_BV_02_C         N/A
+TC_LSC_BV_03_C         N/A
+TC_LSC_BI_04_C         N/A
+TC_LSC_BI_05_C         N/A
+TC_LSC_BV_06_C         N/A
+TC_LSC_BV_07_C         N/A
+TC_LSC_BV_08_C         N/A
+TC_LSC_BV_09_C         N/A
+TC_LSC_BI_10_C         N/A
+TC_LSC_BI_11_C         N/A
+TC_LSC_BV_12_C         N/A
+TC_CCH_BV_01_C         N/A
+TC_CCH_BV_02_C         N/A
+TC_CCH_BV_03_C         N/A
+TC_CCH_BV_04_C         N/A
+TC_ECF_BV_01_C         N/A
+TC_ECF_BV_02_C         N/A
+TC_ECF_BV_03_C         N/A
+TC_ECF_BV_04_C         N/A
+TC_ECF_BV_05_C         N/A
+TC_ECF_BV_06_C         N/A
+TC_ECF_BV_07_C         N/A
+TC_ECF_BV_08_C         N/A
+TC_LE_CPU_BV_01_C      N/A
+TC_LE_CPU_BV_02_C      N/A
+TC_LE_CPU_BI_01_C      N/A
+TC_LE_CPU_BI_02_C      N/A
+TC_LE_REJ_BV_01_C      N/A
-- 
1.8.1.2


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

* Re: [PATCH] android/pts: Add PICS, PIXITs and PTS for L2CAP
  2013-12-19 12:26     ` Sebastian Chlad
@ 2013-12-19 13:01       ` Szymon Janc
  0 siblings, 0 replies; 11+ messages in thread
From: Szymon Janc @ 2013-12-19 13:01 UTC (permalink / raw)
  To: Sebastian Chlad; +Cc: linux-bluetooth, Sebastian Chlad

Hi Sebastian,

> This allows better tracking of the current state of implementation
> ---
>  android/Makefile.am     |   4 +-
>  android/pics-l2cap.txt  | 157 ++++++++++++++++++++++++++++++++++++++++++++++++
>  android/pixit-l2cap.txt |  39 ++++++++++++
>  android/pts-l2cap.txt   | 148 +++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 347 insertions(+), 1 deletion(-)
>  create mode 100644 android/pics-l2cap.txt
>  create mode 100644 android/pixit-l2cap.txt
>  create mode 100644 android/pts-l2cap.txt

Patch applied, thanks.

-- 
BR
Szymon Janc

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

end of thread, other threads:[~2013-12-19 13:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-15 22:39 [PATCH] Add PICS, PIXITs and PTS test results for L2CAP Sebastian Chlad
2013-12-16  8:17 ` Johan Hedberg
2013-12-17  9:27   ` Chlad, SebastianX
2013-12-17 10:29     ` Johan Hedberg
2013-12-18 19:32     ` [PATCH] android/pts: Add PICS, PIXITs and PTS " Sebastian Chlad
2013-12-19  8:21       ` Johan Hedberg
2013-12-19  9:14     ` Sebastian Chlad
2013-12-19  9:42       ` Szymon Janc
2013-12-19  9:45         ` Chlad, SebastianX
2013-12-19 12:26     ` Sebastian Chlad
2013-12-19 13:01       ` Szymon Janc

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).