linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AP statistics
@ 2016-05-24 15:29 Pukitis, Martins
  2016-05-24 18:55 ` Matthias May
  0 siblings, 1 reply; 3+ messages in thread
From: Pukitis, Martins @ 2016-05-24 15:29 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org

Hi.
Is there cfg80211 API for getting AP statistics (bytes sent/received, packets sent/received/dropped)? I know there is "get_station", but it reads per station statistics. Stations may disconnect, hence you can't just sum together all station statistics to get per AP statistics.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AP statistics
  2016-05-24 15:29 AP statistics Pukitis, Martins
@ 2016-05-24 18:55 ` Matthias May
  2016-05-25  7:23   ` Pukitis, Martins
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias May @ 2016-05-24 18:55 UTC (permalink / raw)
  To: Pukitis, Martins, linux-wireless@vger.kernel.org



On 05/24/2016 05:29 PM, Pukitis, Martins wrote:
> Hi.
> Is there cfg80211 API for getting AP statistics (bytes sent/received, packets sent/received/dropped)? I know there is "get_station", but it reads per station statistics. Stations may disconnect, hence you can't just sum together all station statistics to get per AP statistics.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

ethtool -S wlan0
should do the trick

BR
Matthias

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: AP statistics
  2016-05-24 18:55 ` Matthias May
@ 2016-05-25  7:23   ` Pukitis, Martins
  0 siblings, 0 replies; 3+ messages in thread
From: Pukitis, Martins @ 2016-05-25  7:23 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org; +Cc: Matthias May

Yes, as well as
ip -s link
but this is not cfg80211 API.

-----Original Message-----
From: Matthias May [mailto:matthias.may@neratec.com] 
Sent: Tuesday, May 24, 2016 21:56
To: Pukitis, Martins <martins.pukitis@intel.com>; linux-wireless@vger.kernel.org
Subject: Re: AP statistics



On 05/24/2016 05:29 PM, Pukitis, Martins wrote:
> Hi.
> Is there cfg80211 API for getting AP statistics (bytes sent/received, packets sent/received/dropped)? I know there is "get_station", but it reads per station statistics. Stations may disconnect, hence you can't just sum together all station statistics to get per AP statistics.
> --
> To unsubscribe from this list: send the line "unsubscribe 
> linux-wireless" in the body of a message to majordomo@vger.kernel.org 
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

ethtool -S wlan0
should do the trick

BR
Matthias

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-25  7:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24 15:29 AP statistics Pukitis, Martins
2016-05-24 18:55 ` Matthias May
2016-05-25  7:23   ` Pukitis, Martins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).