cfg80211: make ethtool the driver's responsibility
authorJohannes Berg <johannes.berg@intel.com>
Wed, 4 Jun 2014 15:31:56 +0000 (17:31 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jun 2014 09:05:33 +0000 (11:05 +0200)
commitb7ffbd7ef6751f6cde73082346e365738daf00d2
tree849c2b771a45b68a6733698c5de030ae100de952
parentba9030c20a2def223d9b993cb3dfdd3aab3d2b31
cfg80211: make ethtool the driver's responsibility

Currently, cfg80211 tries to implement ethtool, but that doesn't
really scale well, with all the different operations. Make the
lower-level driver responsible for it, which currently only has
an effect on mac80211. It will similarly not scale well at that
level though, since mac80211 also has many drivers.

To cleanly implement this in mac80211, introduce a new file and
move some code to appropriate places.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
13 files changed:
include/net/cfg80211.h
net/mac80211/Makefile
net/mac80211/cfg.c
net/mac80211/ethtool.c [new file with mode: 0644]
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/wireless/core.c
net/wireless/ethtool.c
net/wireless/ethtool.h [deleted file]
net/wireless/rdev-ops.h
net/wireless/trace.h