Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4554112pxj; Tue, 25 May 2021 10:31:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUIezzXtYU/s9MQIbDLfjferOA5MFv0YDYxxYCPVEAE0hxASdZNQ0a8mp5pdv5TYEMoD3E X-Received: by 2002:a05:6402:3488:: with SMTP id v8mr32504726edc.51.1621963890057; Tue, 25 May 2021 10:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621963890; cv=none; d=google.com; s=arc-20160816; b=QMt7hGmGvq98Z/Vuc6CiWC8LjZ1pCFE6Y6fvirELE2uL9ZxpPXhSQUzmyKeTQPlO6F bRTSF+ctJDKi3wVZY1+DbLITFFIhQHRZw9Zk/YaTESpCGPggOiADspCWXU4w7WzFgF8W K0utd6yocjEgPG8UOopQ758wLXAY3P8NsKa4TFELyfDd0RVvHuH7fzYEk4YNjDuwiqYh 44xkPLyzeyEQVUvhIK/1xE3YdzG7dw69tLVI0ksGnv5K3N1aQUhqbdZ40jPblb55nKO9 JjQEc95236f9q74bJGkP0aIGz4eB4hcdXzts3z9RAfniceCcekOO4Yy6QlYkzRMhq+2r 6nvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=CbYbEQtGlD84EODNZdKsXfFlWgmm2XeE09xpe/o0hk8=; b=n2Zoudi9AIn2ri8z80VS9c9VBJzIGPdJAe/ksYbtF/TfZUiesiqahqplWjWUgxuNCk uqqGfUg5tqflkmISfpDnKhmRpAmD1t2FvvANs6zRy1xfbf14xgEcXLEhPugl6TC3Q5Cr n7m9XG9bg3KWopmyCEw52FTxZO4W0wDRqgN/G/KAry19Hes1e408GIp5cvMHf9YygnIf Y77EL0EbfZa2TTuXitY/of0fDE2eKIb+fI3d7qqklZ0z8oXmnB7A7RAIFC0biiSOozfY A/wnhYiNp0WGyHgpd8HGOwQ+/+hmrpaPu9Kio2I9R7qK50iCENhn94CDVDkzUi5rCl6o /OFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YKceKAf5; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si16124514edb.587.2021.05.25.10.30.50; Tue, 25 May 2021 10:31:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YKceKAf5; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232516AbhEYPUL (ORCPT + 99 others); Tue, 25 May 2021 11:20:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232885AbhEYPTX (ORCPT ); Tue, 25 May 2021 11:19:23 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B0CEC061354; Tue, 25 May 2021 08:17:28 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id v22so30627102oic.2; Tue, 25 May 2021 08:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CbYbEQtGlD84EODNZdKsXfFlWgmm2XeE09xpe/o0hk8=; b=YKceKAf5IOkI8WPqiq+8cvKV8CrlaKXN5hkYJFg8IyjoG+xoid/qHuBziKHezN7QDH WaQyk/CUTTUzZ5JKJTrE4nBEZv19mmjbkJmWJvQSadv+g+qg1gehZYl4nYmh82/M0dlS d8AjKqbgXKdGCtnsRJzbZ44fAEimGeooIzm+Pc5i/Eh133d2QG2BcwasdQ7aKi8piYxE CdY9C57Hln6QP3nnX/FLumvjdYN3ugVv6V+Rbr9EwP+geVGW1YKaYj1a6VwT3DxRx+2X 8zIx9iB34cDO7ZYLASGihMLyAeUAMksdB5wmJwohLBXINLsisp0h4PD/uRAaT2Nj6Kjw 9eTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CbYbEQtGlD84EODNZdKsXfFlWgmm2XeE09xpe/o0hk8=; b=I6HbBmmkixjWhDtb11tHvHtG1mkFoxLj1lcDGTa/sIB/rz0vv665+R6F67VRN8WC34 xZlS+lefVNt3t1tnrKB/JJVvrGDf0O9DE8YjfWnArbAH1wvzqfFkCgUG+Zrs2eNAyhG/ CIw2g7/F0vUvKeblY8624xdF+KxAyhw6TFz4lnydm+exBb+zq9Mzmsv+YQqq4n+fWMA9 dAuamqRwxEU8roFLTXYtyMeDYHc8PZXTLliO/iMvG7KJb9QrONhuWBbQi0uELOt5Gqgf 567qRs0lvlwcyRSIChGnl6aRUeKQVwgvZCOOcMppUyws4RFfDAcsnZGnXNvDjmByZfcY 9WlQ== X-Gm-Message-State: AOAM532/3hTEiUrIJ7uyCgZdJYr7pBq66i5fPTatWn4qbdbvQcknZWXG 9aUsz2twQHVQMR8fGEeLbNu184wrOlw+CbEeUDc= X-Received: by 2002:aca:2102:: with SMTP id 2mr3196288oiz.70.1621955847593; Tue, 25 May 2021 08:17:27 -0700 (PDT) MIME-Version: 1.0 References: <20210525102941.3958649-1-apusaka@google.com> In-Reply-To: From: Emil Lenngren Date: Tue, 25 May 2021 17:17:17 +0200 Message-ID: Subject: Re: [PATCH 00/12] Bluetooth: use inclusive language To: Archie Pusaka Cc: linux-bluetooth , Marcel Holtmann , CrosBT Upstreaming , Archie Pusaka , "David S. Miller" , "Gustavo A. R. Silva" , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , Matthieu Baerts , Miao-chen Chou , =?UTF-8?B?T2xlIEJqw7hybiBNaWR0YsO4?= , Sebastian Andrzej Siewior , Stefan Schmidt , LKML , Network Development Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Archie, Den tis 25 maj 2021 kl 16:34 skrev Archie Pusaka : > > Hi Emil, > > On Tue, 25 May 2021 at 20:19, Emil Lenngren wrote: > > > > Hi Archie, > > > > Den tis 25 maj 2021 kl 12:46 skrev Archie Pusaka : > > > > > > From: Archie Pusaka > > > > > > Hi linux-bluetooth maintainers, > > > > > > This series contains inclusive language patches, to promote usage of > > > central, peripheral, reject list, and accept list. I tried to divide > > > the change to several smaller patches to ease downstreamers to make > > > gradual change. > > > > > > There are still three occurences in debugfs (patch 09/12) in which the > > > original less inclusive terms is still left as-is since it is a > > > file name, and I afraid replacing them will cause instability to > > > other systems depending on that file name. > > > > > > > > > Archie Pusaka (12): > > > Bluetooth: use inclusive language in HCI role > > > Bluetooth: use inclusive language in hci_core.h > > > Bluetooth: use inclusive language to describe CPB > > > Bluetooth: use inclusive language in HCI LE features > > > Bluetooth: use inclusive language in L2CAP > > > Bluetooth: use inclusive language in RFCOMM > > > Bluetooth: use inclusive language when tracking connections > > > Bluetooth: use inclusive language in SMP > > > Bluetooth: use inclusive language in debugfs > > > Bluetooth: use inclusive language when filtering devices out > > > Bluetooth: use inclusive language when filtering devices in > > > Bluetooth: use inclusive language in comments > > > > > > include/net/bluetooth/hci.h | 98 +++++++++++++------------- > > > include/net/bluetooth/hci_core.h | 22 +++--- > > > include/net/bluetooth/l2cap.h | 2 +- > > > include/net/bluetooth/mgmt.h | 2 +- > > > include/net/bluetooth/rfcomm.h | 2 +- > > > net/bluetooth/amp.c | 2 +- > > > net/bluetooth/hci_conn.c | 32 ++++----- > > > net/bluetooth/hci_core.c | 46 ++++++------- > > > net/bluetooth/hci_debugfs.c | 20 +++--- > > > net/bluetooth/hci_event.c | 114 +++++++++++++++---------------- > > > net/bluetooth/hci_request.c | 106 ++++++++++++++-------------- > > > net/bluetooth/hci_sock.c | 12 ++-- > > > net/bluetooth/hidp/core.c | 2 +- > > > net/bluetooth/l2cap_core.c | 16 ++--- > > > net/bluetooth/l2cap_sock.c | 4 +- > > > net/bluetooth/mgmt.c | 36 +++++----- > > > net/bluetooth/rfcomm/sock.c | 4 +- > > > net/bluetooth/smp.c | 86 +++++++++++------------ > > > net/bluetooth/smp.h | 6 +- > > > 19 files changed, 309 insertions(+), 303 deletions(-) > > > > > > -- > > > 2.31.1.818.g46aad6cb9e-goog > > > > > > > Interesting move and good initiative! > > > > In my opinion however, shouldn't we wait until Bluetooth SIG changes > > the naming in the specification itself first (or rather push them to > > make the changes in the first place)? If they are about to change > > names, it would be good to make sure we end up with the same word > > choices so that we don't call one thing "le peripheral initiated > > feature exchange" while the standard calls it "le follower initiated > > feature exchange" or similar. Using different terminology than what's > > specified by the standard could easily end up in confusion I guess, > > and even more if different stacks invented their own alternative > > terminology. > > So far the Bluetooth SIG has only published an "Appropriate Language > Mapping Table" (https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf). > It doesn't look like it's finalized, but it's enough to get started. > Hopefully someone in the community can help to push the changes to the > spec? > > > In any case, I'm for example not sure if central/peripheral are the > > best words to use, since those are tied to a specific higher level > > profile (Generic Access Profile) and those words are not mentioned at > > all in the spec outside that context. The SMP chapter for example uses > > the terminology "initiator" and "responder", so maybe those are better > > word choices, at least in SMP. > > Thanks, you are correct about that. I didn't read the spec thoroughly > and just did a simple replacement. I shall incorporate your suggestion > if this set of patches is greenlighted. > Yeah that document really seems to be "in progress". As you can see, they have replaced Srand (slave random, used in SMP) by LP_RAND_R (legacy pairing, responder random number) so it seems they thought in the same way as I did, at least for SMP. And indeed, as in your patch they seem to prefer "central" and "peripheral", even outside GAP. So my guess is that we could rename at least the terms that are in that list right now, but probably wait with terms not yet present in the list. Or patch everything at once when Bluetooth SIG has finished the naming. (Note that I'm not a maintainer so someone else will need to decide) /Emil