Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp19975rwb; Thu, 22 Sep 2022 13:46:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ZQXBzD/P+qiwbkVs4mSUIe5IttpW6QDyC/U4IKM1gkeX433czf17h0RaG5y2rKcBK5LsD X-Received: by 2002:a05:6402:c45:b0:442:c549:8e6b with SMTP id cs5-20020a0564020c4500b00442c5498e6bmr5245214edb.123.1663879577362; Thu, 22 Sep 2022 13:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663879577; cv=none; d=google.com; s=arc-20160816; b=PgG4pDjUzJUYyuAmUt7NJ2mIvnh7mHFBswhwSpPnp0yN3XTtMFgwSSd+faJxH0/Hsd wHk6zQiVi/bJ5M9vAhXq1K70+ZL4zktFBeRdd6g+d8u6JBS7YHSdCglrRCfKqux0MjlV gPfgi5m6E+1TuWfeojDUZ6CWmfYTYdptoeIPkxXLmoKzHdVoEn8GEQ5p+XXu8dttWdGG iRznMYhO2KaBXP52xjURAGw1yZBDpHur4W54l22AO4DZBaKBGRVFp2G2RJOZc623gs1z Ff+R8v35h6MhfbyCzpWMBwJbEL6nKRnpgQGXRThGJcUzQRslnBmGBT0DjIP+M18K5dw6 Xngw== 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=Fk8UoPc231Y2UIdf3T7yWzuIyXAh6viDpGeNgzlbDl8=; b=nsYQqyR9aezy4cgVfoqBWin//Hawp1DAJwOrdjA+uGHsK1vDaY4t707p5MYeJswRl3 Xps4VSIXnicJJIAY2yFHmut8jhnSz7o1gJ86uURAKD4pRKNIIQQCxgspuH6ocEylkBEH 82BYC+G58o+A7mcpm8RtKJ6T0fBxTloTgAZp8EdkbkhG3zNwsl+z2epArjUX7qzUy7Ul aRHbBlCl/yAlJmwV7M7BTHGXTXq36go3cdcZCB+Z8ukYHKykfsgBUtR0+Y3hQPAD2swn PwRmZdcymaxo3wneyhgxfiI7bOaUq256R3od2UXCesIL66EDDguRLeefPeG/B9mhnCjP AyUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cYMT3p45; 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 dp14-20020a170906c14e00b007821dcc397esi5189984ejc.996.2022.09.22.13.45.29; Thu, 22 Sep 2022 13:46:17 -0700 (PDT) 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=cYMT3p45; 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 S229647AbiIVUjF (ORCPT + 99 others); Thu, 22 Sep 2022 16:39:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229563AbiIVUjE (ORCPT ); Thu, 22 Sep 2022 16:39:04 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9438C10FE36 for ; Thu, 22 Sep 2022 13:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663879143; x=1695415143; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=M/8bFXfOWOYZHDmz6XJVqzOoNa/jh+Be6th6yI3AMG0=; b=cYMT3p45fPz+zy7HTCT6DPQhZV7erYeaVYn0CWsxZnE6+aOyCSqa+2Io Bv5VQfKCzB29R40ekK8XGRkmenpjry95fXwQtRUMkS+yUn9c0fmnCpjlu qMOwQA1tyHCaMUaFF8YO+DRJirVdTomeMWotir1xZsQWWcPxfA5GBgNJZ QPB3tL81UDL83wyGrR2qQ7xjYFh7u+kI8xUnAbRhJG+g4HG1V4a6OYHBz VtinPJfHEBY5Sr9YUuI1dEom8OtjGVWp0yFr008vWyeS9bVcISR8V8DQs CGT8KjmY7P+/0LkXCrQgQo18iVN+sVuWTWWZ+ktr06OM0nqHtzjN2rAQ8 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10478"; a="301303195" X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="301303195" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2022 13:39:00 -0700 X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="865028669" Received: from mobl2.amr.corp.intel.com (HELO bgi1-mobl2.amr.corp.intel.com) ([10.212.23.53]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2022 13:39:00 -0700 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: luiz.dentz@gmail.com, brian.gix@intel.com, inga.stotland@intel.com Subject: [PATCH BlueZ 2/4] lib: Add defines of new MGMT opcodes and events Date: Thu, 22 Sep 2022 13:38:50 -0700 Message-Id: <20220922203852.494315-3-brian.gix@intel.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220922203852.494315-1-brian.gix@intel.com> References: <20220922203852.494315-1-brian.gix@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Populated new opcodes and events into static mgmt_ev and mgmt_op string arrays. --- lib/mgmt.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/mgmt.h b/lib/mgmt.h index 79b77d31a..796190cd9 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -1170,6 +1170,10 @@ static const char *mgmt_op[] = { "Add Extended Advertisement Parameters", /* 0x0054 */ "Add Extended Advertisement Data", "Add Advertisement Patterns Monitor RSSI", + "Set Mesh Receiver", + "Read Mesh Features", + "Mesh Send", + "Mesh Send Cancel", }; static const char *mgmt_ev[] = { @@ -1222,6 +1226,8 @@ static const char *mgmt_ev[] = { "Controller Resume", "Advertisement Monitor Device Found", /* 0x002f */ "Advertisement Monitor Device Lost", + "Mesh Packet Found", + "Mesh Packet Complete", }; static const char *mgmt_status[] = { -- 2.37.3