Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4878606ybf; Wed, 4 Mar 2020 12:32:21 -0800 (PST) X-Google-Smtp-Source: ADFU+vtNEpL4sEAG3rXCnyUi7NwGBLyG6kUKqumfwjMKhFTomFOEN7FjucFP4Tx31CZ4uLSPHtU/ X-Received: by 2002:aca:4ed7:: with SMTP id c206mr2949471oib.161.1583353941003; Wed, 04 Mar 2020 12:32:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583353940; cv=none; d=google.com; s=arc-20160816; b=icX17IMFdQ+q0fUwGTZcOh9Oir5O3GraT7JJTu90wyOc61aurtop2cusJvlQddPm93 etVXEkWlMJ3e9TJroONU4ymRR5NxLuU9TQq3mZDBrY80xoSO6tMr/UarHA3IOB8fkuct +1Gx8kfYqhC1Uy31rZ7oi2IMxyzyRClMSxgVHpeWMrATk5qGliHIJJFBAB/udczlprw4 DyhXZ4BvPOlbHM/wbLFzu7zMMY27dWNTQ27mwkrU/YZLtHhUgnP9t6/FWvoIYNG4naAh CWPxSOYFP/R6AfedJsRCdJagRG/kVqHm2VwQFAdjVV2HG/iv6IvPAaHAYChy5gZdqPw/ sD6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=E15tbHALq6nVn9BQmrydPcISrGd27YfhbSBMTzwCpJg=; b=ihOhUGfTPwj+Ur9WpIcqHWkaiB2Eck5A6sznc164LPjE0lwFmqEjFTO/asI9+IfXeO hNcoPeuWW1auLZV5rtRzdh9AvWuNikrxFCZKwWHinUO+Un89UA5FE9Fl6sdbMhUfWBer 4nuAOpRNQc7cSQzfthAkTAhQjSCrUOSYDCOIBqQvhOax0dyquS96v+PSmOZMUgbdLgJa HgwK+0qf5SE5VTzIq4aYFqsZz4/4zhfdLyEPk4UCX6FEifuZ5GKG1k1qshSDEmrtKLmi 0PKkC4cy0JtvdvS1s/3jMQ8wHAvLqI0rJV8miCbKpX3NiCOF+ObFCI6/06mFNhWmHut3 kCqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ve2fHHWe; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y24si643362oih.7.2020.03.04.12.32.01; Wed, 04 Mar 2020 12:32:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ve2fHHWe; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728512AbgCDUb6 (ORCPT + 99 others); Wed, 4 Mar 2020 15:31:58 -0500 Received: from mail-ua1-f42.google.com ([209.85.222.42]:46506 "EHLO mail-ua1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728482AbgCDUb5 (ORCPT ); Wed, 4 Mar 2020 15:31:57 -0500 Received: by mail-ua1-f42.google.com with SMTP id h22so1201242uap.13 for ; Wed, 04 Mar 2020 12:31:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E15tbHALq6nVn9BQmrydPcISrGd27YfhbSBMTzwCpJg=; b=Ve2fHHWez4SY15rTWihb5lQI4XmV1cgx0PgGSK7wvwnN1DiesyF9a94wCg8t/wiP88 XhPyg9meg9Rn5iikFBpPQ3BwaHvGRHJm2eCpUuLoiK/IDjKfbA5q8jfFCTQMJbAWTryD Ygp8FgxoGWYEAOYrn2poJ+CQezxnlkSXPQqh0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E15tbHALq6nVn9BQmrydPcISrGd27YfhbSBMTzwCpJg=; b=rti5fohOiGZlSHP8DCwY0ne8K5CUhK6gAQcMy1s+Qu0TQJfeblJsDajUY8vi/xRVLk lPKpfynqixc2YHIKjEnrW+0KrxNBAunNWU3FqP5q5WEzcwesHK9mj7hmc0qCM2NY5vjR gTjGT9WiwbiEZAauC9vK+UlE9YjYoldIiNEzP6pgXVbOtNFMR9zspAZRHuB5Xpx82FsH KBAGOa3e/N72iUxSrPzq7crS28zzIrrJaT4J/vzt9HE3eNZdKkJJQ6VrjIwVSAPBml2D RI28hIfWsIdTJ2i8d+dRDVD4bOY1/jwkYgGNRzMPOFMeyUyT0cTzus/DUAzIKKb0q2Rd MoLw== X-Gm-Message-State: ANhLgQ0GcqM696NPelAFgyPXS7RtKqV26PIJKTbUbRSl6EP7kJqkdbPg u9FWfFNOcMIFsHhe/UvmfiyNiVZSjMQ= X-Received: by 2002:ab0:1653:: with SMTP id l19mr2646131uae.8.1583353916287; Wed, 04 Mar 2020 12:31:56 -0800 (PST) Received: from alain.c.googlers.com.com (39.119.74.34.bc.googleusercontent.com. [34.74.119.39]) by smtp.gmail.com with ESMTPSA id h139sm7786311vke.34.2020.03.04.12.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 12:31:55 -0800 (PST) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [BlueZ PATCH v2] Adding definitions for Wide Band Speech configuration Date: Wed, 4 Mar 2020 20:31:52 +0000 Message-Id: <20200304203152.111935-1-alainm@chromium.org> X-Mailer: git-send-email 2.25.1.481.gfbce0eb801-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This change adds the corresponding user space definition for wide band speech. --- lib/mgmt.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/mgmt.h b/lib/mgmt.h index 101cf5f95..d1f0a6053 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -101,7 +101,8 @@ struct mgmt_rp_read_index_list { #define MGMT_SETTING_PRIVACY 0x00002000 #define MGMT_SETTING_CONFIGURATION 0x00004000 #define MGMT_SETTING_STATIC_ADDRESS 0x00008000 -#define MGMT_SETTING_PHY_CONFIGURATION 0x00010000 +#define MGMT_SETTING_PHY_CONFIGURATION 0x00010000 +#define MGMT_SETTING_WIDE_BAND_SPEECH 0x00020000 #define MGMT_OP_READ_INFO 0x0004 struct mgmt_rp_read_info { @@ -599,6 +600,8 @@ struct mgmt_cp_set_blocked_keys { struct mgmt_blocked_key_info keys[0]; } __packed; +#define MGMT_OP_SET_WIDE_BAND_SPEECH 0x0047 + #define MGMT_EV_CMD_COMPLETE 0x0001 struct mgmt_ev_cmd_complete { uint16_t opcode; -- 2.25.1.481.gfbce0eb801-goog