aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-19 05:22:43 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2007-01-19 05:22:43 +0000
commit526ecdfb705c0cc30a2765470e29f90739a044e8 (patch)
tree8e21d91441eaade9c8acd73a0a8e538b1322e324
parente06cac65b0186c719ee7a339a474fd2ade4a6d50 (diff)
Put in some information about RSSI.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20498 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--wiretap/wtap.h20
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 */