Commit 99d84822 authored by Guy Harris's avatar Guy Harris

Provide only one data rate per user for VHT frames.

Don't provide an extra not-per-user data rate equal to the data rate for
the highest user number; that makes no sense.

Bug: 15928
Change-Id: Ie6bf5853d630bbf33afd423dc7a8eca26abdf83a
Reviewed-on: https://code.wireshark.org/review/34018
Petri-Dish: Guy Harris <[email protected]>
Tested-by: Petri Dish Buildbot
Reviewed-by: default avatarGuy Harris <[email protected]>
(cherry picked from commit 3c7ec127)
Reviewed-on: https://code.wireshark.org/review/34021
parent 25262b56
Pipeline #71976591 passed with stage
in 36 minutes and 19 seconds
......@@ -788,14 +788,6 @@ dissect_wlan_radio_phdr (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
proto_item_append_text(it, " (%s %s)",
ieee80211_vhtinfo[info_ac->mcs[i]].modulation,
ieee80211_vhtinfo[info_ac->mcs[i]].coding_rate);
/*
* If we can calculate the data rate for this user, do so.
*/
if (can_calculate_rate) {
data_rate = ieee80211_vhtrate(info_ac->mcs[i], bandwidth, info_ac->short_gi) * info_ac->nss[i];
have_data_rate = TRUE;
}
}
proto_tree_add_uint(user_tree, hf_wlan_radio_11ac_nss, tvb, 0, 0, info_ac->nss[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment