]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24dc9242303b17fa17b8b10e63281e02aac0b5da
tree849c2b771a45b68a6733698c5de030ae100de952
parent21ea4bb52a51aa10c063e434576f34cce1e1fc07
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