From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96103C433ED for ; Thu, 6 May 2021 21:12:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6746361289 for ; Thu, 6 May 2021 21:12:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbhEFVNJ (ORCPT ); Thu, 6 May 2021 17:13:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbhEFVNI (ORCPT ); Thu, 6 May 2021 17:13:08 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3114C061763 for ; Thu, 6 May 2021 14:12:08 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id f24so10366010ejc.6 for ; Thu, 06 May 2021 14:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4Bo72AhzB7+YSm7P0FOaU4jBEaqpN8AUfQcj2KwnpSs=; b=EmQm6WP8xnBarAmW0tbVcq2guRKhMynQBssqW77oYTTdGxewJWfZVDB7LniaaCTfDn 3bFKOxj88KY6VTLGpdEY2lh/ra0Vn1rJemjOg7n3rVimIDr61OB/Z2pY+HRawUccNXgg fiASLFCrI9IPpv07Oi4CW8zxL91BVT+bcVcPaQoEWcB7Wi1fk1cj3JklcQOQBcgj4JTL 24t3DafoFc7WEltRLDt/ou3CNVV4DoH+mi3LzP7upvhVpdz+YIFEUOu1b7nA27X9Zi5J 6Svj+cRemnJEIyuoBreK8bch+ytTxgYqxfEg1BzU7fJGeBdMDLy57hL37qwjTAFrgTMa wuGA== 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=4Bo72AhzB7+YSm7P0FOaU4jBEaqpN8AUfQcj2KwnpSs=; b=f7Q3GeKQtcnuGkRBYvZL3B3E89E7HPTIGPwxDGk7CnqiOusvnTXQ5/wreq/AJu5gGb /5FHOF27Dk1QttXUxdoE57POQ75SlBcA7o8wkvhLoDXj/uh+Z1yXqPlfeWBtRPgj3BDM n4/gcGCMdbS7pEe8OU3Sy9cSyQZzbJPJwJ42Mk8ni3/pGuh50kUPh5KgGWUi6H+txQNU uFTvNS/hJu4ftgi5pcwF5ZUxiLg1zDZ5uHqmhfROmu6pgVGtkjX+NCy3k+aHu8IKfqRb Rq8JrICZCk+0aZx4CplAaKJAriYCMwgaGaeDpSecAUXOTi1j3w/Ncd6dxSG9nh+Ru4DM l6jw== X-Gm-Message-State: AOAM533xTEpft/jTaVvgZZ46fZatVw/y2QrqpveInaDGb9zj72CPmhDL E8hkCv6rO3sFnNNBCI8LLxcNeL91LmMyVNK06F1wsQ== X-Google-Smtp-Source: ABdhPJyRbsDtuDRJDSnnFr/ZTy4qRioqxLMO9sbJSoNwal2Fa23tpqV1RXhjMDeUEmMOfv1ttwnH7JanY0o40ElFWAU= X-Received: by 2002:a17:906:e206:: with SMTP id gf6mr6430277ejb.434.1620335527095; Thu, 06 May 2021 14:12:07 -0700 (PDT) MIME-Version: 1.0 References: <20210506180530.3418576-1-wdu@google.com> In-Reply-To: From: Weilun Du Date: Thu, 6 May 2021 14:11:55 -0700 Message-ID: Subject: Re: [PATCH v1] mac80211_hwsim: add concurrent channels scanning support over virtio To: Johannes Berg Cc: Kalle Valo , "David S. Miller" , Jakub Kicinski , kernel-team@android.com, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Thu, May 6, 2021 at 11:19 AM Johannes Berg wrote: > > On Thu, 2021-05-06 at 11:05 -0700, Weilun Du wrote: > > This fixed the crash when setting channels to 2 or more when > > communicating over virtio. > > Interesting, I thought I was probably the only user of virtio? :) > > johannes > Hi Johannes, Actually, Android Emulator uses mac80211_hwsim for wifi simulation over virtio and it's working. This patch fixed the crash when we set channels=2 to speed up scanning. I am trying to see if it makes sense to upstream this patch since it's not Android-specific. Thanks!