diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-06-04 19:31:56 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-06-23 13:05:33 +0400 |
commit | b7ffbd7ef6751f6cde73082346e365738daf00d2 (patch) | |
tree | 849c2b771a45b68a6733698c5de030ae100de952 /net/mac80211/sta_info.h | |
parent | ba9030c20a2def223d9b993cb3dfdd3aab3d2b31 (diff) | |
download | linux-b7ffbd7ef6751f6cde73082346e365738daf00d2.tar.xz |
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>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index fa7ce6f8593b..2a04361b2162 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h @@ -627,6 +627,8 @@ void sta_set_rate_info_tx(struct sta_info *sta, struct rate_info *rinfo); void sta_set_rate_info_rx(struct sta_info *sta, struct rate_info *rinfo); +void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo); + void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata, unsigned long exp_time); u8 sta_info_tx_streams(struct sta_info *sta); |