Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp276283pxv; Wed, 21 Jul 2021 23:00:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuZF/ip1j9VslDbo8VdLOcYMS+xZSLqRArOb88nJBEozvv8jL+Rih1Rx/oKqI7PeFPngyJ X-Received: by 2002:a92:dac6:: with SMTP id o6mr20725474ilq.31.1626933659584; Wed, 21 Jul 2021 23:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626933659; cv=none; d=google.com; s=arc-20160816; b=Olb2UoHPBQThowk5qQlbhOYqGJ1xZv87t1MTEAJFQ+9OMaKI83HJEc/FyaObswNEmQ KwLqNQ8SXRiyg443MRZHcj2j3jwPC19obQGcEAAlnJP9lwQ8LY/3D0l04VSorPEM5HS0 VEQ6UKl6JBiiFHajw2iG2KRO4Mb9Plo0ovNulaDoEqLHG+k5N6rxtC0LbRtFcpSrAERa HBdEJo/ohL7+J+d6U54Rywo7UZojgn/2MbLtFsONfF9BPcfZe5bHeukJubMyZH5bUPi9 pHDjeEpIi5loK4fad6KkEXQV6JgT/Eh/ejARyVTdQi9iyNSHgWT7zqPioXYtyA8HDuUh ulDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=YWWW3sFxlEYPqnWHJ4NPzTzuKq32Xo6uaUJ17t+OrQo=; b=EwGvayKCdfu41reGEM1MgnfJ67Qv10q1WCjAH0uR5SJK9XlrqTpbiHJDR30zbXN/2H 0QbJKhTA4S82umyhRNw07Rxslxoy1gWnCn1TLcb8zfU9gnkmjKRRwS3tKn9qcczz41z3 sTOMdmaexAgI1k8zR2TOjo88UbnapZdshQaRHMT9cGnsQPGIW2uYc1nh0hmk7IZd/rK/ LpJPHzy+GcRiFrTk21jzVlXjziNDwoBpGb6SMNU6ca7OhgP2EET2IPAuaOGu3PvGiJ9h heRjDcpK2pyoPz1Yi53bZepToIKha0Ik/CgveZpEevJCu3VfAoMC2d4tSTdVFF3NsxLW 9Dhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=cGqfPiDW; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si26974037ild.123.2021.07.21.23.00.33; Wed, 21 Jul 2021 23:00:59 -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=@samsung.com header.s=mail20170921 header.b=cGqfPiDW; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbhGVFTP (ORCPT + 99 others); Thu, 22 Jul 2021 01:19:15 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:17872 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230048AbhGVFTO (ORCPT ); Thu, 22 Jul 2021 01:19:14 -0400 Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20210722055949epoutp0229de27f031a38346151c67da00b43d5e~UB3rJB9JD1351313513epoutp02P for ; Thu, 22 Jul 2021 05:59:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20210722055949epoutp0229de27f031a38346151c67da00b43d5e~UB3rJB9JD1351313513epoutp02P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1626933589; bh=YWWW3sFxlEYPqnWHJ4NPzTzuKq32Xo6uaUJ17t+OrQo=; h=From:To:Cc:Subject:Date:References:From; b=cGqfPiDWOWGHYR2zSB3JrrPFma6j+SmDY1OxA5xYGG9r3JjRyvBQcup9nl1CA3qCA t4YKmpdLoetCUNXZ1tOao/XlEf3AOFPFncjroKHCIgeBqODrpTDRdMu+uTllhPPByH 9+VkdHpRFWuk4/QT2zxiH798oUmkp8yodz4s1a68= Received: from epsmges5p1new.samsung.com (unknown [182.195.42.73]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20210722055948epcas5p45036c8bced718ccc560b0f7a1682a5e6~UB3q0szIY2203722037epcas5p4Q; Thu, 22 Jul 2021 05:59:48 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 60.92.55882.45909F06; Thu, 22 Jul 2021 14:59:48 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20210722053858epcas5p2ecff386b264d4d8578a0ee454f898880~UBleTpePT0528705287epcas5p2f; Thu, 22 Jul 2021 05:38:58 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20210722053858epsmtrp2150fd77aebb1ad08a09a3220016de41c~UBlePR5aG0680906809epsmtrp2o; Thu, 22 Jul 2021 05:38:58 +0000 (GMT) X-AuditID: b6c32a49-f65ff7000001da4a-9b-60f909546d51 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 6B.1A.08289.27409F06; Thu, 22 Jul 2021 14:38:58 +0900 (KST) Received: from ayush.garg-20-10-15 (unknown [107.109.98.149]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210722053857epsmtip2a77a516c513e769d0aafe318283b259a~UBldVNew11391413914epsmtip29; Thu, 22 Jul 2021 05:38:57 +0000 (GMT) From: Ayush Garg To: linux-bluetooth@vger.kernel.org Cc: anupam.r@samsung.com, nitin.j@samsung.com Subject: [PATCH 0/4] Bluetooth: Support for LE Set Preferred PHY Date: Thu, 22 Jul 2021 11:08:39 +0530 Message-Id: <20210722053843.6691-1-ayush.garg@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsWy7bCmum4I588Eg609ahZ3VltbzLnWx2yx bV07swOzR9+WVYwenzfJBTBFcdmkpOZklqUW6dslcGW86O9mLrjOXnFhykHmBsZmti5GDg4J AROJX9/1uxi5OIQEdjNKLFp2ih3C+cQosf9pOwuE85lR4u7OrUxdjJxgHZe3bmCGSOxilFi8 4jZCy6WeJcwgVWwCmhKvP34B6xARUJZ4tu8wmM0soCtx5v06NhBbWMBBYsqz9WBxFgFVicVP NoP18gpYSRzuW8kMsU1eYvWGA2DbJAR+s0k8XrucFSLhIrF76i12CFtY4tXxLVC2lMTnd3vZ IBqaGSV2bN7IDuH0MEo8+NHNBlFlL3Gu6RkrKAiYgU5dv0sfIiwrMfXUOqhL+SR6fz+B+plX Ysc8GFtFYsOqTrhlH48tZIaEpIfE3WU6IGEhgViJGyfesE5glJ2FsGABI+MqRsnUguLc9NRi 0wLDvNRyveLE3OLSvHS95PzcTYzgmNXy3MF498EHvUOMTByMhxglOJiVRHhVir4mCPGmJFZW pRblxxeV5qQWH2KU5mBREudljwdKCaQnlqRmp6YWpBbBZJk4OKUamHr+1syN1zF6eF5xuuk0 3ptnkz2Cl2mlr2VdflTWTMTsR8mEprDAF1Ons+ct4XLLUfH+nD5jXu9WY02fvysiNKSufeLc 51gYIsRyYJrDc9e0P4Zzb5u9Wc3gf3XRdhvxmpYb1i2rbrYfENjV7HtHlP/8eaWM1jd3uD7E feNj35Uz93FTV8Xn74KGZ9nffDVSPWoq8U1p1/9PURwRyacv/v5cc+XZidoL8Y8WTp2cunDJ M5Z8r0lie11vPq19t+m+X4CwqM7bSf84D9//LbJu7V/1zOOnU96wFKtELw34Vp2qO2Xxq90z 0pYb1PvqnDh+eYk3B9PPPlW9qP97r+7N2zt74bPpD33USrNitA8sEXRVYinOSDTUYi4qTgQA RTeOJEgDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFJMWRmVeSWpSXmKPExsWy7bCSvG4Ry88EgxeNQhZ3VltbzLnWx2yx bV07swOzR9+WVYwenzfJBTBFcdmkpOZklqUW6dslcGW86O9mLrjOXnFhykHmBsZmti5GTg4J AROJy1s3MHcxcnEICexglNjf+Yi1i5EDKCEl8XiZDkSNsMTKf8/ZIWo+MEosW9rOCJJgE9CU eP3xCxOILSKgLPFs32Ewm1lAX+LphetgNcICDhJTnq0Hi7MIqEosfrKZGcTmFbCSONy3khli gbzE6g0HmCcw8ixgZFjFKJlaUJybnltsWGCUl1quV5yYW1yal66XnJ+7iRHsfS2tHYx7Vn3Q O8TIxMF4iFGCg1lJhFel6GuCEG9KYmVValF+fFFpTmrxIUZpDhYlcd4LXSfjhQTSE0tSs1NT C1KLYLJMHJxSDUzrruddvXn1mNLVm0e8uI38RSSVdh3bqu1845vrwXw1S+/P31iutyS37zP3 +Wvf7K2yabH+ISnLdoF6Je+0WVOqFoi65y9xbzYzndum2M4fnKf39UalsaDm1yUn32w8f+vw j4C5k/1Yp01LTfm3izUtXKT/0CqWGGYLq0cbteyZfrItKrYTaOt4XGlhk3v08G/ebmuhi2+O vlwxgaU9//199TBNkVzf8yaTZDlTt90RTrhjfV/tbNmEqSVa56av+TTfRdLxccyhy0yL8vWe KIXy629jPL1hWfo50R2vvp7ptooKvm3944yVFOPN+Qs4xcIdNnz/2cSw2VPgm3uy41kHVRU7 7g1f3/WnpAilOiixFGckGmoxFxUnAgCc1XC/bQIAAA== X-CMS-MailID: 20210722053858epcas5p2ecff386b264d4d8578a0ee454f898880 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P X-CMS-RootMailID: 20210722053858epcas5p2ecff386b264d4d8578a0ee454f898880 References: Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello Maintainers, This patch set fixes some minor bugs and adds support for BT 5.0 PHY based HCI command "HCI_OP_LE_SET_PHY" to request controller to change connection specific PHY settings (2M PHY, coded PHY etc.). Ayush Garg (4): Bluetooth: Fix incorrect parsing of LE_PHY params Bluetooth: Implement BT_PHY setsocket option Bluetooth: Add support for sending LE PHY Update event over mgmt Bluetooth: Update LE TX & RX PHYs when connection established include/net/bluetooth/bluetooth.h | 7 +++ include/net/bluetooth/hci.h | 28 +++++++++++ include/net/bluetooth/hci_core.h | 2 + include/net/bluetooth/mgmt.h | 7 +++ net/bluetooth/hci_conn.c | 77 ++++++++++++++++++++++++++----- net/bluetooth/hci_event.c | 62 +++++++++++++++++++++++-- net/bluetooth/l2cap_sock.c | 21 ++++++++- net/bluetooth/mgmt.c | 34 ++++++++++++++ 8 files changed, 220 insertions(+), 18 deletions(-) -- 2.17.1