Search Linux Wireless

Re: [RFC] design discussion: Collecting information for (non-peer) stations

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

 



Hi Simon,

On Wed, Feb 20, 2013 at 9:19 AM, Simon Wunderlich
<simon.wunderlich@xxxxxxxxxxxxxxxxxxxx> wrote:

> To sum from this discussion (I think it's a good idea):
>
>  * embed the stats_entry into the sta_info
>  * update peer-stats by modifying the embedded stats_entry (we do the lookup anyway
>  * keep the non-peer stats in a seperate hash, and only keep stats_entry for them (we don't need
>    the full sta_info after all).
>
> We should consider some corner cases here, e.g. adding stas, then we have to
> copy+remove the stats from the non-peer hash, or removing stas, then we have
> to copy the so-far collected stats to the non-peer hash.
>
> If you are okay with it, we can use the NL80211_CMD_GET_STATION command
> (as in iw station dump), and add a seperate flag to give info for non-peer sta.
>
> What about the other commands I suggested (read+reset, start, stop)? For read+reset,
> we could just send yet another flag (RESET_STATS) with the GET_STATION command, but
> for start/stop we would need new commands? Or would you have any better idea?
>
> @Thomas: Is there anything to consider for 802.11s?

I can't think of anything that would be specifically useful for
802.11s right now, and we can always extend the statistics in the
future. One case where this might be useful is if the driver has a
limited number of station slots, the MPM could monitor neighbor
stations for a more "suitable" peer candidate, but your existing stats
should cover that.

Turning on this feature would add some sort of (internal to mac80211)
monitor interface, or just disable all frame filters on a given PHY?
How does it work now?

-- 
Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux