ieee80211: fix preamble duration calculation
Preamble duration calculation duplicated the number of HT-LTF symbols resulting in an incorrect preamble calculation. This fix removes the duplicated code in file: epan/dissectors/packet-ieee80211-radio.c. Bug: 14439 Change-Id: I550066a41c24948e16da6a43cf403cf206b7f32d Reviewed-on: https://code.wireshark.org/review/25903 Reviewed-by: Simon Barber <simon.barber@meraki.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
647e5b449a
commit
fa1635f5b0
|
@ -1047,11 +1047,6 @@ dissect_wlan_radio_phdr (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
|
|||
assumed_no_extension_streams = TRUE;
|
||||
}
|
||||
|
||||
/* calculate number of HT-LTF training symbols.
|
||||
* see ieee80211n-2009 20.3.9.4.6 table 20-11 */
|
||||
Nsts = ieee80211_ht_streams[info_n->mcs_index] + stbc_streams;
|
||||
preamble += 4 * (Nhtdltf[Nsts-1] + Nhteltf[ness]);
|
||||
|
||||
if (!info_n->has_fec) {
|
||||
assumed_bcc_fec = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue