Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp459542ybg; Fri, 12 Jun 2020 06:12:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5yLVeDak9pmfq+fNSOvVvkG8LeNQ0+1ohq3ae1Lulsz2yNd+7Ra5gDxHlbvCCwjNn38Sw X-Received: by 2002:a05:6402:6c6:: with SMTP id n6mr11164838edy.277.1591967569685; Fri, 12 Jun 2020 06:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591967569; cv=none; d=google.com; s=arc-20160816; b=rpEfWe/FIjsK61FwDsWpke06tYRwZgqlHIVmM09/JGMMAPBYnZJjylLdYhjUICL5/O E3XBuGGhfEgYIrDO7/GvSuyabhHZuZamNnkNX3xm3uXaZLfI0ePj/al4VkHc65ZgwtSI OMe1Ap6koLelU/DVPpJeUFLXPlX8mEosfx0AcLQouxso5qpk23UxrlXE5TRdWCSigsDm YkZIA5Sz17CSvGn3rR3rP+/XydH+82tMp0DuWU59icVN63hXgP2y6Hd34DPWxsq9UCvt oBGL+Mt/NWI0nlkU8mzU94Gc12+onFTJ1bMotgB7JPIrTSbs3C0sRlZ/Aox0xqlYfWgX KlXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=vlxQl+0X5Uvmw1kCkmPBV4GHfzayI4UxzxMZNj5IHCk=; b=ZBW2/jF9rtw1DjVQQWATBURPlo8gY09papcUtVPhIb58anQv1K+XbYn0+gutRZUBQG YmYao135qE6J2fgqmRFkP5H1W2Bu2PG0Go9UNtATVzJC9ZGvBL6EeAYxTQHaRPpXfcmE o+T8HeHzjErnkCGhfBnXUgZ6k6Jc9TItdWSg3Wq+kfip/QKMAg+T9laO2NTqtiOKQYWu QfJ+093/783nklsZ+xDbuplnzysFWGqVQNZD+xD2reXo/gFxF/E/TFBc5bJW+V2bOx5c u8ebY6o9usTz+p4IP2n8pYkzj5J87Wd+z/nV2vvLkqk129+5Ngo8hLr7yvCfmuEZKPUe D5lQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g12si3831157ejx.161.2020.06.12.06.12.08; Fri, 12 Jun 2020 06:12:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726109AbgFLNMF (ORCPT + 99 others); Fri, 12 Jun 2020 09:12:05 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:56488 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726053AbgFLNMF (ORCPT ); Fri, 12 Jun 2020 09:12:05 -0400 Received: from marcel-macbook.fritz.box (ip-109-41-64-170.web.vodafone.de [109.41.64.170]) by mail.holtmann.org (Postfix) with ESMTPSA id 03240CED03; Fri, 12 Jun 2020 15:21:53 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH v6] sco:Add support for BT_PKT_STATUS CMSG data From: Marcel Holtmann In-Reply-To: <20200611195041.46839-1-alainm@chromium.org> Date: Fri, 12 Jun 2020 15:12:01 +0200 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: References: <20200611195041.46839-1-alainm@chromium.org> To: Alain Michaud X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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