Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp1051930rdb; Fri, 20 Oct 2023 07:13:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGN6tmPtNaLGpxjCkmZG6TazL9Z/dJUo73Wvcyt+eUbuQRuBjuki8QLqF5sEfmo7728D2tm X-Received: by 2002:a05:6a20:432c:b0:17b:1696:e5ea with SMTP id h44-20020a056a20432c00b0017b1696e5eamr2238006pzk.14.1697811234762; Fri, 20 Oct 2023 07:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697811234; cv=none; d=google.com; s=arc-20160816; b=oP/bunqIhGD6+GZ82d9pcJ9ZspFcFAGOvZ0EdXqscKIATy4z4jJLPzF5iUFx9pGbpk hR+Sixs1Y3j5o5rlJcAT2RQ05EGGfLCjPTi5SESfO9Wx4vBjScP5+cYVqputN1cmwzEc uJsmoV94Ld3604L5JIsjdRGcdqB4PnMlGp1bAqZjztsccUUNuzKdjfHGRMOmusJTSxe/ 00UsVzomkNE6aCCsClfXKiPEJtb6ht5lQuXybxW0ycEFE8Wa99h7IxzCsd7XqVZGTpPJ vWwCz570b8b+afjfeWY02SJVrdNz6PSC54qB1IwABIdL4RMR/jHV02g1wjzBrAFonX/5 MhyA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jodF2Kz2dr1XzQwiedQdew8h+JVyL0JtGPV8aQSYOhY=; fh=U3ev7U7uX1ilviB+nfdu7oOFhneDnAUw+Nb8W7HsKBg=; b=vKau3lYueRDkqbqTNPXGWpYQVlkzaPq/Svp0phRWsuzOCudsyFe0hW7mo07uY+OmNT ww5JCFYaMCnAKHyrYd27bSJPM63LUQmYEJ8f8VLLc4pDqaIztvRTAzR3uXThhKi4tgjv QoI29BNu63zpCpUO3073LSjAdRijtopeZyhxjw111/3HvIh/FUObqQua/QfbPQ5mutyE JyD4Y+VTQRYgB3d0sAafzJRLDEbPXW/as1G5bsiHxbRao12c9QE0D4rAQWwMGJxjEm2P 85TP5rlUoKvQKwZnGL5pAj0ce/z/AgQVM3i29fFi1+DhgrS3bvj/RxIMWa8xRvAK2D2x cpyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JenEjpcT; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id oj11-20020a17090b4d8b00b00268a8e0cab3si4674518pjb.178.2023.10.20.07.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 07:13:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=JenEjpcT; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 04255842C697; Fri, 20 Oct 2023 07:13:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377516AbjJTONq (ORCPT + 99 others); Fri, 20 Oct 2023 10:13:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377530AbjJTONq (ORCPT ); Fri, 20 Oct 2023 10:13:46 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73004D46 for ; Fri, 20 Oct 2023 07:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697811224; x=1729347224; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Jq5lz68o6ZCwQcCpPIOUbVYd5NuT91qf36kzbJgwtXQ=; b=JenEjpcThpGiO7nnZ22zYSEVpc4Za8w0WXu/s9HYcMD/uiDA/Wk6ej68 wiJzoEGZUrCmXMGfrjNBz6eI1qcaG/5a0QQLTAvGJ2O61Kxvgk3Iu151T WhQYK93UTU6nNmRjLb19+9e2NNBunuPSMGKR0+O7VrNmHhXQdrLTHRDsD pMxiM7JLz3MDv7eG6X1ucg9qncdcbFSw23VwFzrX/sc580M/uPyN1jYBI T2anpICQ3lwMt4JYyXdbZ340VU9n1KLoWtG5S18ugZL+ufaXFkqHQ295D MC3mW8tNCfPh6TeNlXvRJTDs4r0eabDUma+T7r9NoThn2L1YHF5Vgr/kT A==; X-IronPort-AV: E=McAfee;i="6600,9927,10869"; a="365840874" X-IronPort-AV: E=Sophos;i="6.03,239,1694761200"; d="scan'208";a="365840874" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2023 07:13:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10869"; a="1088756508" X-IronPort-AV: E=Sophos;i="6.03,239,1694761200"; d="scan'208";a="1088756508" Received: from intel-lenovo-legion-y540-15irh-pg0.iind.intel.com ([10.224.186.95]) by fmsmga005.fm.intel.com with ESMTP; 20 Oct 2023 07:13:43 -0700 From: Kiran K To: linux-bluetooth@vger.kernel.org Cc: ravishankar.srivatsa@intel.com, Kiran K Subject: [PATCH v1 3/5] bap: Do not set default location for sink and source Date: Fri, 20 Oct 2023 19:55:52 +0530 Message-Id: <20231020142554.486629-3-kiran.k@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231020142554.486629-1-kiran.k@intel.com> References: <20231020142554.486629-1-kiran.k@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 20 Oct 2023 07:13:52 -0700 (PDT) let the clients register the required location for source and sink endpoints. --- src/shared/bap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/shared/bap.c b/src/shared/bap.c index 2fd21b81b72d..5cb8b5aba659 100644 --- a/src/shared/bap.c +++ b/src/shared/bap.c @@ -474,9 +474,8 @@ static struct bt_pacs *pacs_new(struct gatt_db *db) pacs = new0(struct bt_pacs, 1); - /* Set default values */ - pacs->sink_loc_value = PACS_SNK_LOCATION; - pacs->source_loc_value = PACS_SRC_LOCATION; + pacs->sink_loc_value = 0; + pacs->source_loc_value = 0; pacs->sink_context_value = PACS_SNK_CTXT; pacs->source_context_value = PACS_SRC_CTXT; pacs->supported_sink_context_value = PACS_SUPPORTED_SNK_CTXT; -- 2.34.1