Merge "[qca-nss-drv]: WDS ageing framework"
diff --git a/exports/nss_dynamic_interface.h b/exports/nss_dynamic_interface.h
index fc1e940..ca41ef2 100644
--- a/exports/nss_dynamic_interface.h
+++ b/exports/nss_dynamic_interface.h
@@ -27,7 +27,7 @@
* @{
*/
-#define NSS_MAX_DYNAMIC_INTERFACES 64 /**< Maximum number of dynamic interfaces. */
+#define NSS_MAX_DYNAMIC_INTERFACES 128 /**< Maximum number of dynamic interfaces. */
/**
* nss_dynamic_interface_type
diff --git a/exports/nss_wifili_if.h b/exports/nss_wifili_if.h
index 9629ea1..d7856f2 100644
--- a/exports/nss_wifili_if.h
+++ b/exports/nss_wifili_if.h
@@ -433,6 +433,7 @@
/**< Rx scatter-gather receive send count. */
uint32_t rx_sg_recv_fail;
/**< Rx scatter-gather receive failure count. */
+ uint32_t rx_me_pkts; /**< Rx multicast echo packets count. */
};
/**
diff --git a/nss_core.h b/nss_core.h
index 286036c..8b69250 100644
--- a/nss_core.h
+++ b/nss_core.h
@@ -604,7 +604,8 @@
NSS_STATS_WIFILI_RX_INTRA_BSS_MCAST, /* Number of packets which wifili send for intra bss mcast packet */
NSS_STATS_WIFILI_RX_INTRA_BSS_MCAST_FAIL, /* Number of packets which wifili send for intra bss mcast packet failed */
NSS_STATS_WIFILI_RX_SG_RCV_SEND, /* Number of packets sg send */
- NSS_STATS_WIFILI_RX_SG_RCV_FAIL, /* Number of packets sg received failure*/
+ NSS_STATS_WIFILI_RX_SG_RCV_FAIL, /* Number of packets sg received failure */
+ NSS_STATS_WIFILI_RX_MCAST_ECHO, /* Number of multicast echo packets received */
NSS_STATS_WIFILI_TX_ENQUEUE, /* Number of packets that got enqueued to wifili */
NSS_STATS_WIFILI_TX_ENQUEUE_DROP, /* Number of packets that dropped during enqueue to wifili */
NSS_STATS_WIFILI_TX_DEQUEUE, /* Number of packets that are dequeued by wifili */
diff --git a/nss_data_plane/nss_data_plane_edma.c b/nss_data_plane/nss_data_plane_edma.c
index 0aca34a..fc64f25 100644
--- a/nss_data_plane/nss_data_plane_edma.c
+++ b/nss_data_plane/nss_data_plane_edma.c
@@ -21,7 +21,7 @@
#define NSS_DP_EDMA_SUPPORTED_FEATURES (NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_FRAGLIST | (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_UFO))
#define NSS_DATA_PLANE_EDMA_MAX_INTERFACES 6
-#define NSS_DATA_PLANE_EDMA_MAX_MTU_SIZE 9000
+#define NSS_DATA_PLANE_EDMA_MAX_MTU_SIZE 9216
#define NSS_DATA_PLANE_EDMA_PREHEADER_SIZE 32
/*
diff --git a/nss_stats.c b/nss_stats.c
index f0343a8..5e4873e 100644
--- a/nss_stats.c
+++ b/nss_stats.c
@@ -559,6 +559,7 @@
"WIFILI_RX_INTRA_BSS_MCAST_FAIL",
"WIFILI_RX_SG_RCV_SEND",
"WIFILI_RX_SG_RCV_FAIL",
+ "WIFILI_RX_MCAST_ECHO",
"WIFILI_TX_ENQUEUE",
"WIFILI_TX_ENQUEUE_DROP",
"WIFILI_TX_DEQUEUE",
diff --git a/nss_wifili.c b/nss_wifili.c
index 70946d5..f5cd3e1 100644
--- a/nss_wifili.c
+++ b/nss_wifili.c
@@ -73,6 +73,8 @@
devstats->rx_data_stats[index].rx_sg_recv_send;
stats->stats_txrx[index][NSS_STATS_WIFILI_RX_SG_RCV_FAIL] +=
devstats->rx_data_stats[index].rx_sg_recv_fail;
+ stats->stats_txrx[index][NSS_STATS_WIFILI_RX_MCAST_ECHO] +=
+ devstats->rx_data_stats[index].rx_me_pkts;
/*
* Tx stats