qcacmn: Send EAPOL pkt to stack in rx_err path
Send only eapol packets to stack and drop other packets when found in rx err path when either REO or RXDMA push reason is set to ROUTE type. Change-Id: If1f43426adf21f7d00f17d369cd7fde7f7f85866 CRs-Fixed: 3114312
This commit is contained in:

committed by
Madan Koyyalamudi

parent
ebf445a844
commit
f54a51648c
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -1763,7 +1763,6 @@ dp_rx_deliver_to_osif_stack(struct dp_soc *soc,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_SUPPORT_RX_PROTOCOL_TYPE_TAG
|
||||
#if defined(WLAN_FEATURE_11BE_MLO) && defined(WLAN_MLO_MULTI_CHIP) && \
|
||||
defined(WLAN_MCAST_MLO)
|
||||
static bool dp_rx_igmp_handler(struct dp_soc *soc,
|
||||
@@ -1908,21 +1907,6 @@ drop_nbuf:
|
||||
|
||||
qdf_nbuf_free(nbuf);
|
||||
}
|
||||
#else
|
||||
|
||||
static void
|
||||
dp_rx_err_route_hdl(struct dp_soc *soc, qdf_nbuf_t nbuf,
|
||||
struct dp_peer *peer, uint8_t *rx_tlv_hdr,
|
||||
enum hal_rx_wbm_error_source err_src)
|
||||
{
|
||||
DP_STATS_INCC(soc, rx.reo2rel_route_drop, 1,
|
||||
err_src == HAL_RX_WBM_ERR_SRC_REO);
|
||||
DP_STATS_INCC(soc, rx.rxdma2rel_route_drop, 1,
|
||||
err_src == HAL_RX_WBM_ERR_SRC_RXDMA);
|
||||
|
||||
qdf_nbuf_free(nbuf);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef QCA_HOST_MODE_WIFI_DISABLED
|
||||
|
||||
|
Reference in New Issue
Block a user