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
Tento commit je obsažen v:
Naga
2019-06-24 17:17:30 +05:30
rodič daa6bcf667
revize 43742fe519
3 změnil soubory, kde provedl 8 přidání a 0 odebrání

Zobrazit soubor

@@ -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;
};
/**

Zobrazit soubor

@@ -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 \

Zobrazit soubor

@@ -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 \