Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp172633ybk; Tue, 12 May 2020 19:10:30 -0700 (PDT) X-Google-Smtp-Source: APiQypKJovysqtL/1ukNzy2IFbhvpTe6xe2KKNM8xHDlj4tO+5RJpAMbcf/SsDPXJZVoLJz0ZmkV X-Received: by 2002:a17:906:74f:: with SMTP id z15mr11726288ejb.89.1589335830224; Tue, 12 May 2020 19:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589335830; cv=none; d=google.com; s=arc-20160816; b=SzMRerjOZFPkaci5aaExL++tMNAiyygJmaqp/zLPTLXWB1kH7L/zk8BlA9Te8jM6ty zq7/fIHEWitHAS84zM1spwgRIABDszvmhVa5YCEzu7ocD9RUasq+LprUePQb5nC30Y23 BDflc7mWkfc0Ff2OXY9e5eTHYYpApJjp/Hg8Egu+Kpsd5OqOdCQtQMeY6D/7yX1OHDKS 0zA5ruKlxX4RglBut82QH/iGID6OyvUduxwNOaXqnaaXmnHGIbR1cbfhXeRyyJgXzLaj 1clTXcJCcEGy8qxJCWHBSoDYaPkOl2TPkkGgkd7a+IBP+V8LkAT7JdEv7cA1AAcl8sRu hUPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=30k3g7kfn7bIzbjqMwYYoV+lbQ2qdyHsMEbPQh3FmRs=; b=l2SfFO/LaadxpYbfv3Ng2Af51YLrPwuxRoCJmEw696C6VVTL0WmcHu8KCyFqebd6jB Tow7CLcwN/MF/MjriW1R36vIAT0egwjvP6YVyFSTFy+/Gn633n/ZQGYOZiSuUUw8wJA3 bDZgu0Engm1mzHikpyfWXHssrJqiXmnvG6KkVziPreZd3ZFjB6hD2NlVC6H5RCoTgPc5 ilPxbMuKIbBEosFi5qaDOTIxxlMJnfmukjomO3HgtumrXQrVnAttTUAiSwlf164v3SEu lFu08Oxi4ubZ4Aexd/oRJy/SvI0HBt4AV1LLCcLIabGemaF69Fv0cLOLfdySa+6ghJWK jsBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VEnpDexE; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h5si9490967edn.236.2020.05.12.19.09.44; Tue, 12 May 2020 19:10: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=@chromium.org header.s=google header.b=VEnpDexE; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728130AbgEMCJm (ORCPT + 99 others); Tue, 12 May 2020 22:09:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727792AbgEMCJl (ORCPT ); Tue, 12 May 2020 22:09:41 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DD31C061A0F for ; Tue, 12 May 2020 19:09:41 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id hi11so10421378pjb.3 for ; Tue, 12 May 2020 19:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=30k3g7kfn7bIzbjqMwYYoV+lbQ2qdyHsMEbPQh3FmRs=; b=VEnpDexEnncojA2+uni+RuhZttreiRApv7RLWNpsKCikVkF04Yah550tFknZwIINV1 6GvJgAjKm6vBp29dmG9cgiQ04WVeBL8YAROTIDsBvkWFoYubQ17yHCXSjqLJIiRgrget MkNmUz/X/UoBbR2e85L/34rpRNnmcIukW9New= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=30k3g7kfn7bIzbjqMwYYoV+lbQ2qdyHsMEbPQh3FmRs=; b=A+vFlUxyGxyZegIjj6jDJSfiKMn2I0+L9OCy4kp2ASSJqwk8QObosVDClqySieXfEp 49dILnJ4LFwd5HmYkUYd40zcuR6oc+f4BqqpcoHlbv1wATKiH8zHP63mGOoyOuPpE9nf ujaaOXprVCT+L3SyQT3Ht5gT2jQxzho8sonVrvnIcR0ixxqsbUx92vLQpfm/JwRp8a0p 424xNbRhPU7vuizftB3DqpYJNT6hSn6mcILaGunnskhqNK4jJcv6QQNMYczTBdTXKJyG 0N89vDDiBNaWuloUSGP35bq7A4vGqYDPQTSpzl6t0Aq0D5Rd1ojJjg4U/4s/vPknhD8X XrXw== X-Gm-Message-State: AOAM530A7nLfG92H7oqwaa//80TIGM53Oh3HCCLG8MCHYI6kacUEUpyE QyKQCb5RGUOCVm2Xi4vcMtTO7Q== X-Received: by 2002:a17:902:b08d:: with SMTP id p13mr4543034plr.241.1589335780671; Tue, 12 May 2020 19:09:40 -0700 (PDT) Received: from apsdesk.mtv.corp.google.com ([2620:15c:202:1:e09a:8d06:a338:aafb]) by smtp.gmail.com with ESMTPSA id x7sm13456749pfj.122.2020.05.12.19.09.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 19:09:39 -0700 (PDT) From: Abhishek Pandit-Subedi To: marcel@holtmann.org, linux-bluetooth@vger.kernel.org Cc: chromeos-bluetooth-upstreaming@chromium.org, Abhishek Pandit-Subedi , "David S. Miller" , Johan Hedberg , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski Subject: [PATCH 0/2] Bluetooth: Update LE scanning parameters for suspend Date: Tue, 12 May 2020 19:09:31 -0700 Message-Id: <20200513020933.102443-1-abhishekpandit@chromium.org> X-Mailer: git-send-email 2.26.2.645.ge9eca65c58-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi linux-bluetooth, This series updates the values used for window and interval when the system suspends. It also fixes a u8 vs u16 bug when setting up passive scanning. The values chosen for window and interval are 11.25ms and 640ms. I have tested these on several Chromebooks with different LE peers (mouse, keyboard, Raspberry Pi running bluez) and all of them are able to wake the system with those parameters. Thanks Abhishek Abhishek Pandit-Subedi (2): Bluetooth: Fix incorrect type for window and interval Bluetooth: Modify LE window and interval for suspend net/bluetooth/hci_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.26.2.645.ge9eca65c58-goog