qcacmn: Deliver STP pkts from wbm exception path

Vlan tagged STP pkts are received in host from
wbm exception path with wifi parse error code.
This is delivered to stack. Stats added for wifi
parse error and vlan tagged stp pkt count.

Change-Id: I25af5ab403ee7a46b4abe2f60328314d61587b80
CRs-fixed: 2375575
This commit is contained in:
sumedh baikady
2018-12-28 15:26:08 -08:00
parent 2698eab0b5
commit c2fa7c99c0
5 changed files with 72 additions and 22 deletions

View File

@@ -1144,6 +1144,7 @@ struct cdp_htt_rx_pdev_stats {
* @mec:Multicast Echo check
* @mesh_filter: Mesh Filtered packets
* @mon_rx_drop: packets dropped on monitor vap
* @wifi_parse: rxdma errors due to wifi parse error
* @pkts: total packets replenished
* @rxdma_err: rxdma errors for replenished
* @nbuf_alloc_fail: nbuf alloc failed
@@ -1154,6 +1155,7 @@ struct cdp_htt_rx_pdev_stats {
* @mesh_mem_alloc: Mesh Rx Stats Alloc fail
* @tso_desc_cnt: TSO descriptors
* @sg_desc_cnt: SG Descriptors
* @vlan_tag_stp_cnt: Vlan tagged Stp packets in wifi parse error
* @desc_alloc_fail: desc alloc failed errors
* @ip_csum_err: ip checksum errors
* @tcp_udp_csum_err: tcp/udp checksum errors
@@ -1173,6 +1175,7 @@ struct cdp_pdev_stats {
uint32_t mec;
uint32_t mesh_filter;
uint32_t mon_rx_drop;
uint32_t wifi_parse;
} dropped;
struct {
@@ -1188,6 +1191,7 @@ struct cdp_pdev_stats {
uint32_t mesh_mem_alloc;
uint32_t tso_desc_cnt;
uint32_t sg_desc_cnt;
uint32_t vlan_tag_stp_cnt;
/* Rx errors */
struct {