[][openwrt][app][Fix DEBUG_RMON_PORT issue of ethswbox]
[Description]
Fix DEBUG_RMON_PORT issue of ethswbox
[Release-log]
N/A
Change-Id: I7944282d11ff23d6c966a6acf099f7e895e3964a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9526937
diff --git a/feed/app/ethswbox/src/example/cli/cmds/cmds_fapi.c b/feed/app/ethswbox/src/example/cli/cmds/cmds_fapi.c
index 584f46e..ce96191 100644
--- a/feed/app/ethswbox/src/example/cli/cmds/cmds_fapi.c
+++ b/feed/app/ethswbox/src/example/cli/cmds/cmds_fapi.c
@@ -1700,10 +1700,9 @@
if (pArgs->prmc < 2)
{
- printf ("Usage: fapi-GSW-Debug-RMON-Port-Get nPortId=<> ePortType=<> b64BitMode=<>\n");
+ printf ("Usage: fapi-GSW-Debug-RMON-Port-Get nPortId=<> ePortType=<>\n");
printf("nPortId=<>\n");
printf("ePortType=<>\n");
- printf("b64BitMode=<>\n");
goto goto_end_help;
}
diff --git a/feed/app/ethswbox/src/example/fapi/fapi_gsw_hostapi.c b/feed/app/ethswbox/src/example/fapi/fapi_gsw_hostapi.c
index 5e72d92..fb9043e 100644
--- a/feed/app/ethswbox/src/example/fapi/fapi_gsw_hostapi.c
+++ b/feed/app/ethswbox/src/example/fapi/fapi_gsw_hostapi.c
@@ -5029,8 +5029,6 @@
return OS_ERROR;
}
- scanParamArg(prmc, prmv, "b64BitMode", sizeof(sVar.b64BitMode), &sVar.b64BitMode);
-
gsw_dev = gsw_get_struc(lif_id,0);
ret = GSW_Debug_RMON_Port_Get(gsw_dev, &sVar);
if (ret < 0)
diff --git a/feed/app/ethswbox/src/switch_hostapi/include/gswip/gsw_rmon.h b/feed/app/ethswbox/src/switch_hostapi/include/gswip/gsw_rmon.h
index 326cb12..76fb79e 100644
--- a/feed/app/ethswbox/src/switch_hostapi/include/gswip/gsw_rmon.h
+++ b/feed/app/ethswbox/src/switch_hostapi/include/gswip/gsw_rmon.h
@@ -384,8 +384,6 @@
\ref GSW_RMON_portType_t**/
GSW_RMON_portType_t ePortType;
/*Applicable only for GSWIP 3.1*/
- gsw_bool_t b64BitMode;
- /*Applicable only for GSWIP 3.1*/
u32 nRxExtendedVlanDiscardPkts;
/*Applicable only for GSWIP 3.1*/
u32 nMtuExceedDiscardPkts;