mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
auto-t: hwsim.py: add drop_ack property
This commit is contained in:
parent
bedd20b08e
commit
5b226a8151
@ -161,6 +161,14 @@ class Rule(HwsimDBusAbstract):
|
|||||||
def match_times(self, value):
|
def match_times(self, value):
|
||||||
self._prop_proxy.Set(self._iface_name, 'MatchTimes', dbus.UInt16(value))
|
self._prop_proxy.Set(self._iface_name, 'MatchTimes', dbus.UInt16(value))
|
||||||
|
|
||||||
|
@property
|
||||||
|
def drop_ack(self):
|
||||||
|
return self._properties(['DropAck'])
|
||||||
|
|
||||||
|
@drop_ack.setter
|
||||||
|
def drop_ack(self, value):
|
||||||
|
self._prop_proxy.Set(self._iface_name, 'DropAck', value)
|
||||||
|
|
||||||
def remove(self):
|
def remove(self):
|
||||||
self._iface.Remove(reply_handler=self._success,
|
self._iface.Remove(reply_handler=self._success,
|
||||||
error_handler=self._failure)
|
error_handler=self._failure)
|
||||||
|
Loading…
Reference in New Issue
Block a user