Make the SNR a 32-bit field.

The difference between two 8-bit signed values may be < -128 or > 127.

Change-Id: Ic930c65462b3d31591af2e206fb7ccbd4e509358
Reviewed-on: https://code.wireshark.org/review/30450
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-10-31 09:44:06 -07:00
parent 1b6f473e44
commit 1c5a820b34
1 changed files with 1 additions and 1 deletions

View File

@ -1440,7 +1440,7 @@ void proto_register_ieee80211_radio(void)
NULL, HFILL }},
{&hf_wlan_radio_snr,
{"Signal/noise ratio (dB)", "wlan_radio.snr", FT_INT8, BASE_DEC|BASE_UNIT_STRING, &units_decibels, 0,
{"Signal/noise ratio (dB)", "wlan_radio.snr", FT_INT32, BASE_DEC|BASE_UNIT_STRING, &units_decibels, 0,
NULL, HFILL }},
{&hf_wlan_radio_timestamp,