]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3281d110cbccf9da50ec1e46041dc8a9cfce238
tree372617f68dc8a8395864c35f79f1e54959a02158
parentffdd3739845edeab9555eb0fff66e11149fafa37
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