Search Linux Wireless

Re: Any reason AID is not in the NL80211_STA_INFO enumeration?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 02/28/2020 02:06 AM, Johannes Berg wrote:
On Mon, 2020-02-17 at 17:11 -0800, Ben Greear wrote:
To sniff /AX stations, it is helpful to know their AID.  So, any problems
with adding it to 'iw station dump' output?

No, no problem at all. I guess it was just never added because it
originally comes from userspace (hostapd), and so didn't really need to
be sent back. But yeah, we have trivial infrastructure to send it back,
so sure, why not.

Ok, thanks for the response.

From looking at debugfs for a station device, there is the netdev AID:

cat /debug/ieee80211/wiphy0/netdev\:wlan0/aid
1

And there is a peer AID:

cat /debug/ieee80211/wiphy0/netdev\:wlan0/stations/04\:f0\:21\:c2\:fd\:b0/aid
0

For sniffing AX, I'd need to use '1' here as far as I can tell.  Maybe for station
devices the peer is always zero?  And for AP devices, the peer IDs are what is useful
and the netdev AID is not?


Thanks,
Ben


johannes


--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux