mfontanini / libtins

High-level, multiplatform C++ network packet sniffing and crafting library.
http://libtins.github.io/
BSD 2-Clause "Simplified" License
1.9k stars 375 forks source link

Problem getting channel number in 5GHz probe response packets #421

Open anatolyvenzekov opened 3 years ago

anatolyvenzekov commented 3 years ago

Hi all,

Taking a pcap file as basis, I am trying to extract some parameters of a probe response frame. When I am dealing with 2.4 GHz management packets, I have no problems. The point comes when I am trying to analyze 5 GHz management packets, because I am not being able to get the wifi channel number with _ds_parameterset(). I am always getting a option_not_found exception. Does anybody knows what is happening here? Am I doing something wrong?

Here it is the file I am using: packet.pcap