diff --git a/TODO b/TODO index 59527911..e5b9fe05 100644 --- a/TODO +++ b/TODO @@ -18,22 +18,6 @@ Background mac80211_hwsim ============== -- Add support for HWSIM_CMD_GET_RADIO command - - Currently it is not possible to list the existing radio created by - mac80211_hwsim. Use the command to dump a list of radios where each - radio at minimum containts the HWSIM_ATTR_RADIO_ID. - - For the result HWSIM_CMD_NEW_RADIO (previously HWSIM_CMD_CREATE_RADIO) - should be used. - - The dump version should not require any attributes and list all radios - while otherwise the HWSIM_ATTR_RADIO_ID is required to provide details - of a specific radio. - - Priority: Medium - Complexity: C1 - - Add support for HWSIM_CMD_SET_RADIO command To allow modifying an existing radio, add the HWSIM_CMD_SET_RADIO. The diff --git a/doc/features.txt b/doc/features.txt index 1a950760..4187448d 100644 --- a/doc/features.txt +++ b/doc/features.txt @@ -35,3 +35,9 @@ 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. + +hwsim can list radios by sending a HWSIM_CMD_GET_RADIO with the attribute +HWSIM_ATTR_RADIO_ID containing the desired radio id. If no radio id is +given on the command line, a dump of all radios is requested from the +kernel. The attributes returned are identical to those sent to the +'config' multicast group when creating a radio.