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 458EEC636D4 for ; Fri, 17 Feb 2023 09:19:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbjBQJTU (ORCPT ); Fri, 17 Feb 2023 04:19:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230029AbjBQJTR (ORCPT ); Fri, 17 Feb 2023 04:19:17 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B108D60FA2; Fri, 17 Feb 2023 01:19:16 -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: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=F1g/l3/oWYnwT9X/GdjKaI7kD+J5MkjgsWD9aTMEKM0=; t=1676625556; x=1677835156; b=HeRn2Hs2cmttJBLUz+AHilbtXYUgWUsIuumy8RH9/PJPwQV 4k5N2nc6fPkg07iQKDz1LmIewhnWI8B7sM6kVpFzabc7rj7XslvEnsUK4S647AwUuixjYTmyGghBV NIVxIAL4yP2Jt6WJK9NTiMmYFLosjE4NDOL2NABG7LG1efDsKiHVCuHcx+ygCaUAZf8qpX4nxbRDl pHoWuyunb1x4AY2xiiXUoYrgGA0Nuw7KVYXHqp1O4tCppD1Bl+ZCgAGpHR0QVKe/bmIh2tT5E1t91 8eWvl0jCj/rcOcMUo3nYLBqdLxs6MtCL1MFYSBrIvGcVOCjwfjfhJx99FPjegQRA==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1pSwtf-00EwrM-05; Fri, 17 Feb 2023 10:19:15 +0100 Message-ID: <57ce7bea74f2b5f018db61b875b4b6fc203d03cb.camel@sipsolutions.net> Subject: Re: [PATCH v7 1/4] mac80211_hwsim: add PMSR capability support From: Johannes Berg To: Jaewan Kim Cc: gregkh@linuxfoundation.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kernel-team@android.com, adelva@google.com Date: Fri, 17 Feb 2023 10:19:14 +0100 In-Reply-To: References: <20230207085400.2232544-1-jaewan@google.com> <20230207085400.2232544-2-jaewan@google.com> <6ad6708b124b50ff9ea64771b31d09e9168bfa17.camel@sipsolutions.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.3 (3.46.3-1.fc37) MIME-Version: 1.0 X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Fri, 2023-02-17 at 14:11 +0900, Jaewan Kim wrote: > >=20 > > > +static const struct nla_policy > > > +hwsim_ftm_capa_policy[NL80211_PMSR_FTM_CAPA_ATTR_MAX + 1] =3D { > >=20 > > This feels a bit iffy to have here, but I guess it's better that > > defining new attributes for all this over and over again. >=20 > I'm sorry but could you rephrase what you expect here? > Are you suggesting to define new sets of HWSIM_PMSR_* enums > instead of using existing enums NL80211_PMSR_*? No, I was just drive-by commenting on this. Given all the options this feels like it's probably the best one :-) > BTW, can I expect you to review my changes for further patchsets? > I sometimes get conflicting opinions (e.g. line limits) Sorry about that. See my other mail. I'm happy to accept it as it is. > so it would be a great help if you take a look at my changes. >=20 I'll be the one applying the patches, so yes. johannes