Преглед изворни кода

qca-wifi: Add cp_stats support for vdev delete all peer

Add counters for vdev delete all peer requests
and responses in cp_state component.

Change-Id: Ifbd9a35abe32b3e20db1ac784e1db78b415e46f2
CRs-Fixed: 2477610
Naga пре 6 година
родитељ
комит
43742fe519

+ 4 - 0
umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h

@@ -295,6 +295,8 @@ struct pdev_ic_cp_stats {
  * @authorize_success: no of Authorization successful
  * @peer_delete_req: no of peer delete req sent to target
  * @peer_delete_resp: no of peer delete resp rcvd from target
+ * @peer_delete_all_req: no of peer delete all req sent to target
+ * @peer_delete_all_resp: no of peer delete all resp rcvd from target
  */
 struct vdev_80211_stats {
 	uint64_t cs_rx_wrongbss;
@@ -362,6 +364,8 @@ struct vdev_80211_stats {
 	uint64_t cs_authorize_success;
 	uint64_t cs_peer_delete_req;
 	uint64_t cs_peer_delete_resp;
+	uint64_t cs_peer_delete_all_req;
+	uint64_t cs_peer_delete_all_resp;
 };
 
 /**

+ 2 - 0
umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h

@@ -378,6 +378,8 @@ UCFG_VDEV_CP_STATS_SET_FUNCS(authorize_attempt);
 UCFG_VDEV_CP_STATS_SET_FUNCS(authorize_success);
 UCFG_VDEV_CP_STATS_SET_FUNCS(peer_delete_req);
 UCFG_VDEV_CP_STATS_SET_FUNCS(peer_delete_resp);
+UCFG_VDEV_CP_STATS_SET_FUNCS(peer_delete_all_req);
+UCFG_VDEV_CP_STATS_SET_FUNCS(peer_delete_all_resp);
 
 #define UCFG_VDEV_CP_STATS_GET_FUNCS(field) \
 	static inline uint64_t \

+ 2 - 0
umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h

@@ -261,6 +261,8 @@ VDEV_CP_STATS_SET_FUNCS(authorize_attempt);
 VDEV_CP_STATS_SET_FUNCS(authorize_success);
 VDEV_CP_STATS_SET_FUNCS(peer_delete_req);
 VDEV_CP_STATS_SET_FUNCS(peer_delete_resp);
+VDEV_CP_STATS_SET_FUNCS(peer_delete_all_req);
+VDEV_CP_STATS_SET_FUNCS(peer_delete_all_resp);
 
 #define VDEV_CP_STATS_GET_FUNCS(field) \
 	static inline uint64_t \