Discussion of the VIRTIO specification
 help / color / mirror / Atom feed
* [virtio-comment] [PATCH] reserve device ID for hwsim wireless simulation
@ 2019-11-25 10:20 Johannes Berg
  2020-01-07 12:40 ` Johannes Berg
  2020-03-11  9:03 ` Johannes Berg
  0 siblings, 2 replies; 8+ messages in thread
From: Johannes Berg @ 2019-11-25 10:20 UTC (permalink / raw)
  To: virtio-comment; +Cc: Johannes Berg

From: Johannes Berg <johannes.berg@intel.com>

The Linux mac80211-hwsim module currently allows simulation of
multiple wireless radios on a shared medium, and has an existing
API for this to work through a userspace implementation of the
medium simulation (e.g. implemented by wmediumd).

In order to simplify working with virtual machines and to enable
(time-compressed) simulation use cases, allocate a virtio device
ID to allow carrying this protocol over virtio in addition to
the current netlink sockets.

Since device ID 28 was previously requested, use 29.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
There's an existing allocation of ID 10 for "mac80211 wlan" that
has - to my knowledge as the maintainer of mac80211 - never been
used anywhere, and I'm not familiar with the allocation for it.

It seems pretty safe to use that number here, if that's better?
---
 content.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/content.tex b/content.tex
index 06bb4ca43d67..1703e97e0a81 100644
--- a/content.tex
+++ b/content.tex
@@ -2795,6 +2795,8 @@ \chapter{Device Types}\label{sec:Device Types}
 \hline
 27         &   PMEM device \\
 \hline
+29         &   mac80211 hwsim wireless simulation device \\
+\hline
 \end{tabular}
 
 Some of the devices above are unspecified by this document,
-- 
2.20.1


This publicly archived list offers a means to provide input to the
OASIS Virtual I/O Device (VIRTIO) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: virtio-comment-subscribe@lists.oasis-open.org
Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org
List help: virtio-comment-help@lists.oasis-open.org
List archive: https://lists.oasis-open.org/archives/virtio-comment/
Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf
List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists
Committee: https://www.oasis-open.org/committees/virtio/
Join OASIS: https://www.oasis-open.org/join/


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-16 19:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-25 10:20 [virtio-comment] [PATCH] reserve device ID for hwsim wireless simulation Johannes Berg
2020-01-07 12:40 ` Johannes Berg
2020-01-21  2:55   ` Keiichi Watanabe
2020-01-21  8:18     ` Johannes Berg
2020-01-21  9:09       ` Keiichi Watanabe
2020-02-27 10:26   ` Johannes Berg
2020-03-11  9:03 ` Johannes Berg
2020-03-16 19:55   ` Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox