Browse Source

qcacmn: Remove vdev wds enable check for intra-bss fwd

Currently wds enable for vdev conditional check is there for
intra bss rx forward. This check will break the intra bss for
the platforms which does not support WDS feature. In this change
remove the wds enable check for dp vdev.

Change-Id: Ib61c53734254b768902704ccb0e2a5c9b53f35f1
CRs-Fixed: 2303905
Sravan Kumar Kairam 6 năm trước cách đây
mục cha
commit
d7d1d6707f
1 tập tin đã thay đổi với 5 bổ sung7 xóa
  1. 5 7
      dp/wifi3.0/dp_rx.c

+ 5 - 7
dp/wifi3.0/dp_rx.c

@@ -1659,14 +1659,12 @@ done:
 #endif /* NAPIER_EMULATION */
 
 		if (qdf_likely(vdev->rx_decap_type ==
-					htt_cmn_pkt_type_ethernet) &&
-				(qdf_likely(!vdev->mesh_vdev)) &&
-				(vdev->wds_enabled)) {
+			       htt_cmn_pkt_type_ethernet) &&
+		    qdf_likely(!vdev->mesh_vdev)) {
 			/* WDS Source Port Learning */
-			dp_rx_wds_srcport_learn(soc,
-						rx_tlv_hdr,
-						peer,
-						nbuf);
+			if (vdev->wds_enabled)
+				dp_rx_wds_srcport_learn(soc, rx_tlv_hdr,
+							peer, nbuf);
 
 			/* Intrabss-fwd */
 			if (dp_rx_check_ap_bridge(vdev))