ieee80211: Allow vendor element in WNM transition req/resp

In Wi-Fi Agile Multiband Technical Specification it is specified that
'BSS Transition Candidate List Entries' found in WNM Transition
management request/response action frame may contain WFA vendor
specific element.

Bug: 16494
Change-Id: Ifa7a2b1a6da48e6d4920e896340c3671cfb9625e
Reviewed-on: https://code.wireshark.org/review/36871
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Cedric Izoard 2020-04-14 17:04:12 +02:00 committed by Anders Broman
parent 989ffe78d3
commit 97bbe25151
1 changed files with 2 additions and 2 deletions

View File

@ -10736,7 +10736,7 @@ wnm_bss_trans_mgmt_req(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int
guint8 mode;
gint left = tvb_reported_length_remaining(tvb, offset);
int tmp_sublen;
const guint8 ids[] = { TAG_NEIGHBOR_REPORT };
const guint8 ids[] = { TAG_NEIGHBOR_REPORT, TAG_VENDOR_SPECIFIC_IE};
static const int *ieee80211_ff_request_flags[] = {
&hf_ieee80211_ff_request_mode_pref_cand,
@ -10851,7 +10851,7 @@ wnm_bss_trans_mgmt_resp(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int
guint8 code;
gint left;
int tmp_sublen;
const guint8 ids[] = { TAG_NEIGHBOR_REPORT };
const guint8 ids[] = { TAG_NEIGHBOR_REPORT, TAG_VENDOR_SPECIFIC_IE };
offset += add_ff_dialog_token(tree, tvb, pinfo, offset);
code = tvb_get_guint8(tvb, offset);