* Re: [PATCH] doc: update hwsim documentation
@ 2022-04-05 18:51 Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2022-04-05 18:51 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 378 bytes --]
Hi James,
On 4/5/22 13:50, James Prestwood wrote:
> This was quite dated and needed to be updated both to
> reflect the API change to a dictionary argument, as well
> as document NoVirtualInterface.
> ---
> doc/hwsim-radio-api.txt | 32 ++++++++++++++++++++++++--------
> 1 file changed, 24 insertions(+), 8 deletions(-)
>
Applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] doc: update hwsim documentation
@ 2022-04-05 18:50 James Prestwood
0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2022-04-05 18:50 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 2101 bytes --]
This was quite dated and needed to be updated both to
reflect the API change to a dictionary argument, as well
as document NoVirtualInterface.
---
doc/hwsim-radio-api.txt | 32 ++++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/doc/hwsim-radio-api.txt b/doc/hwsim-radio-api.txt
index 7303c33d..c8c889a2 100644
--- a/doc/hwsim-radio-api.txt
+++ b/doc/hwsim-radio-api.txt
@@ -5,17 +5,33 @@ Service net.connman.hwsim
Interface net.connman.hwsim.RadioManager [Experimental]
Object path /
-Methods object CreateRadio(string name, boolean p2p_device)
+Methods object CreateRadio(dict)
Add one virtual radio device to the simulator, a
path to a new object with the
net.connman.hwsim.Radio interface is returned.
- The radio is created with one network interface of
- the type "managed" (Station) and optionally one
- P2P Device interface. The name parameter may be
- an empty string or a requested name for the radio
- and its wiphy. If empty, the kernel will use a
- default name. If non-empty, the kernel may still
- use the default name if the requested name can not
+
+ This API takes a dictionary of arguments (all optional)
+ with keys:
+
+ string Name - Name of radio
+ bool P2P - Create a P2P device
+ string InterfaceTypeDisable - List of disabled
+ interface types (comma
+ separated)
+ string CipherTypeDisable - List of disabled
+ cipher types (comma
+ separated)
+ string NoVirtualInterface - Don't create an
+ interface for this
+ radio.
+
+ The radio is created with one network interface (unless
+ NoVirtualInterface is used) of the type "managed"
+ (Station) and optionally one P2P Device interface.
+ The name parameter may be an empty string or a requested
+ name for the radio and its wiphy. If empty, the kernel
+ will use a default name. If non-empty, the kernel may
+ still use the default name if the requested name can not
be used.
Service net.connman.hwsim
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-05 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 18:51 [PATCH] doc: update hwsim documentation Denis Kenzior
-- strict thread matches above, loose matches on Subject: below --
2022-04-05 18:50 James Prestwood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.