OSDN Git Service

mac80211_hwsim: add frame transmission support over virtio
authorErel Geron <erelx.geron@intel.com>
Thu, 5 Mar 2020 13:32:14 +0000 (14:32 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 20 Mar 2020 13:42:19 +0000 (14:42 +0100)
commit5d44fe7c9808c56e136e59147bd932f5491520f1
tree372617f68dc8a8395864c35f79f1e54959a02158
parent1f7e9f46c2d18a4ffac18746633898b9292160da
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>
drivers/net/wireless/mac80211_hwsim.c
drivers/net/wireless/mac80211_hwsim.h
include/uapi/linux/virtio_ids.h