Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4440132pxj; Tue, 25 May 2021 08:04:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzm0yaEAIZKA1U9m67hgHIVfRD2zDzkkL4clm5QpNigFskLAvNlDPG9Pxdcd+n9qW6JRE4h X-Received: by 2002:a92:ad07:: with SMTP id w7mr19700215ilh.98.1621955095381; Tue, 25 May 2021 08:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621955095; cv=none; d=google.com; s=arc-20160816; b=K+ZctL86+W3SuWW/gUvvsfqZgCkOx/6VwY3PvTNHtHlVlt9l+iCeBgWNyjW9p57TLx w7gyNOfQ/WxKg3ZxdqLmOSoJTXS3+l6DHqTEIATAThckD0fr3xZQB/ZyB2G2b74cvEnZ 2Gt99R53qYZti8sMN2sraA06tzasOfKGqAiPIPgldwM433G1kAgE83octA+ijfHVprAt B4CWT8mpAx1ovt604bWjMhIuI9QA8p/UKLW+oGz84Fngvtc4dYLDoEpAlyvYBQNmTPUG SuOk0BXRGBxQDzOm9/fGp5uiAennyrdZ7tr8p5lqxGFlihx8zJkgXJ2dd8FQBt2njTAj mhfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=UvJLOv2gVJIXVa5GBDx5GvSc7WAOA+t44/q+nZdfURY=; b=TpnocUzJJt9WGSU0Jn+BFrubPkCLgHMVBMR06L8+ViAmqzqJTDk7qcVq7YX0+uBsV/ cWWTC2FLwCokZH7ZbLBZg52dftQoMM7cowUxWrzYVnMRcu+pX5tpDCE4SevypXdxDWuw WdFbtyeJh+uqomZ+ZlIhBW+JUjWRrkMzuFbczdZ7C7qYiLsF+nedybmo9HSJ6Xa2RU7W DGFJBISOSd4sDY1TluzpMm1CpopPzztD5mH5LelKnpEB19JvuWLODthnpf7JqxgJoa3y nREuLzdo+wdGHnle9UWwGXpeYhpRNjPj+aVvQp3WTkUnckV6aRYbPGzv71K9zljEQ/S3 12mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="Z/hYDFxQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 17si17636039ilj.19.2021.05.25.08.04.42; Tue, 25 May 2021 08:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@google.com header.s=20161025 header.b="Z/hYDFxQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231827AbhEYKbe (ORCPT + 99 others); Tue, 25 May 2021 06:31:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231539AbhEYKbb (ORCPT ); Tue, 25 May 2021 06:31:31 -0400 Received: from mail-pg1-x54a.google.com (mail-pg1-x54a.google.com [IPv6:2607:f8b0:4864:20::54a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64490C06138B for ; Tue, 25 May 2021 03:30:00 -0700 (PDT) Received: by mail-pg1-x54a.google.com with SMTP id a23-20020a6370570000b029021b0f92a171so13172436pgn.16 for ; Tue, 25 May 2021 03:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=UvJLOv2gVJIXVa5GBDx5GvSc7WAOA+t44/q+nZdfURY=; b=Z/hYDFxQWfsOjkNfKZtQjYO4F0sjNyEPawpStKLooRsMRxctwbKOzodQ58NSJ1IhB7 0psOosT/YVWe0GWwAfFaoocubI/LfANAqdiiQFikbK/+RW2AQhgc8mEUb2N4xs6+Sj0c cwoCNZ8n3RgPzVBIcNrkXK6ZMzKwrSIvhawgEylBEjoedjC+5pGPIspTtoQ+tOuz/5D3 RRQXLwCAcY7s046OhrioP2+k5DFY/vAJkYsyLLOs/SCw1F7V/JMROlThR9/hfm6acdfg gTYxEltfQhjX3GbL1onZLgH2PuXV3uehTBu+4nzgh2slygqCn8rnt0fT4HPtPxhptoyf G5xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=UvJLOv2gVJIXVa5GBDx5GvSc7WAOA+t44/q+nZdfURY=; b=ovV+KqcPOBjwhZ/JbAeiRkuD1pY347Zm+CmsLYpF01wX1m2gqrMgh7eLKO4+Z7Hz/Q lvNEQY5XZewwav8DrKL6LB83VEpPZWZuinAKyn6OjYCMaFAyLKMdHR6wI5sztuFOF8Fe h18W9FpgFTa8+kqLqBmIr/SPHOeVHuv6HJzheqvOk4w1KsHPW8vshVgZ5zTYDMCq0KNh Gu76NLmjOFAnj9bgY8CFdXQHgjaFCCMkmPanEKro+744xNTzB7wqtDQGgndQVybhhhWH kYYReHQyhZtx9JdR3/XA91IjvmVrX20rSCKmiWuZ8FBy4Al/U66iFhV+stLlKotLe9Zn XTnQ== X-Gm-Message-State: AOAM533UJHYkI2IGIw4k7uXG2hQ6eDeti1YTSUSPbk4GS0bc/Cg/z6l0 STVNwhByy97XDdUk1SJVQWt0E81vRCxG X-Received: from apusaka-p920.tpe.corp.google.com ([2401:fa00:1:b:8806:6b98:8ae6:8824]) (user=apusaka job=sendgmr) by 2002:a62:6045:0:b029:2e0:9371:57e1 with SMTP id u66-20020a6260450000b02902e0937157e1mr29526881pfb.14.1621938599800; Tue, 25 May 2021 03:29:59 -0700 (PDT) Date: Tue, 25 May 2021 18:29:31 +0800 In-Reply-To: <20210525102941.3958649-1-apusaka@google.com> Message-Id: <20210525182900.2.I0564cdade0879f3f2b192ae73d01a0135baf8050@changeid> Mime-Version: 1.0 References: <20210525102941.3958649-1-apusaka@google.com> X-Mailer: git-send-email 2.31.1.818.g46aad6cb9e-goog Subject: [PATCH 02/12] Bluetooth: use inclusive language in hci_core.h From: Archie Pusaka To: linux-bluetooth , Marcel Holtmann Cc: CrosBT Upstreaming , Archie Pusaka , Miao-chen Chou , "David S. Miller" , Jakub Kicinski , Johan Hedberg , Luiz Augusto von Dentz , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Archie Pusaka Use "central" and "peripheral". These attributes are not used elsewhere in the code. Signed-off-by: Archie Pusaka Reviewed-by: Miao-chen Chou --- include/net/bluetooth/hci.h | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 18742f4471ff..c3efef266d6d 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -1839,23 +1839,23 @@ struct hci_rp_le_read_iso_tx_sync { #define HCI_OP_LE_SET_CIG_PARAMS 0x2062 struct hci_cis_params { __u8 cis_id; - __le16 m_sdu; - __le16 s_sdu; - __u8 m_phy; - __u8 s_phy; - __u8 m_rtn; - __u8 s_rtn; + __le16 c_sdu; + __le16 p_pdu; + __u8 c_phy; + __u8 p_phy; + __u8 c_rtn; + __u8 p_rtn; } __packed; struct hci_cp_le_set_cig_params { __u8 cig_id; - __u8 m_interval[3]; - __u8 s_interval[3]; - __u8 sca; + __u8 c_interval[3]; + __u8 p_interval[3]; + __u8 wc_sca; __u8 packing; __u8 framing; - __le16 m_latency; - __le16 s_latency; + __le16 c_latency; + __le16 p_latency; __u8 num_cis; struct hci_cis_params cis[]; } __packed; @@ -2260,7 +2260,7 @@ struct hci_ev_sync_train_complete { __u8 status; } __packed; -#define HCI_EV_SLAVE_PAGE_RESP_TIMEOUT 0x54 +#define HCI_EV_PERIPHERAL_PAGE_RESP_TIMEOUT 0x54 #define HCI_EV_LE_CONN_COMPLETE 0x01 struct hci_ev_le_conn_complete { @@ -2418,17 +2418,17 @@ struct hci_evt_le_cis_established { __le16 handle; __u8 cig_sync_delay[3]; __u8 cis_sync_delay[3]; - __u8 m_latency[3]; - __u8 s_latency[3]; - __u8 m_phy; - __u8 s_phy; + __u8 c_latency[3]; + __u8 p_latency[3]; + __u8 c_phy; + __u8 p_phy; __u8 nse; - __u8 m_bn; - __u8 s_bn; - __u8 m_ft; - __u8 s_ft; - __le16 m_mtu; - __le16 s_mtu; + __u8 c_bn; + __u8 p_bn; + __u8 c_ft; + __u8 p_ft; + __le16 c_mtu; + __le16 p_mtu; __le16 interval; } __packed; -- 2.31.1.818.g46aad6cb9e-goog