All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Ben Greear <greearb@candelatech.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: Any reason AID is not in the NL80211_STA_INFO enumeration?
Date: Tue, 03 Mar 2020 15:59:32 +0100	[thread overview]
Message-ID: <5d6760e94097b3c11c7244076befeb77066d02c8.camel@sipsolutions.net> (raw)
In-Reply-To: <07235202-4134-f01a-5083-4c56c1ed604a@candelatech.com>

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


  reply	other threads:[~2020-03-03 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18  1:11 Any reason AID is not in the NL80211_STA_INFO enumeration? Ben Greear
2020-02-28 10:06 ` Johannes Berg
2020-02-28 15:26   ` Ben Greear
2020-03-03 14:08     ` Johannes Berg
2020-03-03 14:57       ` Ben Greear
2020-03-03 14:59         ` Johannes Berg [this message]
2020-03-03 15:02           ` Ben Greear

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5d6760e94097b3c11c7244076befeb77066d02c8.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=greearb@candelatech.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.