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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A47D1C46467 for ; Tue, 10 Jan 2023 11:19:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235744AbjAJLS0 (ORCPT ); Tue, 10 Jan 2023 06:18:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231149AbjAJLSU (ORCPT ); Tue, 10 Jan 2023 06:18:20 -0500 Received: from mail1.systemli.org (mail1.systemli.org [93.190.126.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3E98186EA for ; Tue, 10 Jan 2023 03:18:18 -0800 (PST) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemli.org; s=default; t=1673349497; bh=C3fLBTMIkJ1r+D80WAu/Bl6JUyrL0QY7t/SpIufZNaQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=4gIXcdmyd15f6XxF6vb8JIoXFfsdq6UrDZ6XQPMf70CEV0l3Gd90+aKRS4noDKLzw mW0pkeAbZIIu5ucucEC4TGb6b4HDu8tIttWDiMSDQSZR6VHV1swMl69Kq2yMQehnVx EjwJrRUGvMZKwLgKPN2xfML7L9Ynadfe+g3zDiN98qory5AxKMmig59BFzk74Yaipw 1gsr15sI1GZRV4j9tWHDUrVHG1RUJ4M1/y8GFG2kQwPnxcV1Vu8Q+7JUZ1y6dl3B3O kWtKEhqU3DT7HsSUllSNpbi9UzE4i9+57VkmtnbSbCYg2XxaDUqQgcUHp93k5vs+JZ 1H+qYdUtNqT/w== Date: Tue, 10 Jan 2023 12:18:14 +0100 MIME-Version: 1.0 Subject: Re: [PATCH] wifi: mac80211: add support for scanning in ap mode To: Johannes Berg , linux-wireless@vger.kernel.org Cc: nbd@nbd.name, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni References: <20230110110524.511258-1-vincent@systemli.org> Content-Language: en-US From: Nick In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Thanks for your feedback. Can you suggest a better way to do this? Bests Nick On 1/10/23 12:07, Johannes Berg wrote: > On Tue, 2023-01-10 at 12:05 +0100, Nick Hainke wrote: >> OpenWRT has shipped a patch since 2011 that allows it to perform a scan >> in AP mode, whether it is supported by the driver or not. In certain >> situations, it may be desirable to scan an interface that is currently >> in AP mode regardless of whether frames are missed. The patch adds a >> module parameter "allow_ap_scan" that, if set to true, allows the behavior >> described above. >> > I must say - not really in favour of throwing around random module > parameters like that :) > > johannes