Merge "[qca-ssdk-shell]:add 2500M, 5000M and 10000M for autoadv."
diff --git a/include/fal/fal_port_ctrl.h b/include/fal/fal_port_ctrl.h
index 834d3be..030195a 100755
--- a/include/fal/fal_port_ctrl.h
+++ b/include/fal/fal_port_ctrl.h
@@ -67,6 +67,10 @@
#define FAL_PHY_ADV_1000T_FD 0x200
#define FAL_PHY_ADV_1000BX_HD 0x400
#define FAL_PHY_ADV_1000BX_FD 0x800
+#define FAL_PHY_ADV_2500T_FD 0x1000
+#define FAL_PHY_ADV_5000T_FD 0x2000
+#define FAL_PHY_ADV_10000T_FD 0x4000
+
#define FAL_PHY_ADV_FE_SPEED_ALL \
(FAL_PHY_ADV_10T_HD | FAL_PHY_ADV_10T_FD | FAL_PHY_ADV_100TX_HD |\
diff --git a/src/shell/shell_io.c b/src/shell/shell_io.c
index df0cdc0..2e4e897 100755
--- a/src/shell/shell_io.c
+++ b/src/shell/shell_io.c
@@ -952,6 +952,18 @@
return;
}
+ if (*(a_uint32_t *) buf & FAL_PHY_ADV_10000T_FD)
+ {
+ dprintf("10000TX_FD|");
+ }
+ if (*(a_uint32_t *) buf & FAL_PHY_ADV_5000T_FD)
+ {
+ dprintf("5000TX_FD|");
+ }
+ if (*(a_uint32_t *) buf & FAL_PHY_ADV_2500T_FD)
+ {
+ dprintf("2500TX_FD|");
+ }
if (*(a_uint32_t *) buf & FAL_PHY_ADV_1000BX_FD)
{
dprintf("1000BX_FD|");