Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp534668ybg; Fri, 12 Jun 2020 08:02:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+HQH6fclUCuECtaRcdbFtSyUbMO9qRrRCQKytW0UIa36kExTo6fH1T27s97v1EyZDX6hu X-Received: by 2002:aa7:c486:: with SMTP id m6mr12516598edq.234.1591974134634; Fri, 12 Jun 2020 08:02:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591974134; cv=none; d=google.com; s=arc-20160816; b=Zegna5wzHlLZgYgNgr/RQqXjr/bjd5BgbR/NYCdM9uQObi/2RqzvZ3MUoSnp14gQZD 10F39mxHOacsiy/f9JDEH573peEyhoc+sETT5oot0SoXuuNRav8W4eEyVjm1P+3KD4pL PaI8Xn28MnD1Yzk3trtWNRHbAhZLfzcFyyfgE8qEgUekcMEaUG+mhW8WCMveUWuDrYem zxvxI6Jb1K6dEl0LJOHGuXGMKl15TMRsL9Pnf91v29NN6BqYHDkVIXMIaTMIbvN9P6sm dfCM3bXignOcTOXqEShpL1L5b8TuHnK2/2E8MPDVXi5GtmmJSdo/TrByuewrhr/S6ZBU jZlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=xHf5KKUoTUO0JgWWRs9KZUpWuw3+9kuvXEde3HxBiRw=; b=GCNo30rptQ7s7m2AW2qQBsQT3h7q1hgOamApuxcYCoEr8lUJy7KhS97DGRSpgv0nxp S29pELNie9+Zt4nxC5gsFXtwUmy/rjP51RXTbJpIYMQi7UUlsk5FMFJwsnV/NaLG7afE Mvw+gXafNTO+Oa+7K45CBuujlUVT4nbLBXHnajI6jdqocrRGA8fG+Sf/jFmXhdhWh74K O7qtwCtv/QtSQKZZVl6K0T/L6/l5q4+qR3LEF7TcJ+xuF9TQbi/2NRKHJpZ1HzTCZlCF MtnY++FWIs0sqDZ9CT7DFw/u53R0WiXLjIDZATATb8FHkIc91C42ULancmKWzV+IjZXt C48Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hndUUFzg; 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=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 l2si4008862edf.333.2020.06.12.08.01.30; Fri, 12 Jun 2020 08:02:14 -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=@google.com header.s=20161025 header.b=hndUUFzg; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726310AbgFLPBW (ORCPT + 99 others); Fri, 12 Jun 2020 11:01:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbgFLPBW (ORCPT ); Fri, 12 Jun 2020 11:01:22 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11A5EC03E96F for ; Fri, 12 Jun 2020 08:01:22 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id z9so11406930ljh.13 for ; Fri, 12 Jun 2020 08:01:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xHf5KKUoTUO0JgWWRs9KZUpWuw3+9kuvXEde3HxBiRw=; b=hndUUFzgq9UIgA+wiNmGWt3udwn7wuKqNUJmVWqVDMSbbqYi7eFyXELadnJJGa38TI QSAXurMgaw6opID8X8av2AJce02nGUVGGdtBxMkF3K8DwqxOuET4In35uAll6Ibo07mz l+PqgEPH+7OmGpdOWtVvvLtKqLSSAk0xQboW67IJKlg9rCNp6WRe7eK8qmiPAkPbw9BR YwkNTJAgDHf3Y9WI8oJCZLxS7/0sDTlgOpwW9gcWEXqz693SEW+1ZWTPgpbKN5h5MVWU adRU/m6Ok2qUw3kGkTdo1UoZtCH+CfXfw1qzKoVq0FzOELKxOQ12TY7d0ZjcJY4ZsWBL Q0Ag== 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=xHf5KKUoTUO0JgWWRs9KZUpWuw3+9kuvXEde3HxBiRw=; b=CEzuZpk5c9EgL4UoFmPJ1sSNa/DXtWZ3PeAuplULCSzsta9NVQ9hb5N4+wclAsActd U0qr4IzBF0xdOyt2stIpOE66ECQPAytWqS+/euqYgmzaRgsxlrsPgjCF8IMb2PKZjvAQ DM8Eq0ZtZMLoXIlZIZB8vQ4pcIRqv0T16dk5ovqqqM/fFG7Lsp1lAuPrwunkuqL4qwUt HBMr/A/56VsgT+oaoLVg3vqAMiGbCxZ/ZY7taXA3lROR8itvmenhgl4kC+4BCK4BD+1P 9AtHNcq3ZwvKcHtZZ/v4HpyVeE3QsuJ2qAWBPJUPgft/QS+AefnxxFuJmKJia4U7Locc Rpsw== X-Gm-Message-State: AOAM531iP+zy2Nr624vWneGAge9apu/57GtfK/e6eqBscHJpbJJX7Drg MwWZo5H2B2//1Ym/jwhcJqCuYes3P4I2gE6kDZPmWA== X-Received: by 2002:a2e:9ad6:: with SMTP id p22mr7170416ljj.3.1591974080169; Fri, 12 Jun 2020 08:01:20 -0700 (PDT) MIME-Version: 1.0 References: <20200611195041.46839-1-alainm@chromium.org> In-Reply-To: From: Alain Michaud Date: Fri, 12 Jun 2020 11:01:08 -0400 Message-ID: Subject: Re: [PATCH v6] sco:Add support for BT_PKT_STATUS CMSG data To: Marcel Holtmann Cc: Alain Michaud , BlueZ Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Thanks Marcel! On Fri, Jun 12, 2020 at 9:12 AM Marcel Holtmann wrote: > > Hi Alain, > > > This change adds support for reporting the BT_PKT_STATUS to the socket > > CMSG data to allow the implementation of a packet loss correction on > > erronous data received on the SCO socket. > > > > The patch was partially developed by Marcel Holtmann and validated by > > Hsin-yu Chao. > > > > Signed-off-by: Alain Michaud > > > > --- > > > > Changes in v6: > > - Fixing sparse errors. > > > > Changes in v5: > > - reducing cmsg_mask to 8 bit > > - clarifying the public symbol usage versus internal CMSG flags. > > > > Changes in v4: > > - Addressing feedback from Marcel > > > > include/net/bluetooth/bluetooth.h | 10 ++++++++++ > > include/net/bluetooth/sco.h | 2 ++ > > net/bluetooth/af_bluetooth.c | 3 +++ > > net/bluetooth/hci_core.c | 1 + > > net/bluetooth/sco.c | 32 +++++++++++++++++++++++++++++++ > > 5 files changed, 48 insertions(+) > > patch has been applied to bluetooth-next tree. > > Regards > > Marcel >