qcacmn: NAWDS multicast issue CR2130039

Multicast frames in NAWDS mode causing flood of packets between the
nawds enabled AP's due to continuous sending of mutlicast frames received
from  another AP and vicevera.Resolved the issues by droppping the 3
address Multicast frames and 4 address multicast frames with sa_peer
same as tx_peer.

Change-Id: I5edbcb060720510eb6ea5f5ffd46402535ba6748
CRs-Fixed: 2130039
This commit is contained in:
Ruchi, Agrawal
2017-11-03 17:24:56 +05:30
committed by snandini
parent 7b59903d41
commit bd894b3bb9
5 changed files with 156 additions and 38 deletions

View File

@@ -744,6 +744,10 @@ struct cdp_tx_stats {
struct cdp_pkt_info ucast;
/* Multicast Packet Count */
struct cdp_pkt_info mcast;
/*NAWDS Multicast Packet Count */
struct cdp_pkt_info nawds_mcast;
/*NAWDS Multicast Drop Count */
uint32_t nawds_mcast_drop;
/* Successful Tx Packets */
struct cdp_pkt_info tx_success;
/* Total Tx failure */
@@ -809,6 +813,8 @@ struct cdp_rx_stats {
struct cdp_pkt_info wds;
/* Raw Pakets received */
struct cdp_pkt_info raw;
/* Total multicast packets */
struct cdp_pkt_info nawds_mcast_drop;
struct {
/* Intra BSS packets received */
@@ -863,6 +869,8 @@ struct cdp_tx_ingress_stats {
struct cdp_pkt_info reinject_pkts;
/* Total packets passed to inspect handler */
struct cdp_pkt_info inspect_pkts;
/*NAWDS Multicast Packet Count */
struct cdp_pkt_info nawds_mcast;
struct {
/* Total Raw packets */