Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp650673rdh; Thu, 23 Nov 2023 14:32:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGUq8hfIfmBszR8IetyAKbKpqYERlsVxeNSUmplr3vpNzRLNnssqywJZEToURBON45mB4G X-Received: by 2002:a05:620a:8791:b0:77b:c8ab:af94 with SMTP id py17-20020a05620a879100b0077bc8abaf94mr653551qkn.67.1700778762069; Thu, 23 Nov 2023 14:32:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700778762; cv=none; d=google.com; s=arc-20160816; b=cs569WTphs9fcAH3TyYXcC4+YCzidtjSHpHt4xvk1T4Xhdg5I8VHWUkeeYJ9MxFhuz uX1c7doEVuMlOT71xnM+TBbDHmQC4F3jTD/bO+XrcWBYz7JaZtsn4sst+Iksg56X8rxa F/qWvobGO/d1FqiTHv+HryGPV3F7y64mk0NjQ1zjjul6hEScRNrxCn96bvRSThi6MEbD FvOXj8V3ZXeDgHFQShMDZb63FLb87GCa/mNIJNrfQSMC87GPFeYrPukiZY1I+cXbYhac 98Tko7yl6xUglkQ9BB/sOJ7etntICaBrcJGmzR/Es4bW7Vma9FomxkbfueuEO65iA8jI v1qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:dkim-signature; bh=i+dvryFmERWiasl+husG8hANXmNn8EXY0WUwLDrFb94=; fh=qW0phhq3fb3oiohK/Mu9j1KY1zyRNiiioKFc5anvatM=; b=hljGuW5gMnMZIUIHVNmwlJP5u7a3EcjvYIrPe6S4lHfPR3Q+I9Bb0mkg3nnJAi9AtT eMI4S+JStmPPJOT+kGCSa+L/uUmZ/QGxjRARWjxSxxG0bEPFPqR9hUQsbI40NNBRb53y s0AkXVmqQ5wqnZwbpRapu9MTGAdllv71ekAk3Nn7u71eg+IB8YOHf9L0htUM8ipVSRhW XUALsS4WM4Br2nBHZ1KQhYkJq3npXFzrdDEOVO+dkqhnDNJgbgH6Hts+shHWI0of8IcL 4GsW+q/pJtqfk7Fb6l92OF/Y6Iwl2ZbyR4l2gftTK7vCrt25U3rtz5RKNTSsCPK0pg10 PeCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=KbOnmNii; spf=pass (google.com: domain of linux-wireless+bounces-21-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-21-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bs14-20020a05620a470e00b00774184acfeesi1988022qkb.297.2023.11.23.14.32.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 14:32:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-21-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=KbOnmNii; spf=pass (google.com: domain of linux-wireless+bounces-21-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-21-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 83E4E1C20998 for ; Thu, 23 Nov 2023 22:32:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 533723E48B; Thu, 23 Nov 2023 22:32:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="KbOnmNii" X-Original-To: linux-wireless@vger.kernel.org Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:242:246e::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A7C910D0 for ; Thu, 23 Nov 2023 14:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=i+dvryFmERWiasl+husG8hANXmNn8EXY0WUwLDrFb94=; t=1700778751; x=1701988351; b=KbOnmNiiCYePY/saLznv4W6WQ8yPjcltTWzbKeimdsmuhAW LRRkSAZEWOBjHP4l2XTvSsmG3YH/Ps7prHnxnpBxrK9JJpptH0SKbXxU7dsC44KcN4z5VVDFEBcoX U/FnZ1lnidcmGH3kR5589MmfjZnmecOqvBD8Zt8kXt9DVP02tO2/Cw2JhWSE4+RCH2zqGYAv9xeHB wqvOHsku4/2aAGEPRgFI5Bg9ngMfnbVAwlrLr9+dtVOC0DrbK041mBViZ1q0oW6SjfYyAgIujeUv3 FS7b01aAKU43p+zao6rQoCe2AUPONIeI7yZPhBNkvLdjSyNEreF7wCBNjCG5fqug==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1r6IFJ-00000001YOQ-1ZZc for linux-wireless@vger.kernel.org; Thu, 23 Nov 2023 23:32:29 +0100 Message-ID: Subject: Re: [RFC PATCH v2 09/13] wifi: mac80211: simplify non-chanctx drivers From: Johannes Berg To: linux-wireless@vger.kernel.org Date: Thu, 23 Nov 2023 23:32:28 +0100 In-Reply-To: <20231123231436.ce4c2648b190.I60d093b2fc81ca1853925a4d0ac3a2337d5baa5b@changeid> References: <20231123221436.143254-14-johannes@sipsolutions.net> <20231123231436.ce4c2648b190.I60d093b2fc81ca1853925a4d0ac3a2337d5baa5b@changeid> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Thu, 2023-11-23 at 23:14 +0100, Johannes Berg wrote: > From: Johannes Berg >=20 > There are still surprisingly many non-chanctx drivers, but in > mac80211 that code is a bit awkward. Simplify this by having > those drivers assign 'emulated' ops, so that the mac80211 code > can be more unified between non-chanctx/chanctx drivers. This > cuts the number of places caring about it by about 15, which > are scattered across - now they're fewer and no longer in the > channel context handling. >=20 > Signed-off-by: Johannes Berg > --- > v2: > - handle drivers that NULL out their chanctx ops (thanks PK!) > v3: > - force reconfig in scan, at least hwsim depends on that to > collect survey data >=20 Sorry, I never posted a v2 before, so both of those changes should've been under v2. johannes