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 358E2C77B75 for ; Tue, 18 Apr 2023 10:47:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230138AbjDRKr2 (ORCPT ); Tue, 18 Apr 2023 06:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229833AbjDRKr1 (ORCPT ); Tue, 18 Apr 2023 06:47:27 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D80F7E49 for ; Tue, 18 Apr 2023 03:47:25 -0700 (PDT) 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:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=/csC5oligwgCHuhjaAQOiaxu+yPfdLjep1iACpZYgqw=; t=1681814845; x=1683024445; b=onOcpOrlKem2C0nnDCsJ+RU5/umtUGpxTjqjpZfNIgxIjVP I8uDQiEAsf6lSeWNXpYm49i+nFMfQK9rMWiDKlIfQywbyhLqKtfiIKbNd9ZE0LPxRnI5kPN94ODvo gdjrCzeYtA43UXDEujzHtz5JhaivSwuTZ2qpqtnwuYYxjwx5KgAO1uFVrE4JoTBW09Yn/Zbk9b67N /kPWl24jjmi49lfYI9lpboabYT+xRl0rZbt+YBFrtWgOwyNsG08km65O5obNS7Old4f9KpmapI1Xp 3S0KHafCt0CEkXIEX5DGMSsO32Re6kVAmKEJEaj3cfgB5ui1TVBPCkJvPVGs0REA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1poirr-001ae2-1q; Tue, 18 Apr 2023 12:47:23 +0200 Message-ID: <2f06c800c45e9fa1291b83f4b54bc82aca7a5d67.camel@sipsolutions.net> Subject: Re: [PATCH 10/27] wifi: mac80211: isolate driver from inactive links From: Johannes Berg To: Wen Gong , linux-wireless@vger.kernel.org Cc: ath11k@lists.infradead.org Date: Tue, 18 Apr 2023 12:47:22 +0200 In-Reply-To: <5bd1776e-0691-d0a8-d198-e5b4ee676494@quicinc.com> References: <20220902141259.377789-1-johannes@sipsolutions.net> <868131d13ed7c4c8b5d4938adcd71cf1ff8e9677.camel@sipsolutions.net> <5765e3c5-46d4-e92b-a93b-4a2649acff2a@quicinc.com> <37958ca93039114b98909d730ff57dd1d10bb68d.camel@sipsolutions.net> <91577d586475d290e08dee9e535cb6b4896e06d4.camel@sipsolutions.net> <61268d31f8a6dd4eea10fcb6048d39244bc584e2.camel@sipsolutions.net> <870ce439-85b1-f02c-70e5-2d424fd73372@quicinc.com> <34ed0938b69ead648da1aa250a2e081054fb49d4.camel@sipsolutions.net> <34212873-0b71-7f39-b064-6b50d8e514b4@quicinc.com> <09b156b1ef05377ca7fa0db35e8e13beb5c60e2c.camel@sipsolutions.net> <13980456-11a6-384c-7be2-63c005410267@quicinc.com> <949040e5e573acef1a56269983a0e930951986ca.camel@sipsolutions.net> <5bd1776e-0691-d0a8-d198-e5b4ee676494@quicinc.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org (removing HTML) On Tue, 2023-04-18 at 18:42 +0800, Wen Gong wrote: >=20 > > Why, then you can have an output parameter for the address, and call > > it > > in mac80211 wherever it calls eth_random_addr() today, no? > >=20 > OK. Got it. So it is like this, right? > add_link(struct ieee80211_hw *hw, struct ieee80211_vif vif, u8 > *link_local_addr, unsigned int link_id)"=20 Seems like that could work, yeah. johannes