From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.linux.dev
Cc: James Prestwood <prestwoj@gmail.com>
Subject: [PATCH 5/6] auto-t: add set/unset affinity python methods
Date: Mon, 29 Jul 2024 05:44:09 -0700 [thread overview]
Message-ID: <20240729124410.1763549-5-prestwoj@gmail.com> (raw)
In-Reply-To: <20240729124410.1763549-1-prestwoj@gmail.com>
---
autotests/util/iwd.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
index 1d4a5472..211f3777 100755
--- a/autotests/util/iwd.py
+++ b/autotests/util/iwd.py
@@ -940,6 +940,16 @@ class Device(IWDDBusAbstract):
return ret
+ def set_connected_bss_affinity(self):
+ self._station.SetConnectedBssAffinity(reply_handler=self._success,
+ error_handler=self._failure)
+ self._wait_for_async_op()
+
+ def unset_connected_bss_affinity(self):
+ self._station.UnsetConnectedBssAffinity(reply_handler=self._success,
+ error_handler=self._failure)
+ self._wait_for_async_op()
+
def __str__(self, prefix = ''):
s = prefix + 'Device: ' + self.device_path + '\n'\
+ prefix + '\tName:\t\t' + self.name + '\n'\
--
2.34.1
next prev parent reply other threads:[~2024-07-29 12:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 12:44 [PATCH 1/6] doc: Document new BSS affinity method calls James Prestwood
2024-07-29 12:44 ` [PATCH 2/6] netdev: store signal threshold in netdev object, not globally James Prestwood
2024-07-29 12:44 ` [PATCH 3/6] netdev: add critical signal threshold level James Prestwood
2024-07-29 12:44 ` [PATCH 4/6] station: add {Set,Unset}ConnectedBssAffinity DBus methods James Prestwood
2024-07-29 12:44 ` James Prestwood [this message]
2024-07-29 12:44 ` [PATCH 6/6] auto-t: add tests for set/unset affinity James Prestwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240729124410.1763549-5-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox