diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-01-19 05:22:43 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-01-19 05:22:43 +0000 |
commit | dd54b08edaac0cbf9b9e0170c5189f3e956afc4d (patch) | |
tree | 8e21d91441eaade9c8acd73a0a8e538b1322e324 /wiretap/wtap.h | |
parent | e9cf850201c7694626ba4d39311afb00ade9795b (diff) |
Put in some information about RSSI.
svn path=/trunk/; revision=20498
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 20 |
1 files changed, 18 insertions, 2 deletions
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 */ |