diff --git a/changelog.md b/changelog.md index aae064c..463d2cd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog of PicoScenes Plugin Development Kit (PDK) +## Dec. 25, 2021 + * [EchoProbe] minor udpate + ## Dec. 14, 2021 * [EchoProbe] Add support for the 802.11ax High-Doppler mode and Extended-Range (HE-ER-SU) mode diff --git a/plugin-echoprobe/EchoProbePlugin.cxx b/plugin-echoprobe/EchoProbePlugin.cxx index ba26535..35b421b 100644 --- a/plugin-echoprobe/EchoProbePlugin.cxx +++ b/plugin-echoprobe/EchoProbePlugin.cxx @@ -250,12 +250,8 @@ void EchoProbePlugin::parseAndExecuteCommands(const std::string &commandString) if (vm.count("high-doppler")) { auto heMidamblePeriodicity = vm["high-doppler"].as(); - if (*parameters.format == PacketFormatEnum::PacketFormat_HESU || *parameters.format == PacketFormatEnum::PacketFormat_HEMU) { - parameters.heHighDoppler = true; - parameters.heMidamblePeriodicity = heMidamblePeriodicity; - } else { - throw std::invalid_argument(fmt::format("[EchoProbe Plugin]: Only packet format of 11ax supports high doppler.")); - } + parameters.heHighDoppler = true; + parameters.heMidamblePeriodicity = heMidamblePeriodicity; } if (vm.count("injector-content")) {