[][openwrt][openwrt][app][Fix BridgePortConfigSet issue of ethswbox]
[Description]
Fix BridgePortConfigSet issue of ethswbox
[Release-log]
N/A
Change-Id: Id012fc9751da1c2f491f5713df3bd854138b7aee
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9574768
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 fb9043e..f435e5a 100644
--- a/feed/app/ethswbox/src/example/fapi/fapi_gsw_hostapi.c
+++ b/feed/app/ethswbox/src/example/fapi/fapi_gsw_hostapi.c
@@ -2024,11 +2024,6 @@
scanParamArg(prmc, prmv, "nEgressVlanFilter2BlockId", sizeof(sVar.nEgressVlanFilter2BlockId), &sVar.nEgressVlanFilter2BlockId);
- scanParamArg(prmc, prmv, "bIngressVlanBasedMacLearningEnable", sizeof(sVar.bIngressVlanBasedMacLearningEnable), &sVar.bIngressVlanBasedMacLearningEnable);
- if (findStringParam(prmc, prmv, "bIngressVlanBasedMacLearningEnable")) {
- sVar.eMask |= GSW_BRIDGE_PORT_CONFIG_MASK_VLAN_BASED_MAC_LEARNING;
- }
-
scanParamArg(prmc, prmv, "bVlanTagSelection", sizeof(sVar.bVlanTagSelection), &sVar.bVlanTagSelection);
scanParamArg(prmc, prmv, "bVlanSrcMacPriorityEnable", sizeof(sVar.bVlanSrcMacPriorityEnable), &sVar.bVlanSrcMacPriorityEnable);
scanParamArg(prmc, prmv, "bVlanSrcMacDEIEnable", sizeof(sVar.bVlanSrcMacDEIEnable), &sVar.bVlanSrcMacDEIEnable);
@@ -2036,10 +2031,6 @@
scanParamArg(prmc, prmv, "bVlanDstMacPriorityEnable", sizeof(sVar.bVlanDstMacPriorityEnable), &sVar.bVlanDstMacPriorityEnable);
scanParamArg(prmc, prmv, "bVlanDstMacDEIEnable", sizeof(sVar.bVlanDstMacDEIEnable), &sVar.bVlanDstMacDEIEnable);
scanParamArg(prmc, prmv, "bVlanDstMacVidEnable", sizeof(sVar.bVlanDstMacVidEnable), &sVar.bVlanDstMacVidEnable);
- scanParamArg(prmc, prmv, "bVlanBasedMultiCastLookup", sizeof(sVar.bVlanBasedMultiCastLookup), &sVar.bVlanBasedMultiCastLookup);
- if (findStringParam(prmc, prmv, "bVlanBasedMultiCastLookup")) {
- sVar.eMask |= GSW_BRIDGE_PORT_CONFIG_MASK_VLAN_BASED_MULTICAST_LOOKUP;
- }
scanParamArg(prmc, prmv, "bVlanMulticastPriorityEnable", sizeof(sVar.bVlanMulticastPriorityEnable), &sVar.bVlanMulticastPriorityEnable);
scanParamArg(prmc, prmv, "bVlanMulticastDEIEnable", sizeof(sVar.bVlanMulticastDEIEnable), &sVar.bVlanMulticastDEIEnable);
diff --git a/feed/app/ethswbox/src/switch_hostapi/include/gswip/gsw.h b/feed/app/ethswbox/src/switch_hostapi/include/gswip/gsw.h
index 29aca91..3942e53 100644
--- a/feed/app/ethswbox/src/switch_hostapi/include/gswip/gsw.h
+++ b/feed/app/ethswbox/src/switch_hostapi/include/gswip/gsw.h
@@ -495,8 +495,6 @@
If it is 0, the block size of nEgressVlanFilter2BlockId will be used.
Otherwise, this field will be used. */
u16 nEgressVlanFilter2BlockSize;
- /** Enable Ingress VLAN Based Mac Learning */
- gsw_bool_t bIngressVlanBasedMacLearningEnable;
/** 0 - Intermediate outer VLAN
tag is used for MAC address/multicast
learning, lookup and filtering.
@@ -544,8 +542,6 @@
filtering. */
gsw_bool_t bVlanDstMacVidEnable;
- /** Enable, VLAN Based Multicast Lookup */
- gsw_bool_t bVlanBasedMultiCastLookup;
/** 0 - Disable, VLAN Priority field is not used
and value 0 is used for IP multicast lookup.
1 - Enable, VLAN Priority field is used for IP