qca-wifi: add fils stat variables to apstats

use vdev_cp_stats api to set values for fils stats
for later use.
create new macro for fils to use it in get_priv_int api.

Change-Id: Ia8ce7646c9cfd7904fe7826ca6d3d36aa2f4c14e
This commit is contained in:
Ruben Columbus
2020-07-24 16:18:58 -07:00
committato da Gerrit - the friendly Code Review server
parent 272a0a20aa
commit 0479f052dd
4 ha cambiato i file con 7 aggiunte e 0 eliminazioni

Vedi File

@@ -775,6 +775,7 @@ enum {
IEEE80211_PARAM_CURRENT_PP = 706, /* P Periodicity */
IEEE80211_PARAM_NO_ACT_VAPS = 707, /* Active Vaps */
IEEE80211_PARAM_TX_VAP = 708, /* Current Tx Vap */
IEEE80211_PARAM_FILS_IS_ENABLE = 709, /* Fils enable frames*/
};
enum {

Vedi File

@@ -372,6 +372,8 @@ struct vdev_80211_stats {
uint64_t cs_prob_req_drops;
uint64_t cs_oob_probe_req_count;
uint64_t cs_wc_probe_req_drops;
uint64_t cs_fils_frames_sent;
uint64_t cs_fils_frames_sent_fail;
};
/**

Vedi File

@@ -383,6 +383,8 @@ 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);
UCFG_VDEV_CP_STATS_SET_FUNCS(fils_frames_sent);
UCFG_VDEV_CP_STATS_SET_FUNCS(fils_frames_sent_fail);
#define UCFG_VDEV_CP_STATS_GET_FUNCS(field) \
static inline uint64_t \

Vedi File

@@ -277,6 +277,8 @@ 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);
VDEV_CP_STATS_SET_FUNCS(fils_frames_sent);
VDEV_CP_STATS_SET_FUNCS(fils_frames_sent_fail);
#define VDEV_CP_STATS_GET_FUNCS(field) \
static inline uint64_t \