commit cda7644557a0e8953e903bcdc50709daa269cf43
parent 0be288c5aa183d53e5e54ed0df8e565a062855f0
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 28 Jun 2023 13:20:31 -0700
hwsim: add ADD/DEL_MAC_ADDR events
These events are important to support both moving radios to other
namespaces, and to allow scan address randomization to work.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/hwsim.c b/tools/hwsim.c
@@ -62,6 +62,8 @@ enum {
HWSIM_CMD_NEW_RADIO,
HWSIM_CMD_DEL_RADIO,
HWSIM_CMD_GET_RADIO,
+ HWSIM_CMD_ADD_MAC_ADDR,
+ HWSIM_CMD_DEL_MAC_ADDR,
__HWSIM_CMD_MAX,
};
#define HWSIM_CMD_MAX (__HWSIM_CMD_MAX - 1)