OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [PATCH] reserve device ID for hwsim wireless simulation


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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]