ieee80211: Fix some issues with the D3.0 support.

The ieee80211ax D3.0 support got merged accidentally with some issues.

This fixes the remainder of those issues.

Change-Id: I2a3a427e04cb1dca076fd761458de92d4d5e0df2
Reviewed-on: https://code.wireshark.org/review/29602
Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Richard Sharpe 2018-09-11 07:03:28 -07:00 committed by Anders Broman
parent c525578aff
commit 71378072e6
1 changed files with 10 additions and 7 deletions

View File

@ -11569,12 +11569,12 @@ static const range_string he_action_rvals[] = {
#define HE_BSS_COLOR_CHANGE_ANNOUNCEMENT 0
#if 0
static const value_string protected_he_action_vals[] = {
{ HE_BSS_COLOR_CHANGE_ANNOUNCEMENT, "HE BSS Color Change Announcement" },
{ 0, NULL }
static const range_string protected_he_action_rvals[] = {
{ HE_BSS_COLOR_CHANGE_ANNOUNCEMENT, HE_BSS_COLOR_CHANGE_ANNOUNCEMENT,
"HE BSS Color Change Announcement" },
{ HE_BSS_COLOR_CHANGE_ANNOUNCEMENT + 1, 255, "Reserved" },
{ 0, 0, NULL }
};
#endif
/*
* * This currently only works for SU, 20MHz, 40MHz and 80MHz and grouping 4 and 16.
@ -11936,6 +11936,9 @@ static const int *he_mimo_control_headers[] = {
NULL
};
/*
* Handle compressed beamforming matrices and CQI
*/
static guint
dissect_compressed_beamforming_and_cqi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo _U_, int offset)
{
@ -26822,7 +26825,7 @@ proto_register_ieee80211(void)
{&hf_ieee80211_ff_protected_he_action,
{"Protected HE Action", "wlan.he.protected_action",
FT_UINT8, BASE_RANGE_STRING | BASE_DEC, RVALS(he_action_rvals), 0,
FT_UINT8, BASE_RANGE_STRING | BASE_DEC, RVALS(protected_he_action_rvals), 0,
NULL, HFILL }},
{&hf_he_mimo_control_nc_index,
@ -35091,7 +35094,7 @@ proto_register_ieee80211(void)
{&hf_he_operation_txop_duration_rts_threshold,
{"TXOP Duration RTS Threshold", "wlan.ext_tag.he_operation.txop_duration_rts_thresh",
FT_UINT24, BASE_DEC, NULL, 0x0003FF, NULL, HFILL }},
FT_UINT24, BASE_DEC, NULL, 0x003FF0, NULL, HFILL }},
{&hf_he_operation_vht_operation_information_present,
{"VHT Operation Information Present", "wlan.ext_tag.he_operation.vht_op_info_present",