qcacmn: Send VLAN LLC frames to stack

VLAN LLC frames were dropped, instead these frames
are now given to stack for further processing.

Change-Id: Icaffc2e4755036fca0e2f606e29b41c58364e329
CRs-Fixed: 2508086
This commit is contained in:
Tallapragada Kalyan
2019-08-14 20:28:03 +05:30
committed by nshrivas
parent 82a4606b8b
commit ab357a99ff

View File

@@ -931,17 +931,16 @@ dp_rx_process_rxdma_err(struct dp_soc *soc, qdf_nbuf_t nbuf,
uint8_t *pkt_type; uint8_t *pkt_type;
pkt_type = qdf_nbuf_data(nbuf) + (2 * QDF_MAC_ADDR_SIZE); pkt_type = qdf_nbuf_data(nbuf) + (2 * QDF_MAC_ADDR_SIZE);
if (*(uint16_t *)pkt_type == htons(QDF_ETH_TYPE_8021Q) && if (*(uint16_t *)pkt_type == htons(QDF_ETH_TYPE_8021Q)) {
*(uint16_t *)(pkt_type + DP_SKIP_VLAN) == htons(QDF_LLC_STP)) { if (*(uint16_t *)(pkt_type + DP_SKIP_VLAN) ==
DP_STATS_INC(vdev->pdev, vlan_tag_stp_cnt, 1); htons(QDF_LLC_STP)) {
goto process_mesh; DP_STATS_INC(vdev->pdev, vlan_tag_stp_cnt, 1);
} else { goto process_mesh;
DP_STATS_INC(vdev->pdev, dropped.wifi_parse, 1); } else {
qdf_nbuf_free(nbuf); goto process_rx;
return; }
} }
} }
if (vdev->rx_decap_type == htt_cmn_pkt_type_raw) if (vdev->rx_decap_type == htt_cmn_pkt_type_raw)
goto process_mesh; goto process_mesh;