diff options
author | Erel Geron <erelx.geron@intel.com> | 2020-03-05 16:32:14 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2020-03-20 16:42:19 +0300 |
commit | 5d44fe7c9808c56e136e59147bd932f5491520f1 (patch) | |
tree | 372617f68dc8a8395864c35f79f1e54959a02158 /include/uapi/linux/virtio_ids.h | |
parent | 1f7e9f46c2d18a4ffac18746633898b9292160da (diff) | |
download | linux-5d44fe7c9808c56e136e59147bd932f5491520f1.tar.xz |
mac80211_hwsim: add frame transmission support over virtio
This allows communication with external entities.
It also required fixing up the netlink policy, since NLA_UNSPEC
attributes are no longer accepted.
Signed-off-by: Erel Geron <erelx.geron@intel.com>
[port to backports, inline the ID, use 29 as the ID as requested,
drop != NULL checks, reduce ifdefs]
Link: https://lore.kernel.org/r/20200305143212.c6e4c87d225b.I7ce60bf143e863dcdf0fb8040aab7168ba549b99@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi/linux/virtio_ids.h')
-rw-r--r-- | include/uapi/linux/virtio_ids.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h index 585e07b27333..ecc27a17401a 100644 --- a/include/uapi/linux/virtio_ids.h +++ b/include/uapi/linux/virtio_ids.h @@ -46,5 +46,6 @@ #define VIRTIO_ID_IOMMU 23 /* virtio IOMMU */ #define VIRTIO_ID_FS 26 /* virtio filesystem */ #define VIRTIO_ID_PMEM 27 /* virtio pmem */ +#define VIRTIO_ID_MAC80211_HWSIM 29 /* virtio mac80211-hwsim */ #endif /* _LINUX_VIRTIO_IDS_H */ |