Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp3536256ybf; Tue, 3 Mar 2020 07:43:00 -0800 (PST) X-Google-Smtp-Source: ADFU+vt43r0dWC+KOwnJeBMjTVRTM5227+ZO6dqCaZxHs5BQGUdLDzdDWX2beei7aBtU3klIxfi8 X-Received: by 2002:a9d:73d1:: with SMTP id m17mr3829136otk.19.1583250179828; Tue, 03 Mar 2020 07:42:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583250179; cv=none; d=google.com; s=arc-20160816; b=h85HPQidxPt7zjHV3Oro7J9ea4O40XL4V3IA78tPgVXgd1wCNynmUNef+kW78uvgoq 5cqwykjadqThDvdEoj05D5a4vlAo/UFMALtUU8C02GC0Qg9c2NWw0jzG89Da8CntqWCM K6jnO0JQYDEN917CvT1S1+/sqXr1SV9/rJfV8wLsTMi3rrjhDBOPz8XlAo2l+Ev63MsM TpFQM+vsy3OjkTg8Z7QKLMdOsqc22qDrxCLkJP66greD//243meoFLyhud0pIuY36RGZ VG8YgIleqYH+MI4PKvD+sKpNLr2MYIouCZBvlM6HKoLVtOENgcucxcOMPLEpdkKmxj+x s8Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=7gAIXdkNdlDhLlErkas6qciK7EJP5HUxeRxOAaBAVP0=; b=K/JVEBtrCO7RezfOTtQvyO/8wpFht4zh6crtTl30TMYW489fZF0GQpLZ9sreEsV4CZ kHkHQMzTeSP65I2cQ6jh26q1hydsLIkBLU7lFC7tYcsJU1FEGtkgU/mpldFPQ3z1NnXy Htgq2CI2oyEFl4d3z3G+PF91PLJZCIS2fLmi5aLs8MOtLXDbBynaMsUcOvSCEgSdJqmi JcAYslrfracqmkMYgh0yC4wymQoJvHwTGEctp6hAK2XYGnTY7SQCBBWj0JxYMA7ZzEem F0Bz31JGeKkDkFQbddMOf15uqHgA5hKF14yFdCgQbO+CvLXrmdfsQYlNckDLLTmNrdoH USXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13si773017oil.161.2020.03.03.07.42.47; Tue, 03 Mar 2020 07:42:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729041AbgCCO7g (ORCPT + 99 others); Tue, 3 Mar 2020 09:59:36 -0500 Received: from s3.sipsolutions.net ([144.76.43.62]:56746 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728332AbgCCO7g (ORCPT ); Tue, 3 Mar 2020 09:59:36 -0500 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1j991C-00CzRQ-0s; Tue, 03 Mar 2020 15:59:34 +0100 Message-ID: <5d6760e94097b3c11c7244076befeb77066d02c8.camel@sipsolutions.net> Subject: Re: Any reason AID is not in the NL80211_STA_INFO enumeration? From: Johannes Berg To: Ben Greear , "linux-wireless@vger.kernel.org" Date: Tue, 03 Mar 2020 15:59:32 +0100 In-Reply-To: <07235202-4134-f01a-5083-4c56c1ed604a@candelatech.com> References: <5E4B39B2.8050905@candelatech.com> <3fcaaf0ba9ed726c863f9f1e7c5d61c08ca40795.camel@sipsolutions.net> <29006a9e-4de2-1733-1a8a-a5aae686fd42@candelatech.com> <07235202-4134-f01a-5083-4c56c1ed604a@candelatech.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 (3.34.2-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 2020-03-03 at 06:57 -0800, Ben Greear wrote: > > Although it is a bit weird, I was thinking to always return the AID as part of the station > dump, and for station netdevs, use the local netdev AID, and for APs, use the remote station AID. > > That seems a bit cleaner to me than having two separate ways to get the AID for stations and APs, > but I can do two separate ways if you prefer that. I don't really agree that it's cleaner - by definition, the data in a station is data about that station, not data about "self". We may not have a great way right now to show the latter ('data about self')? But I still don't think we should mix it. johannes