qca-wifi: add new variables for 5G/6G apstats
add new cs_ type variables to be used with vdev_cp_stats api.
apstats will use updated values and show them when getting called.
Change-Id: Ie90db9dc773c6624c912c62599be615042ebe1dd
diff --git a/tools/linux/cfg80211_ven_cmd.h b/tools/linux/cfg80211_ven_cmd.h
index 48e180f..62bcdf5 100644
--- a/tools/linux/cfg80211_ven_cmd.h
+++ b/tools/linux/cfg80211_ven_cmd.h
@@ -772,6 +772,9 @@
IEEE80211_PARAM_RAWSIM_DEBUG_NUM_ENCAP_FRAMES = 704, /* Sets the number of encap raw frames to dump when debug enabled */
IEEE80211_PARAM_RAWSIM_DEBUG_NUM_DECAP_FRAMES = 705, /* Sets the number of decap raw frames to dump when debug enabled */
#endif /* ATH_PERF_PWR_OFFLOAD && QCA_SUPPORT_RAWMODE_PKT_SIMULATION */
+ IEEE80211_PARAM_CURRENT_PP = 706, /* P Periodicity */
+ IEEE80211_PARAM_NO_ACT_VAPS = 707, /* Active Vaps */
+ IEEE80211_PARAM_TX_VAP = 708, /* Current Tx Vap */
};
enum {
diff --git a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h
index 6df73b2..01433dd 100644
--- a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h
+++ b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_defs.h
@@ -297,6 +297,9 @@
* @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
+ * @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
*/
struct vdev_80211_stats {
uint64_t cs_rx_wrongbss;
@@ -366,6 +369,9 @@
uint64_t cs_peer_delete_resp;
uint64_t cs_peer_delete_all_req;
uint64_t cs_peer_delete_all_resp;
+ uint64_t cs_prob_req_drops;
+ uint64_t cs_oob_probe_req_count;
+ uint64_t cs_wc_probe_req_drops;
};
/**
diff --git a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h
index 270a7e3..3032493 100644
--- a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h
+++ b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_ucfg_api.h
@@ -380,6 +380,9 @@
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);
+UCFG_VDEV_CP_STATS_SET_FUNCS(prob_req_drops);
+UCFG_VDEV_CP_STATS_SET_FUNCS(oob_probe_req_count);
+UCFG_VDEV_CP_STATS_SET_FUNCS(wc_probe_req_drops);
#define UCFG_VDEV_CP_STATS_GET_FUNCS(field) \
static inline uint64_t \
diff --git a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h
index 0ab1f64..b073d62 100644
--- a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h
+++ b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_ic_utils_api.h
@@ -274,6 +274,9 @@
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);
+VDEV_CP_STATS_SET_FUNCS(prob_req_drops);
+VDEV_CP_STATS_SET_FUNCS(oob_probe_req_count);
+VDEV_CP_STATS_SET_FUNCS(wc_probe_req_drops);
#define VDEV_CP_STATS_GET_FUNCS(field) \
static inline uint64_t \