Эх сурвалжийг харах

Merge "qca-wifi: Move peer delete req/resp stats from pdev to vdev"

Linux Build Service Account 6 жил өмнө
parent
commit
d3daa53e99

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

@@ -129,8 +129,6 @@ struct pdev_80211_stats {
 	uint64_t cs_wmi_tx_mgmt;
 	uint64_t cs_wmi_tx_mgmt_completions;
 	uint32_t cs_wmi_tx_mgmt_completion_err;
-	uint32_t cs_peer_delete_req;
-	uint32_t cs_peer_delete_resp;
 	uint32_t cs_rx_mgmt_rssi_drop;
 	uint32_t cs_tx_retries;
 	uint32_t cs_tx_frame_count;
@@ -295,6 +293,8 @@ struct pdev_ic_cp_stats {
  * @mlme_auth_success: no of 802.11 MLME Auth Success
  * @authorize_attempt: no of Authorization Attempt
  * @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
  */
 struct vdev_80211_stats {
 	uint64_t cs_rx_wrongbss;
@@ -360,6 +360,8 @@ struct vdev_80211_stats {
 	uint64_t cs_mlme_auth_success;
 	uint64_t cs_authorize_attempt;
 	uint64_t cs_authorize_success;
+	uint64_t cs_peer_delete_req;
+	uint64_t cs_peer_delete_resp;
 };
 
 /**

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

@@ -102,8 +102,6 @@ UCFG_PDEV_CP_STATS_SET_FUNCS(chan_nf_sec80);
 UCFG_PDEV_CP_STATS_SET_FUNCS(wmi_tx_mgmt);
 UCFG_PDEV_CP_STATS_SET_FUNCS(wmi_tx_mgmt_completions);
 UCFG_PDEV_CP_STATS_SET_FUNCS(wmi_tx_mgmt_completion_err);
-UCFG_PDEV_CP_STATS_SET_FUNCS(peer_delete_req);
-UCFG_PDEV_CP_STATS_SET_FUNCS(peer_delete_resp);
 UCFG_PDEV_CP_STATS_SET_FUNCS(rx_mgmt_rssi_drop);
 UCFG_PDEV_CP_STATS_SET_FUNCS(tx_retries);
 UCFG_PDEV_CP_STATS_SET_FUNCS(tx_frame_count);
@@ -378,6 +376,8 @@ UCFG_VDEV_CP_STATS_SET_FUNCS(mlme_auth_attempt);
 UCFG_VDEV_CP_STATS_SET_FUNCS(mlme_auth_success);
 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);
 
 #define UCFG_VDEV_CP_STATS_GET_FUNCS(field) \
 	static inline uint64_t \

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

@@ -259,6 +259,8 @@ VDEV_CP_STATS_SET_FUNCS(mlme_auth_attempt);
 VDEV_CP_STATS_SET_FUNCS(mlme_auth_success);
 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);
 
 #define VDEV_CP_STATS_GET_FUNCS(field) \
 	static inline uint64_t \
@@ -326,8 +328,6 @@ PDEV_CP_STATS_SET_FUNCS(chan_nf_sec80);
 PDEV_CP_STATS_SET_FUNCS(wmi_tx_mgmt);
 PDEV_CP_STATS_SET_FUNCS(wmi_tx_mgmt_completions);
 PDEV_CP_STATS_SET_FUNCS(wmi_tx_mgmt_completion_err);
-PDEV_CP_STATS_SET_FUNCS(peer_delete_req);
-PDEV_CP_STATS_SET_FUNCS(peer_delete_resp);
 PDEV_CP_STATS_SET_FUNCS(rx_mgmt_rssi_drop);
 PDEV_CP_STATS_SET_FUNCS(tx_retries);
 PDEV_CP_STATS_SET_FUNCS(tx_frame_count);