qcacmn: Loopback check for ucast frame after hmmc

Add a check to drop unicast frame being sent to same originating
VAP after hmmc conversion of IGMP control packets

Change-Id: Ic25812a7848af793075a0cb483100ebcf59d85b2
此提交包含在:
Mainak Sen
2019-10-29 13:29:58 +05:30
提交者 nshrivas
父節點 4050a850ac
當前提交 8bc9b42eb3
共有 3 個檔案被更改,包括 36 行新增0 行删除

查看文件

@@ -499,6 +499,8 @@ dp_rx_intrabss_fwd(struct dp_soc *soc,
len = QDF_NBUF_CB_RX_PKT_LEN(nbuf);
memset(nbuf_copy->cb, 0x0, sizeof(nbuf_copy->cb));
/* Set cb->ftype to intrabss FWD */
qdf_nbuf_set_tx_ftype(nbuf_copy, CB_FTYPE_INTRABSS_FWD);
if (dp_tx_send(dp_vdev_to_cdp_vdev(ta_peer->vdev), nbuf_copy)) {
DP_STATS_INC_PKT(ta_peer, rx.intra_bss.fail, 1, len);
tid_stats->fail_cnt[INTRABSS_DROP]++;