diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-02-14 22:38:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-02-14 22:38:50 +0000 |
commit | 58a2320b8987c5df2f94e0fdb236a995c6e87f7a (patch) | |
tree | 9dc3cb08c4ca252ede9769699cf3378fc8694f08 /epan/dissectors/packet-ieee80211-radio.c | |
parent | b8179ab57bb12ee123987e46eebdd8ed6af63567 (diff) |
Show the signal strength as a percentage in the RSSI column, as that's
what it is.
svn path=/trunk/; revision=47663
Diffstat (limited to 'epan/dissectors/packet-ieee80211-radio.c')
-rw-r--r-- | epan/dissectors/packet-ieee80211-radio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee80211-radio.c b/epan/dissectors/packet-ieee80211-radio.c index 0d48cef327..838158dfb8 100644 --- a/epan/dissectors/packet-ieee80211-radio.c +++ b/epan/dissectors/packet-ieee80211-radio.c @@ -59,8 +59,7 @@ 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); - /* XX - this is a percentage, not a dBm or normalized or raw RSSI */ - col_add_fstr(pinfo->cinfo, COL_RSSI, "%u", + col_add_fstr(pinfo->cinfo, COL_RSSI, "%u%%", pinfo->pseudo_header->ieee_802_11.signal_level); if (tree) { |