DA based port learning is not required for HKv2 as this issue is fixed in HKv2 Hardware CRs-Fixed: 2329920 Change-Id: If006ce8fe5eb5d7e26ba4d30fd1d9cd43d5da480
@@ -354,6 +354,10 @@ dp_rx_da_learn(struct dp_soc *soc,
struct dp_peer *ta_peer,
qdf_nbuf_t nbuf)
{
+ /* For HKv2 DA port learing is not needed */
+ if (qdf_likely(soc->ast_override_support))
+ return;
+
if (ta_peer && (ta_peer->vdev->opmode != wlan_op_mode_ap))
return;