1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-29 04:54:28 +01:00

Add getter/setter for more data field in Dot11Base (#252)

This commit is contained in:
juno0812
2017-10-04 10:03:17 -04:00
committed by Matias Fontanini
parent 2aab4cf126
commit b43d2f74e4
6 changed files with 33 additions and 0 deletions

View File

@@ -164,6 +164,10 @@ void Dot11::power_mgmt(small_uint<1> new_value) {
header_.control.power_mgmt = (new_value)? 1 : 0;
}
void Dot11::more_data(small_uint<1> new_value) {
header_.control.more_data = (new_value)? 1 : 0;
}
void Dot11::wep(small_uint<1> new_value) {
header_.control.wep = (new_value)? 1 : 0;
}