From dd54b08edaac0cbf9b9e0170c5189f3e956afc4d Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 19 Jan 2007 05:22:43 +0000 Subject: Put in some information about RSSI. svn path=/trunk/; revision=20498 --- wiretap/wtap.h | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'wiretap/wtap.h') diff --git a/wiretap/wtap.h b/wiretap/wtap.h index b812869c15..9f7053dd58 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -405,8 +405,24 @@ struct p2p_phdr { gboolean sent; /* TRUE=sent, FALSE=received */ }; -/* Packet "pseudo-header" information for 802.11 - Radio information is only present for WTAP_ENCAP_IEEE_802_11_WITH_RADIO. */ +/* + * Packet "pseudo-header" information for 802.11. + * Radio information is only present for WTAP_ENCAP_IEEE_802_11_WITH_RADIO. + * + * Signal strength, etc. information: + * + * Raw signal strength can be measured in milliwatts. + * It can also be represented as dBm, which is 10 times the log base 10 + * of the signal strength in mW. + * + * The Receive Signal Strength Indicator is an integer in the range 0 to 255. + * The actual RSSI value for a given signal strength is dependent on the + * vendor (and perhaps on the adapter). The maximum possible RSSI value + * is also dependent on the vendor and perhaps the adapter. + * + * The signal strength can be represented as a percentage, which is 100 + * times the ratio of the RSSI and the maximum RSSI. + */ struct ieee_802_11_phdr { gint fcs_len; /* Number of bytes of FCS - -1 means "unknown" */ guint8 channel; /* Channel number */ -- cgit v1.2.3