diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2009-11-25 13:10:49 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-28 15:04:58 -0500 |
commit | c7fe64cf4a08561a9e8f57e6018a504881236e34 (patch) | |
tree | 0589e95cb97133fca3fa3a6461524b5814443dc6 /drivers/net/wireless/libertas/mesh.h | |
parent | e0e42da3a4df6f487b59dad608db56e25001bcdb (diff) | |
download | lwn-c7fe64cf4a08561a9e8f57e6018a504881236e34.tar.gz lwn-c7fe64cf4a08561a9e8f57e6018a504881236e34.zip |
libertas: move mesh-only ethtool operations into mesh.c
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/mesh.h')
-rw-r--r-- | drivers/net/wireless/libertas/mesh.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/mesh.h b/drivers/net/wireless/libertas/mesh.h index d683c6eef83c..23b38ba26cd0 100644 --- a/drivers/net/wireless/libertas/mesh.h +++ b/drivers/net/wireless/libertas/mesh.h @@ -53,4 +53,15 @@ void lbs_persist_config_remove(struct net_device *net); extern struct iw_handler_def mesh_handler_def; +/* Ethtool statistics */ + +struct ethtool_stats; + +void lbs_mesh_ethtool_get_stats(struct net_device *dev, + struct ethtool_stats *stats, uint64_t *data); +int lbs_mesh_ethtool_get_sset_count(struct net_device *dev, int sset); +void lbs_mesh_ethtool_get_strings(struct net_device *dev, + uint32_t stringset, uint8_t *s); + + #endif |