mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +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
@@ -279,6 +279,15 @@ public:
|
||||
return header_.control.power_mgmt;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Getter for the More Data field.
|
||||
*
|
||||
* \return The stored More Data field.
|
||||
*/
|
||||
small_uint<1> more_data() const {
|
||||
return header_.control.more_data;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Getter for the WEP field.
|
||||
*
|
||||
@@ -373,6 +382,13 @@ public:
|
||||
*/
|
||||
void power_mgmt(small_uint<1> new_value);
|
||||
|
||||
/**
|
||||
* \brief Setter for the More Data field.
|
||||
*
|
||||
* \param new_value The new More Data field value.
|
||||
*/
|
||||
void more_data(small_uint<1> new_value);
|
||||
|
||||
/**
|
||||
* \brief Setter for the WEP field.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user