#include <linux/types.h>
#include <net/cfg80211.h>
#include "ieee80211_i.h"
#include "sta_info.h"
#include "driver-ops.h"
static int ieee80211_set_ringparam(struct net_device *dev,
struct ethtool_ringparam *rp,
struct kernel_ethtool_ringparam *kernel_rp,
struct netlink_ext_ack *extack)
{ … }
static void ieee80211_get_ringparam(struct net_device *dev,
struct ethtool_ringparam *rp,
struct kernel_ethtool_ringparam *kernel_rp,
struct netlink_ext_ack *extack)
{ … }
static const char ieee80211_gstrings_sta_stats[][ETH_GSTRING_LEN] = …;
#define STA_STATS_LEN …
static int ieee80211_get_sset_count(struct net_device *dev, int sset)
{ … }
static void ieee80211_get_stats(struct net_device *dev,
struct ethtool_stats *stats,
u64 *data)
{ … }
static void ieee80211_get_strings(struct net_device *dev, u32 sset, u8 *data)
{ … }
static int ieee80211_get_regs_len(struct net_device *dev)
{ … }
static void ieee80211_get_regs(struct net_device *dev,
struct ethtool_regs *regs,
void *data)
{ … }
const struct ethtool_ops ieee80211_ethtool_ops = …;