NET_RSSI_IND: Show Percentage in info column
parent
1e96728c93
commit
bcc6be4eec
|
@ -698,10 +698,14 @@ static void dissect_isi_network(tvbuff_t *tvb, packet_info *pinfo, proto_item *i
|
|||
col_set_str(pinfo->cinfo, COL_INFO, "Network Select Mode Set Response");
|
||||
break;
|
||||
case 0x1E: /* NET_RSSI_IND */
|
||||
col_set_str(pinfo->cinfo, COL_INFO, "Network RSSI Indication");
|
||||
{
|
||||
guint8 bars = tvb_get_guint8(tvb, 1);;
|
||||
col_add_fstr(pinfo->cinfo, COL_INFO, "Network RSSI Indication: %d%%", bars);
|
||||
|
||||
proto_tree_add_item(tree, hf_isi_network_rssi_bars, tvb, 1, 1, FALSE);
|
||||
proto_tree_add_item(tree, hf_isi_network_rssi_db, tvb, 2, 1, FALSE);
|
||||
break;
|
||||
}
|
||||
case 0x20: /* NET_CIPHERING_IND */
|
||||
col_set_str(pinfo->cinfo, COL_INFO, "Network Ciphering Indication");
|
||||
proto_tree_add_item(tree, hf_isi_network_ciphering_status, tvb, 1, 1, FALSE);
|
||||
|
|
Loading…
Reference in New Issue