summaryrefslogtreecommitdiff
path: root/link.h
blob: f201e8c86521cef790ddbb7e65ad00dff1b2932d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef LINK_H
#define LINK_H

#include <stdint.h>
#include <sys/socket.h>
#include <linux/ethtool.h>
#include <linux/wireless.h>

#ifndef SPEED_UNKNOWN
#define SPEED_UNKNOWN           -1
#endif

#include "built_in.h"

extern int wireless_sigqual(const char *ifname, struct iw_statistics *stats);
extern int wireless_rangemax_sigqual(const char *ifname);
extern u32 wireless_bitrate(const char *ifname);
extern u32 ethtool_bitrate(const char *ifname);
extern int ethtool_drvinf(const char *ifname, struct ethtool_drvinfo *drvinf);
extern int ethtool_link(const char *ifname);

#endif /* LINK_H */
'dt' onchange='this.form.submit();'>
authorThierry Reding <treding@nvidia.com>2016-04-29 16:47:22 +0200
committerThierry Reding <treding@nvidia.com>2016-04-29 16:47:22 +0200
commit4000b00f3ca0be65ea947610f7eb8a09f6052756 (patch)
treed4b79b1156c97aea990a9a65d4114cf7abe8082c /Documentation/i2c/fault-codes
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
parent87d66f280672800c9c2ad1ce3b7a993ce1e04769 (diff)
Merge branch 'for-4.7/phy' into for-4.7/pci
Diffstat (limited to 'Documentation/i2c/fault-codes')