From 754172794273fff798db1b1f7795e7aa3909009c Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 31 Oct 2014 15:42:41 +0200 Subject: [PATCH] features: Update with NEW/DEL hwsim radio events HWSIM_CMD_NEW_RADIO and HWSIM_CMD_DEL_RADIO events are multicasted to "config" netlink multicast group when radios are created and deleted. --- doc/features.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/features.txt b/doc/features.txt index 79cf422e..1a950760 100644 --- a/doc/features.txt +++ b/doc/features.txt @@ -28,3 +28,10 @@ should be removed. For testing tools it is beneficial if the newly created radio could be bound to the lifetime of the netlink socket. Alternatively, using the hwsim '-k (--keep)' command line option instructs hwsim to not destroy the created radio automatically. + +The hwsim is using HWSIM_CMD_NEW_RADIO to create a new radio. When the +radio has been created, the kernel will return the used radio id and +parameters in a HWSIM_CMD_NEW_RADIO multicast event that is sent in +"config" netlink multicast group. The command HWSIM_CMD_DEL_RADIO is sent +by kernel when a hwsim radio is deleted. In this case the deleted +radio id is sent to "config" netlink multicast group.