Bugzilla – Bug 2836
Missing VHT information in radiotap header when A-MPDU is used
Last modified: 2017-12-05 17:07:36 UTC
When 802.11ac is used and A-MPDU is enabled, I noticed the radiotap header does not contain the VHT information fields.
Solution to fix: header.SetAmpduStatus (aMpdu.mpduRefNumber, ampduStatusFlags, hdr.GetCrc ()); } - if (preamble == WIFI_PREAMBLE_VHT) + if (txVector.GetMode ().GetModulationClass () == WIFI_MOD_CLASS_VHT) { uint16_t vhtKnown = RadiotapHeader::VHT_KNOWN_NONE; uint8_t vhtFlags = RadiotapHeader::VHT_FLAGS_NONE;
(In reply to sebastien.deronne from comment #1) > Solution to fix: > > header.SetAmpduStatus (aMpdu.mpduRefNumber, ampduStatusFlags, > hdr.GetCrc ()); > } > > - if (preamble == WIFI_PREAMBLE_VHT) > + if (txVector.GetMode ().GetModulationClass () == WIFI_MOD_CLASS_VHT) > { > uint16_t vhtKnown = RadiotapHeader::VHT_KNOWN_NONE; > uint8_t vhtFlags = RadiotapHeader::VHT_FLAGS_NONE; Looks sufficient to push immediately unless you are waiting for some community input.
(In reply to Tom Henderson from comment #2) > (In reply to sebastien.deronne from comment #1) > > Solution to fix: > > > > header.SetAmpduStatus (aMpdu.mpduRefNumber, ampduStatusFlags, > > hdr.GetCrc ()); > > } > > > > - if (preamble == WIFI_PREAMBLE_VHT) > > + if (txVector.GetMode ().GetModulationClass () == WIFI_MOD_CLASS_VHT) > > { > > uint16_t vhtKnown = RadiotapHeader::VHT_KNOWN_NONE; > > uint8_t vhtFlags = RadiotapHeader::VHT_FLAGS_NONE; > > Looks sufficient to push immediately unless you are waiting for some > community input. I will push it.
Pushed in changeset 13198:44744f91e4cf