mfontanini / libtins

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

Set CH_SWITCH_TIMING enumerator to the correct value of 104 #388

Open tsilia opened 4 years ago

tsilia commented 4 years ago

Set CH_SWITCH_TIMING enumerator to the correct value of 104 as the current one is (implicitly) set to 103 which is reserved. This also automatically sets correct values of the few following enumerators (PTI_CONTROL through EXT_CAP) due to the way enumerations in C/C++ work: https://github.com/tsilia/libtins/blob/a06baf335fea27dfca5c72270c3e199fb9e11b52/include/tins/dot11/dot11_base.h#L186-L208

Fixes mfontanini/libtins#371