Browse Source

qca-wifi: populate vdev extension statistics

populated fils discovery, unsolicited probe response from
vdev extension stats and populated to APSTATS.

Change-Id: Ia7c18a07428a73d445b8a85169a4dd8f053d9cc6
nobelj 4 năm trước cách đây
mục cha
commit
a54788cb56

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

@@ -300,6 +300,10 @@ struct pdev_ic_cp_stats {
  * @prob_req_drops: no of probe requests drops
  * @oob_probe_req_count: no of out of band probe requests
  * @wc_probe_req_drops: no of wildcard probe requests drops
+ * @cs_fils_frames_sent: fils discovery sent success count
+ * @cs_fils_frames_sent_fail: fils discovery sent success count
+ * @cs_tx_offload_prb_resp_succ_cnt: Offload probe response success count
+ * @cs_tx_offload_prb_resp_fail_cnt: Offload probe response fail count
  */
 struct vdev_80211_stats {
 	uint64_t cs_rx_wrongbss;
@@ -374,6 +378,8 @@ struct vdev_80211_stats {
 	uint64_t cs_wc_probe_req_drops;
 	uint64_t cs_fils_frames_sent;
 	uint64_t cs_fils_frames_sent_fail;
+	uint64_t cs_tx_offload_prb_resp_succ_cnt;
+	uint64_t cs_tx_offload_prb_resp_fail_cnt;
 };
 
 /**

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

@@ -385,6 +385,8 @@ UCFG_VDEV_CP_STATS_SET_FUNCS(oob_probe_req_count);
 UCFG_VDEV_CP_STATS_SET_FUNCS(wc_probe_req_drops);
 UCFG_VDEV_CP_STATS_SET_FUNCS(fils_frames_sent);
 UCFG_VDEV_CP_STATS_SET_FUNCS(fils_frames_sent_fail);
+UCFG_VDEV_CP_STATS_SET_FUNCS(tx_offload_prb_resp_succ_cnt);
+UCFG_VDEV_CP_STATS_SET_FUNCS(tx_offload_prb_resp_fail_cnt);
 
 #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

@@ -279,6 +279,8 @@ VDEV_CP_STATS_SET_FUNCS(oob_probe_req_count);
 VDEV_CP_STATS_SET_FUNCS(wc_probe_req_drops);
 VDEV_CP_STATS_SET_FUNCS(fils_frames_sent);
 VDEV_CP_STATS_SET_FUNCS(fils_frames_sent_fail);
+VDEV_CP_STATS_SET_FUNCS(tx_offload_prb_resp_succ_cnt);
+VDEV_CP_STATS_SET_FUNCS(tx_offload_prb_resp_fail_cnt);
 
 #define VDEV_CP_STATS_GET_FUNCS(field) \
 	static inline uint64_t \