From 9ad02809f234bc267fdb572a17b8f8a903180e93 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 15 Feb 2013 00:43:04 +0000 Subject: Put in a comment explaining what the signal strength value probably means here. svn path=/trunk/; revision=47665 --- epan/dissectors/packet-ieee80211-radio.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'epan/dissectors/packet-ieee80211-radio.c') 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); -- cgit v1.2.3