qcacmn: Fix multicast traffic failure in QWRAP repeater

In the case of qwrap repeater, send the original packet on the
interface where it received and send the packet with dummy src
on the mcast primary interface

Change-Id: I08f64559ff2a9430b140c962117d4d71ab684b8d
CRs-Fixed: 3214360
This commit is contained in:
Abishek Ganapathy
2022-06-15 16:58:44 +05:30
committed by Madan Koyyalamudi
parent d5720bc4a3
commit 87190fa5f8
4 changed files with 26 additions and 3 deletions

View File

@@ -6546,6 +6546,7 @@ static QDF_STATUS dp_vdev_attach_wifi3(struct cdp_soc_t *cdp_soc,
vdev->drop_unenc = 1;
vdev->sec_type = cdp_sec_type_none;
vdev->multipass_en = false;
vdev->wrap_vdev = false;
dp_vdev_init_rx_eapol(vdev);
qdf_atomic_init(&vdev->ref_cnt);
for (i = 0; i < DP_MOD_ID_MAX; i++)
@@ -10316,6 +10317,9 @@ dp_set_vdev_param(struct cdp_soc_t *cdp_soc, uint8_t vdev_id,
val.cdp_drop_3addr_mcast);
vdev->drop_3addr_mcast = val.cdp_drop_3addr_mcast;
break;
case CDP_ENABLE_WRAP:
vdev->wrap_vdev = val.cdp_vdev_param_wrap;
break;
default:
break;
}