qcacmn: Use wrapper API to fetch the peer in multipass TX

In the case of MLO sta connection existing API won't be able
to find the mld peer resulting a traffic failure.
Use wrapper API to fetch the peer in multipass TX processing
which will search for both legacy and mld peer.

Change-Id: I161502aba224806914e54a3a04a06b75e52d65bb
CRs-Fixed: 3650259
Esse commit está contido em:
Sai Rupesh Chevuru
2023-10-26 15:03:48 +05:30
commit de Ravindra Konda
commit dbff0444e6

Ver arquivo

@@ -7819,6 +7819,7 @@ uint8_t dp_tx_need_multipass_process(struct dp_soc *soc, struct dp_vdev *vdev,
struct vlan_ethhdr *veh = NULL;
bool not_vlan = ((vdev->tx_encap_type == htt_cmn_pkt_type_raw) ||
(htons(eh->ether_type) != ETH_P_8021Q));
struct cdp_peer_info peer_info = { 0 };
if (qdf_unlikely(not_vlan))
return DP_VLAN_UNTAGGED;
@@ -7843,8 +7844,10 @@ uint8_t dp_tx_need_multipass_process(struct dp_soc *soc, struct dp_vdev *vdev,
return DP_VLAN_UNTAGGED;
}
peer = dp_peer_find_hash_find(soc, eh->ether_dhost, 0, DP_VDEV_ALL,
DP_MOD_ID_TX_MULTIPASS);
DP_PEER_INFO_PARAMS_INIT(&peer_info, DP_VDEV_ALL, eh->ether_dhost,
false, CDP_WILD_PEER_TYPE);
peer = dp_peer_hash_find_wrapper((struct dp_soc *)soc, &peer_info,
DP_MOD_ID_TX_MULTIPASS);
if (qdf_unlikely(!peer))
return DP_VLAN_UNTAGGED;