in reply to Module to return signal levels on captured packets

The signal level is a property of the wireless interface. It is not a property of any packets captured from that interface, and so cannot be derived from the packet content. tcpdump(1) is showing interface information that you could also display with iwconfig(1).

Replies are listed 'Best First'.
Re^2: Module to return signal levels on captured packets
by porpoise_paul (Novice) on Jan 04, 2010 at 19:53 UTC
    I was obviously on the wrong track. Do you know of a way to measure signal level between two clients associated on the same AP?
      Also, I've noted that TCPdump will report the signal value between myself and another client when sending echo requests to it. Actually, during the echo request I see the reply directly from the target and also from the AP that is acting as a hub in this instance. I did not think that iwconfig was able to provide signal levels between clients in this fashion. Is there a perl module that can read interface statistics such as TCPdump appears to be doing?

      Any direction is greatly appreciated.
        If I understand your question correctly, then you want to try ifconfig and Net::Interface. For an example from the source:
        #!/usr/bin/perl use strict; use warnings; use Net::Interface; my @all = Net::Interface->interfaces(); print $all[0]->name,"\n"; my @allnames = "@all"; print @allnames,"\n";