qcacmn: Add APIs to get peer delete req and resp stats

Add APIs to get peer delete, peer delete all request and response stats.

Change-Id: I8a14e72c3ae71706c66af1c26498495fabdf2391
CRs-Fixed: 2610303
Cette révision appartient à :
Naga
2020-01-22 16:51:32 +05:30
révisé par Gerrit - the friendly Code Review server
Parent 46b3231f9f
révision 3a2fd4fca1
2 fichiers modifiés avec 10 ajouts et 2 suppressions

Voir le fichier

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2018, 2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -398,6 +398,10 @@ UCFG_VDEV_CP_STATS_SET_FUNCS(peer_delete_all_resp);
UCFG_VDEV_CP_STATS_GET_FUNCS(rx_wrongbss);
UCFG_VDEV_CP_STATS_GET_FUNCS(rx_wrongdir);
UCFG_VDEV_CP_STATS_GET_FUNCS(rx_ssid_mismatch);
UCFG_VDEV_CP_STATS_GET_FUNCS(peer_delete_req);
UCFG_VDEV_CP_STATS_GET_FUNCS(peer_delete_resp);
UCFG_VDEV_CP_STATS_GET_FUNCS(peer_delete_all_req);
UCFG_VDEV_CP_STATS_GET_FUNCS(peer_delete_all_resp);
#define UCFG_VDEV_UCAST_CP_STATS_SET_FUNCS(field) \
static inline void \

Voir le fichier

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2018, 2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -276,6 +276,10 @@ VDEV_CP_STATS_SET_FUNCS(peer_delete_all_resp);
VDEV_CP_STATS_GET_FUNCS(rx_wrongbss);
VDEV_CP_STATS_GET_FUNCS(rx_wrongdir);
VDEV_CP_STATS_GET_FUNCS(rx_ssid_mismatch);
VDEV_CP_STATS_GET_FUNCS(peer_delete_req);
VDEV_CP_STATS_GET_FUNCS(peer_delete_resp);
VDEV_CP_STATS_GET_FUNCS(peer_delete_all_req);
VDEV_CP_STATS_GET_FUNCS(peer_delete_all_resp);
static inline void vdev_cp_stats_reset(struct wlan_objmgr_vdev *vdev)
{