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: 12587631 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 BE503C433EF 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 A70B360F6F for ; Wed, 27 Oct 2021 17:03:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238138AbhJ0RFn (ORCPT ); Wed, 27 Oct 2021 13:05:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233416AbhJ0RFm (ORCPT ); Wed, 27 Oct 2021 13:05:42 -0400 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0AF7C061570 for ; Wed, 27 Oct 2021 10:03:16 -0700 (PDT) Received: by mail-io1-xd34.google.com with SMTP id v65so4559874ioe.5 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=ebWKL0gIVONDQWGvNy7YaFMy42pSvEG5ZBLdUi4FnJY2fozD040Q02+peXpNr1A0qJ kOmgO5HSa7UeYLBwJNRvNhqIncrPf/EFN9Dh82KTorqZ++9pg9qV+uvNSpDm+sMmm2v+ 9bplzxQUlCV8a0RKdzBpvB1XwZ/nAOpxg51Bm7KtjtvhgJLdmipnRoshdDdqG+kt95NJ nKAi2QJS7oOPvdYTzxHZwk1Fd3C8MAxDBPYBTro0NSadALYRP/kj3mss161OUc/k6O4F BLvxRDkN1utvM62u44ZoccSwvDxiijkswUhzVEifHhEjSZ1YpzBS69qJ94D/W0ghB3nz CdMA== X-Gm-Message-State: AOAM531sw8SB8dhTxwWTvunJ0L+q/BgWuvGaYa7cirpf+1e67h3TiMup DvI/F4jVGo9zOEjaPLiNUgExzg== 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-wireless@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(-)