[qca-ssdk-shell]: support 2500/5000/10000 speed

Change-Id: I4e25b339a303d843a99466b1380f9a5756e6fb4b
Signed-off-by: Liu Zhongjian <zhongjia@codeaurora.org>
diff --git a/src/shell/shell_config.c b/src/shell/shell_config.c
index ce156c0..b961aca 100755
--- a/src/shell/shell_config.c
+++ b/src/shell/shell_config.c
@@ -27,7 +27,7 @@
             {"duplex", "get", "get duplex mode of a port", "<port_id>" , SW_API_PT_DUPLEX_GET, NULL},
             {"duplex", "set", "set duplex mode of a port", "<port_id> <half|full>", SW_API_PT_DUPLEX_SET, NULL},
             {"speed", "get", "get speed mode of a port", "<port_id>",  SW_API_PT_SPEED_GET, NULL},
-            {"speed", "set", "set speed mode of a port", "<port_id> <10|100|1000>", SW_API_PT_SPEED_SET, NULL},
+            {"speed", "set", "set speed mode of a port", "<port_id> <10|100|1000|2500|5000|10000>", SW_API_PT_SPEED_SET, NULL},
             {"autoAdv", "get", "get auto-negotiation advertisement of a port", "<port_id>", SW_API_PT_AN_ADV_GET, NULL},
             {"autoAdv", "set", "set auto-negotiation advertisement of a port", "<port_id> <cap_bitmap>", SW_API_PT_AN_ADV_SET, NULL},
             {"autoNeg", "get", "get auto-negotiation status of a port", "<port_id>", SW_API_PT_AN_GET, NULL},
diff --git a/src/shell/shell_io.c b/src/shell/shell_io.c
index e5afe23..df0cdc0 100755
--- a/src/shell/shell_io.c
+++ b/src/shell/shell_io.c
@@ -875,6 +875,12 @@
         *arg_val = FAL_SPEED_100;
     else if (!strncasecmp(cmd_str, "1000", 5))
         *arg_val = FAL_SPEED_1000;
+    else if (!strncasecmp(cmd_str, "2500", 5))
+        *arg_val = FAL_SPEED_2500;
+    else if (!strncasecmp(cmd_str, "5000", 5))
+        *arg_val = FAL_SPEED_5000;
+    else if (!strncasecmp(cmd_str, "10000", 6))
+        *arg_val = FAL_SPEED_10000;
     else
     {
         //dprintf("input error \n");
@@ -900,6 +906,18 @@
     {
         dprintf("1000(Mbps)");
     }
+    else if (*(a_uint32_t *) buf == FAL_SPEED_2500)
+    {
+        dprintf("2500(Mbps)");
+    }
+    else if (*(a_uint32_t *) buf == FAL_SPEED_5000)
+    {
+        dprintf("5000(Mbps)");
+    }
+    else if (*(a_uint32_t *) buf == FAL_SPEED_10000)
+    {
+        dprintf("10000(Mbps)");
+    }
     else
     {
         dprintf("UNKNOWN VALUE");