ar8216: add 802.3az EEE info to swconfig get_link attribute
[15.05/openwrt.git] / target / linux / generic / files / include / linux / switch.h
index b53431e..4291364 100644 (file)
@@ -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 {