Re: [ath5k-devel] Issue with per station statistics in debugfs

2011-11-22 Thread Mariana Gambande
Hello to all,

I've realized the rx_fragments and rx_bytes continually increase because of
the beacons (I thought the beacons were not recorded if the iface is not in
monitor mode). I would like to know how to stop registering the beacons in
this situation. I've tried changing the value of AR5K_RX_FILTER_BEACON but
it stops detecting other stations instead of just not registering the
beacons.

Thanks in advance!
Mariana

2011/11/14 Mariana Gambande mlgamba...@gmail.com

 Hi to all!

 I have an issue regarding the debugfs statistics. I'm working with ad-hoc
 mode and monitoring statistics in
 /sys/kernel/debug/ieee80211/phy0/stations/. I have observed that having no
 activity between two stations connected in ad-hoc mode (no one is sending
 anything), the variables rx_fragments and rx_bytes continually increase.
 This can be seen with the command 'iw $iface station dump' also.
 I would expect that variables
 in  /sys/kernel/debug/ieee80211/phy0/statistics could get increase because
 of some noise (other AP around, etc) but not in the per station
 statistics. This happens with both connected stations and no one
 shown tx_bytes/tx_packets.

 I'm working with compat-wireless-2.6.35-1.

 Are these really per station statistics?

 Thanks in advance!
 Mariana



___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] Issue with per station statistics in debugfs

2011-11-22 Thread Qasim Javed
Why don't you log packets using tshark/tcpdump on a monitor mode interface
and then do your analysis on the log?

If you don't log the packets then the only way is to modify the mac80211
source code to not count the beacons which should be pretty straightforward
to do.

-Qasim

On Tue, Nov 22, 2011 at 5:42 AM, Mariana Gambande mlgamba...@gmail.comwrote:

 Hello to all,

 I've realized the rx_fragments and rx_bytes continually increase because
 of the beacons (I thought the beacons were not recorded if the iface is not
 in monitor mode). I would like to know how to stop registering the beacons
 in this situation. I've tried changing the value of AR5K_RX_FILTER_BEACON
 but it stops detecting other stations instead of just not registering the
 beacons.

 Thanks in advance!
 Mariana


 2011/11/14 Mariana Gambande mlgamba...@gmail.com

 Hi to all!

 I have an issue regarding the debugfs statistics. I'm working with ad-hoc
 mode and monitoring statistics in
 /sys/kernel/debug/ieee80211/phy0/stations/. I have observed that having no
 activity between two stations connected in ad-hoc mode (no one is sending
 anything), the variables rx_fragments and rx_bytes continually increase.
 This can be seen with the command 'iw $iface station dump' also.
 I would expect that variables
 in  /sys/kernel/debug/ieee80211/phy0/statistics could get increase because
 of some noise (other AP around, etc) but not in the per station
 statistics. This happens with both connected stations and no one
 shown tx_bytes/tx_packets.

 I'm working with compat-wireless-2.6.35-1.

 Are these really per station statistics?

 Thanks in advance!
 Mariana




 ___
 ath5k-devel mailing list
 ath5k-devel@lists.ath5k.org
 https://lists.ath5k.org/mailman/listinfo/ath5k-devel


___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] Issue with per station statistics in debugfs

2011-11-22 Thread Nick Kossifidis
2011/11/22 Qasim Javed qas...@gmail.com:
 Why don't you log packets using tshark/tcpdump on a monitor mode interface
 and then do your analysis on the log?

 If you don't log the packets then the only way is to modify the mac80211
 source code to not count the beacons which should be pretty straightforward
 to do.

 -Qasim

 On Tue, Nov 22, 2011 at 5:42 AM, Mariana Gambande mlgamba...@gmail.com
 wrote:

 Hello to all,
 I've realized the rx_fragments and rx_bytes continually increase because
 of the beacons (I thought the beacons were not recorded if the iface is not
 in monitor mode). I would like to know how to stop registering the beacons
 in this situation. I've tried changing the value of AR5K_RX_FILTER_BEACON
 but it stops detecting other stations instead of just not registering the
 beacons.
 Thanks in advance!
 Mariana

 2011/11/14 Mariana Gambande mlgamba...@gmail.com

 Hi to all!
 I have an issue regarding the debugfs statistics. I'm working with ad-hoc
 mode and monitoring statistics in
 /sys/kernel/debug/ieee80211/phy0/stations/. I have observed that having no
 activity between two stations connected in ad-hoc mode (no one is sending
 anything), the variables rx_fragments and rx_bytes continually increase.
 This can be seen with the command 'iw $iface station dump' also.
 I would expect that variables
 in  /sys/kernel/debug/ieee80211/phy0/statistics could get increase because
 of some noise (other AP around, etc) but not in the per station
 statistics. This happens with both connected stations and no one
 shown tx_bytes/tx_packets.
 I'm working with compat-wireless-2.6.35-1.
 Are these really per station statistics?
 Thanks in advance!
 Mariana



Since you know the beacon interval and the time spent you can filter
out beacons from you measurements easily.



-- 
GPG ID: 0xEE878588
As you read this post global entropy rises. Have Fun ;-)
Nick
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


[ath5k-devel] Issue with per station statistics in debugfs

2011-11-14 Thread Mariana Gambande
Hi to all!

I have an issue regarding the debugfs statistics. I'm working with ad-hoc
mode and monitoring statistics in
/sys/kernel/debug/ieee80211/phy0/stations/. I have observed that having no
activity between two stations connected in ad-hoc mode (no one is sending
anything), the variables rx_fragments and rx_bytes continually increase.
This can be seen with the command 'iw $iface station dump' also.
I would expect that variables
in  /sys/kernel/debug/ieee80211/phy0/statistics could get increase because
of some noise (other AP around, etc) but not in the per station
statistics. This happens with both connected stations and no one
shown tx_bytes/tx_packets.

I'm working with compat-wireless-2.6.35-1.

Are these really per station statistics?

Thanks in advance!
Mariana
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel