Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5260894rwb; Mon, 21 Nov 2022 19:41:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf4qWDxcCWzJ5XbCjg33lJAb4k6ZCFxoHWv3d2y8mqdbUNspq5vxRbn9LluP31Z8/wmJszyZ X-Received: by 2002:aa7:da0f:0:b0:469:a437:ddf with SMTP id r15-20020aa7da0f000000b00469a4370ddfmr1916012eds.421.1669088501879; Mon, 21 Nov 2022 19:41:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669088501; cv=none; d=google.com; s=arc-20160816; b=iCBv49nb3DmWmaptn3WObQO1h1+NhPrVTksFwU8Rz2MfSWwYOpOkWmRmsLVk7B3r6j GsKBO9atrw61JLMkIig7WqkqQi2m4l6tD17bKGMbDnZpP60xOF96WjeFRFg3OhKY2yev LlDk/jdgOyPb+hY/HHbF1v8zpAlreicWOHamNckT1A9nfKI2AHno0hc6JMaTuw/khmsA /puVO5F1yQOHcFqMIhOo9fzhGwNtKMFjejK4XBivxsaGdqhv+cN8c5kiT457aRyTta5m 5jNXZmhBMTkjf8yJz57ORe0uTmuVis9xnozC334tvvKxLd+radjBkzQwe/MbZDy0Pcar uzDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=b2mdYqbdr6Y4cEDFwGmsmBMRSsB1AQl/WC11Y0Iz968=; b=lUDF2OuFCapNzROfiA7jD0UMVhOtuxQtOMrxVcHpQmi/ShETSkOSCJIy6wP7qWWiOb EFJzjGTNl/Cr+WUutD5hcEJdMbiCqRaQf9teLfaHiYTU4FuyRB2rydEVLkiy4ADmIp+b 4RFLW8qiITMrTphfpE1W2qJL6Wx97j+dIp6H4yAPb1PDLrZp4Bm74JfhaWr+o6BBSe3H +Qyq1haVUYFx4pXEIkBCo3rLqedd0YA/IlZZiqS60uLMHkLc7SfdvhbueabFEstxIWZf lXJ+bpos5gz1OfpB2fciTJpYKXT2Cy9FYhfF+ldHNcI/3PiKXCGhMx8otdPRdTpGqv8p SFLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YlTuiFhe; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xd4-20020a170907078400b0079d5da30399si11480448ejb.427.2022.11.21.19.41.17; Mon, 21 Nov 2022 19:41:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YlTuiFhe; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231879AbiKVDXt (ORCPT + 99 others); Mon, 21 Nov 2022 22:23:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231896AbiKVDXs (ORCPT ); Mon, 21 Nov 2022 22:23:48 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3831123EA4 for ; Mon, 21 Nov 2022 19:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669087423; x=1700623423; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ucrl8gKQOXQW7UCxNxIN4ZmC+JwU3y1FgyEse9qx/0I=; b=YlTuiFheZzaRhDffTbGXCODj1oL5XvbSZsaeyx+wtIBN+7F1mdEtn2e4 MTVLIjlW0GdpGQyV35yrJ8Bo7lihJnnULqrbNFMx1XSg/hBf26/ztXHRy PazFZ38cY92MDvhy0fzTMXFrMhEOTuLfQQh8V4iUZUb+hUnfIq1kIM4kP sBW5PJLpCRiq5IrPoEX0jiVA4xAYGC/rkNIAfxzZCS83qK/7p0M/RGYW0 qgD0Wu8EthRmzZQYsFiv48y32EYs9R2Lxv8lGzLSzFvHQXa1hBa4qA22I zxtoqmYFSyI2zSEXC2xYF2jwU28rZVvDcP0IcL3CjfKXdHOzrAmhSHCzm g==; X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="340583262" X-IronPort-AV: E=Sophos;i="5.96,182,1665471600"; d="scan'208";a="340583262" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 19:23:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="672331692" X-IronPort-AV: E=Sophos;i="5.96,182,1665471600"; d="scan'208";a="672331692" Received: from intel-latitude-e5450.iind.intel.com ([10.224.186.32]) by orsmga008.jf.intel.com with ESMTP; 21 Nov 2022 19:23:41 -0800 From: Sathish Narasimman To: linux-bluetooth@vger.kernel.org Cc: Sathish Narasimman Subject: [PATCH BlueZ V2 0/6] V2 of CSIP client role Date: Tue, 22 Nov 2022 08:55:24 +0530 Message-Id: <20221122032530.3842-1-sathish.narasimman@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Version 2 Fixed few checkpatch warnings. Sathish Narasimman (6): lib/uuid: Add CSIS UUIDs main.conf: Add CSIP profile configurable options shared/csip: Add initial code for handling CSIP profiles: Add initial code for csip plugin monitor/att: Add decoding support for CSIP tools: Add support to generate RSI using SIRK Makefile.am | 1 + Makefile.plugins | 5 + configure.ac | 4 + lib/uuid.h | 7 + monitor/att.c | 73 ++++++ profiles/audio/csip.c | 319 ++++++++++++++++++++++++ src/btd.h | 9 + src/main.c | 113 +++++++++ src/main.conf | 24 ++ src/shared/csip.c | 554 ++++++++++++++++++++++++++++++++++++++++++ src/shared/csip.h | 44 ++++ tools/advtest.c | 80 +++++- 12 files changed, 1231 insertions(+), 2 deletions(-) create mode 100644 profiles/audio/csip.c create mode 100644 src/shared/csip.c create mode 100644 src/shared/csip.h -- 2.25.1