aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee80211-radio.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-02-15 00:43:04 +0000
committerGuy Harris <guy@alum.mit.edu>2013-02-15 00:43:04 +0000
commit9ad02809f234bc267fdb572a17b8f8a903180e93 (patch)
tree200004dd73680ecea8cbe12757cbbd6a8ecbb272 /epan/dissectors/packet-ieee80211-radio.c
parent39a742107e45d3095f944bb2f6a297a82ed5f1c5 (diff)
Put in a comment explaining what the signal strength value probably
means here. svn path=/trunk/; revision=47665
Diffstat (limited to 'epan/dissectors/packet-ieee80211-radio.c')
-rw-r--r--epan/dissectors/packet-ieee80211-radio.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ieee80211-radio.c b/epan/dissectors/packet-ieee80211-radio.c
index 838158dfb8..b5069ef52f 100644
--- a/epan/dissectors/packet-ieee80211-radio.c
+++ b/epan/dissectors/packet-ieee80211-radio.c
@@ -59,6 +59,19 @@ dissect_radio (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
col_add_fstr(pinfo->cinfo, COL_TX_RATE, "%u.%u",
pinfo->pseudo_header->ieee_802_11.data_rate / 2,
pinfo->pseudo_header->ieee_802_11.data_rate & 1 ? 5 : 0);
+ /*
+ * For tagged Peek files, this is presumably signal strength as a
+ * percentage of the maximum, as it is for classic Peek files,
+ * i.e. (RXVECTOR RSSI/RXVECTOR RSSI_Max)*100, or, at least, that's
+ * what I infer it is, given what the WildPackets note "Converting
+ * Signal Strength Percentage to dBm Values" says.
+ *
+ * It also says that the conversion the percentage to a dBm value is
+ * an adapter-dependent process, so, as we don't know what type of
+ * adapter was used to do the capture, we can't do the conversion.
+ *
+ * It's *probably* something similar for other capture file formats.
+ */
col_add_fstr(pinfo->cinfo, COL_RSSI, "%u%%",
pinfo->pseudo_header->ieee_802_11.signal_level);