mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar8216: add 802.3az EEE info to swconfig get_link attribute
AR8327/AR8337 allow to read the result of EEE autonegotiation. If EEE is autonegotiated between the link partners, display this as part of the swconfig get_link attribute. eee100: 100MBit EEE supported by both link partners eee1000: 1GBit EEE supported by both link partners Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44022 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -54,6 +54,8 @@ struct switch_port_link {
|
||||
bool tx_flow;
|
||||
bool rx_flow;
|
||||
enum switch_port_speed speed;
|
||||
/* in ethtool adv_t format */
|
||||
u32 eee;
|
||||
};
|
||||
|
||||
struct switch_port_stats {
|
||||
|
||||
Reference in New Issue
Block a user