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:
committed by
Matias Fontanini
parent
2aab4cf126
commit
b43d2f74e4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user