From patchwork Wed Oct 27 17:03:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Li X-Patchwork-Id: 12587611 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FCFAC433F5 for ; Wed, 27 Oct 2021 17:03:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 01A8F610A0 for ; Wed, 27 Oct 2021 17:03:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238085AbhJ0RFn (ORCPT ); Wed, 27 Oct 2021 13:05:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238031AbhJ0RFm (ORCPT ); Wed, 27 Oct 2021 13:05:42 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD9F4C0613B9 for ; Wed, 27 Oct 2021 10:03:16 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id b188so4521758iof.8 for ; Wed, 27 Oct 2021 10:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=squareup.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=f2sYqrV79rh3369wClGLos5kmskab5d3N7ni1N0ATjU=; b=XjEC9O8fLz9VGTKb0yxMeV4s7XM80XOaOqsB9U2Iatz91WyxBtARrrgkthK3clxIDf RR0hz/dgGKHb/ekP/lWgjDyEOzt11bGrYwxjhKAM4Yr2+yaM/I55SFC79/b2MrujUwC6 QO0lSGI9aS3INQ77fxSb7Ih12pUEce9tk7cVU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=f2sYqrV79rh3369wClGLos5kmskab5d3N7ni1N0ATjU=; b=N/zEE4q2h4GmY+VQ3cU2kVPjbmpKEOClEgSy/dGrIMHJhX4ECr9Vt2Btxj/pq+9J0h QP+uq/fHOndmE+10cGdnDUXqfPQd8kWfq+Z0RsjeH+/5VpGGwMtU6Akc2VZL6eii3IWv Fg4tbptQ31eETmGLEEAgq6yv5DjUaXKjqa09ZHoJ41fNDxclkzUcVPmiJEVE2NAwJg+j QHVdahPGfr2zTuWbDYupacUiO4wbNkXIFX8Ltoywgj2Z5TWXQb6vrfs0ns9v0nvG8nvc Hv/2pKrVzoJfeYw9snl/fLh6MYas0SlJkNPy+GO74oANqu5e/mAfn/Xs+m5nz5GB+4iw sqcQ== X-Gm-Message-State: AOAM5305P0OS4GJlLapeEq8B/T/X0U81wi2MVzBgJvmPsLnMUDGFHnk4 lK4FF8uIwCe7hGkRjNzPnBDffw== X-Google-Smtp-Source: ABdhPJywloO7Ma/yoOAJEIwPDRo+lNYk7Cdl7sFOroT3fZ8Qi9wcAHBUj2og2Sx2gGzDxYH58oHO7g== X-Received: by 2002:a02:cbb1:: with SMTP id v17mr17337139jap.51.1635354195460; Wed, 27 Oct 2021 10:03:15 -0700 (PDT) Received: from localhost ([2600:6c50:4d00:cd01::382]) by smtp.gmail.com with ESMTPSA id n25sm230377ioz.51.2021.10.27.10.03.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Oct 2021 10:03:14 -0700 (PDT) From: Benjamin Li To: Kalle Valo Cc: Joseph Gates , Bryan O'Donoghue , Loic Poulain , linux-arm-msm@vger.kernel.org, Benjamin Li , "David S. Miller" , Jakub Kicinski , "John W. Linville" , Eugene Krasnikov , wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] wcn36xx: software scanning improvements Date: Wed, 27 Oct 2021 10:03:02 -0700 Message-Id: <20211027170306.555535-1-benl@squareup.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org v2: Fix compiler warning (int flags -> unsigned long flags in patch 2). v1: Less important now, given Loic's breakthrough with FW scan offload on 5GHz channels, but downstream does do software scanning so these fixes for that path may still be valuable to someone. Benjamin Li (3): wcn36xx: add debug prints for sw_scan start/complete wcn36xx: implement flush op to speed up connected scan wcn36xx: ensure pairing of init_scan/finish_scan and start_scan/end_scan drivers/net/wireless/ath/wcn36xx/dxe.c | 47 +++++++++++++++++++++ drivers/net/wireless/ath/wcn36xx/dxe.h | 1 + drivers/net/wireless/ath/wcn36xx/main.c | 49 ++++++++++++++++++---- drivers/net/wireless/ath/wcn36xx/smd.c | 4 ++ drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 1 + 5 files changed, 95 insertions(+), 7 deletions(-)