/proc/net/dev packet counters question
Hi all.
I'm trying to find out what is the difference between wifi0 and ath0 (atheros wifi card) in terms of packet counters shown in proc/net/dev pseudofile. The fact is that wifi0 and ath0 packet counters are different. I've read that wifi0 refers to the physical device and ath0 refers to virtual device over wifi0, so, as far as I know, packets counters in both devices should be the same, isn't it? Another annoying question for me is that ath0 doesn't show any erroneous packets, while wifi0 does. This is the output givwen by proc/net/dev: Quote:
I hope you can help me with this question. Thanks in advance. |
The wifi0 count every frame, including management and data frame. But the ath0 only count data frame.
|
Thanks a lot for your response!
|
I'm wondering if there is a way to modify these kernel packets counters without the correspondent kernel module modification (as described here ).
I'm developing an interface manager able to throw warnings when the link goes down, for example when PER (Packet Error Rate) crosses an established threshold, so I'm looking for a way to manually test my program, for example modifying kernel packets stats in order to change values of corrupted packets to high PER. Regards. |
Do you try the method that link you mentioned describe? Does it work?
|
No, I haven't done it because I'm unable to compile dev.c successfully. While compiling, it throws the following errors:
Quote:
|
Do you get .ko file even if there is a lot of warning?
|
All times are GMT -5. The time now is 05:21 AM. |