Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3092459pxa; Tue, 18 Aug 2020 06:30:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4bdldO1nYn/2yvhLPO3ua3VkGydJbCfFOcNUd1nl5zL/xJLHwgOPPTygR+j/HNJXbAmWN X-Received: by 2002:a17:906:e2c5:: with SMTP id gr5mr21185744ejb.89.1597757407331; Tue, 18 Aug 2020 06:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597757407; cv=none; d=google.com; s=arc-20160816; b=ikH2MQcxwSNIc7i3HeP3eb8p0iVp3NloMiprmSBsL3gnBMTgj3wsKzxcZgkVMwnQxr tk7g+j70nBa4QoD3PXPA1BuQW4tNTN+bBR8WXTAWtJZotd1WnQRpLuBkgDGIJ2UsQ6af D7omrUs9KkkJ3nsTT/eBJt1bCAwA8PvGakohVBmlueHpO5AxGG2lF/xqTOWkgJZIRVXT p1ZvnPxWsJxFyrj805W1qc65/sH79I50F3mZGq5TRRRIXIR2LUaZu42aVDTKueoLxKVf 14R248L0kd32ciujUyUq6yot+tmTo1sIQIPPcN14AJMhCRlZorBmNEdvIZscVcK2mBSm UyaQ== 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=J/8JqP5xraEKSHHZGoDj+vjF99sYDGHUefoYyYGCBL8=; b=kpN8DtL0llZEaYNG+tIMTKRmgUdI8LSteqfG1VTalVmy9L98fFaPAaVGW9hPI9hDX5 zS/1QVpb3UhZeAo9SNATryjxETongoIquccgitCcT//v4V0DKvIDJaw6nCton7Afqq7f hyiKX+Xw4psa5LVY01Z/x9A1CEMSQDez0OLuiqNiPoF3wKEx9tTs/R5u3TVMhoBgasGv 0dvYiFSe0p2kKmA2JiGJqNGOKYBMnqms1TDxPvH39YWVC2IP2LYXEAcFLAT1ASTkTDFU sdML5KKTosYo9/dMQ+e2a4cZFCWhCOjiphPH3l+ELIx9mLwm0sPZ36WZ1EXtYzUleTum PD7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="TgKHac/h"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc16si12729599edb.369.2020.08.18.06.29.28; Tue, 18 Aug 2020 06:30:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@linaro.org header.s=google header.b="TgKHac/h"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726476AbgHRN3S (ORCPT + 99 others); Tue, 18 Aug 2020 09:29:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726398AbgHRN3P (ORCPT ); Tue, 18 Aug 2020 09:29:15 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58433C061389 for ; Tue, 18 Aug 2020 06:29:15 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id i6so15240328edy.5 for ; Tue, 18 Aug 2020 06:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J/8JqP5xraEKSHHZGoDj+vjF99sYDGHUefoYyYGCBL8=; b=TgKHac/hasJ9rRL7NVm7GUOX0yWpzbcbqg+Q2tIbgFUUyT3rmF/ArPwTBEiG/ILvXE 9Q7yt0xNjb1NEyl9sod+8MXgeD3AXd9WR9Jo566zf2KROBWqR+cTR8o7wgjOxJa0gZwD Pyow0bdED4Lq9YHy6fPRjl/mzrdbfazZV/6BonwZYBhfMMI++QufUWgbg58RdqVqTYHA NyXAIfemW6nht6l1cuza8r1Jbk0gL/IFIK6AEpLK6FfNnQYPleHuf8kArdqijEg+HrdQ vFvBR2o7yF9q0EbmqeTmDO71hIh9JgI2O8ESOsMcvLxdEJVo1ZfGO3Dd/rZVFs3ErJ2Y ENYw== 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=J/8JqP5xraEKSHHZGoDj+vjF99sYDGHUefoYyYGCBL8=; b=I2hqAdF/O70PdbV+6lT/rqAFWfrhzwuLWRl77oniJuzxulJu2z4pqXyqRyfwryEO5d DmTzG1Z3sxkblGYsNY2rRwS7rqtzjhu1X9ZyojV1FotooYzxEDIYfnhEvXinV1lbfetO +WbeFT8I0EuCeVt8v7aBXlXYn2tdrwPij4BJ0al+MwX3P1IGv0RrGl+DzWTrDI5S3/TX flVs4i0Jin7ZOasSX6zMFflXkStoTVMPTWF+5grp8+rz7fgam6GsAJZki8Hn7W8z9VH/ 3jF4hDO+IZ0rcwH8t1QS7jjmL+g7fBUxOUTDPZaVGi/kgIzmyFH3lvcdwgXL7HOCOWEY LtzA== X-Gm-Message-State: AOAM532f2PVeSEwnQRBT1Zqb2PccsKBM6uIdeOi0Dh9w4Pu9sUYulvmP vbwa11SFFVINLAeVVBnlS9wZiXXOfdDzQG/tH5uniEhL8Ug= X-Received: by 2002:aa7:d983:: with SMTP id u3mr20556861eds.366.1597757353833; Tue, 18 Aug 2020 06:29:13 -0700 (PDT) MIME-Version: 1.0 References: <1597680075-18723-1-git-send-email-loic.poulain@linaro.org> <87pn7ojx8g.fsf@codeaurora.org> In-Reply-To: <87pn7ojx8g.fsf@codeaurora.org> From: Loic Poulain Date: Tue, 18 Aug 2020 15:34:16 +0200 Message-ID: Subject: Re: [PATCH] wcn36xx: Fix software-driven scan To: Kalle Valo Cc: "Bryan O'Donoghue" , wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 18 Aug 2020 at 08:15, Kalle Valo wrote: > > Loic Poulain writes: > > > For software-driven scan, rely on mac80211 software scan instead > > of internal driver implementation. The internal implementation > > cause connection trouble since it keep the antenna busy during > > the entire scan duration, moreover it's only a passive scanning > > (no probe request). Therefore, let mac80211 manages sw scan. > > > > Note: we fallback to software scan if firmware does not report > > scan offload support or if we need to scan the 5Ghz band (currently > > not supported by the offload scan...). > > > > Signed-off-by: Loic Poulain > > Signed-off-by: Bryan O'Donoghue > > What changed since v2? Please always include a changelog so that I don't > need to guess what you have changed in the patch. No need to resend, a > reply is enough. Yes sorry, this patch has been rebased on ath master and squashed with Bryan's fix: wcn36xx: Set sw-scan chan to 0 when not associated No additional changes have been made on top of the initial patches. Regards, Loic