mac80211: allow changing TX-related netdev features
authorJohannes Berg <johannes.berg@intel.com>
Fri, 31 Jan 2020 11:12:46 +0000 (13:12 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Feb 2020 11:40:20 +0000 (12:40 +0100)
commit07b83d2ecd2f812c32d1f852f853375f50e1ccf2
tree3f6eef3041c3e88416be298ff55a01eedd930418
parentb5db1acab19b99da5b30042133734b01f65b5900
mac80211: allow changing TX-related netdev features

Set ndev->hw_features as well as ndev->features to allow
changing the TX-related features with ethtool.

We cannot (yet) change RX-related features since that
requires telling the driver about it and we have no API
for that yet.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/20200131111300.891737-10-luca@coelho.fi
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c