diff options
author | Joerg Mayer <jmayer@loplof.de> | 2016-10-18 22:56:28 +0200 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2016-10-18 20:59:22 +0000 |
commit | 09b43591a13e9834a66adbd7b24c3c28af8ea5fc (patch) | |
tree | e12226377846fe6bd6ed283c4014756d05edc0ca /epan | |
parent | 6a14408bf62f534db2374f131195fc2c42785f57 (diff) |
While the channelwidth was dissected the information was not passed to the phdr
No other flags were verified.
Change-Id: I77e35af8accb83595d3046dc804f0c6a7e1d1000
Reviewed-on: https://code.wireshark.org/review/18295
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ppi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ppi.c b/epan/dissectors/packet-ppi.c index d2f5cbf69a..f228199de2 100644 --- a/epan/dissectors/packet-ppi.c +++ b/epan/dissectors/packet-ppi.c @@ -647,8 +647,10 @@ dissect_80211n_mac(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int flags = tvb_get_letohl(tvb, ptvcursor_current_offset(csr)); *n_mac_flags = flags; + phdr->phy_info.info_11n.has_bandwidth = TRUE; phdr->phy_info.info_11n.has_short_gi = TRUE; phdr->phy_info.info_11n.has_greenfield = TRUE; + phdr->phy_info.info_11n.bandwidth = ((flags & DOT11N_FLAG_HT40) != 0); phdr->phy_info.info_11n.short_gi = ((flags & DOT11N_FLAG_SHORT_GI) != 0); phdr->phy_info.info_11n.greenfield = ((flags & DOT11N_FLAG_GREENFIELD) != 0); if (DOT11N_IS_AGGREGATE(flags)) { |