|
@@ -1,5 +1,6 @@
|
|
|
/*
|
|
|
* Copyright (c) 2018-2019, 2021 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. 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
|
|
@@ -90,12 +91,16 @@ struct pdev_cp_stats {
|
|
|
* @vdev_stats: pointer to ic/mc specific stats
|
|
|
* @vdev_comp_priv_obj[]: component's private object pointers
|
|
|
* @vdev_cp_stats_lock: lock to protect object
|
|
|
+ * @ucast_rx_pnerr_stats_inc: callback function to update rx PN error stats
|
|
|
*/
|
|
|
struct vdev_cp_stats {
|
|
|
struct wlan_objmgr_vdev *vdev_obj;
|
|
|
vdev_ext_cp_stats_t *vdev_stats;
|
|
|
void *vdev_comp_priv_obj[WLAN_CP_STATS_MAX_COMPONENTS];
|
|
|
qdf_spinlock_t vdev_cp_stats_lock;
|
|
|
+ void (*ucast_rx_pnerr_stats_inc)(
|
|
|
+ struct wlan_objmgr_vdev *vdev,
|
|
|
+ uint64_t val);
|
|
|
};
|
|
|
|
|
|
/**
|
|
@@ -104,12 +109,14 @@ struct vdev_cp_stats {
|
|
|
* @peer_stats: pointer to ic/mc specific stats
|
|
|
* @peer_comp_priv_obj[]: component's private object pointers
|
|
|
* @peer_cp_stats_lock: lock to protect object
|
|
|
+ * @rx_pnerr_stats_inc: callback function to update rx PN error stats
|
|
|
*/
|
|
|
struct peer_cp_stats {
|
|
|
struct wlan_objmgr_peer *peer_obj;
|
|
|
peer_ext_cp_stats_t *peer_stats;
|
|
|
void *peer_comp_priv_obj[WLAN_CP_STATS_MAX_COMPONENTS];
|
|
|
qdf_spinlock_t peer_cp_stats_lock;
|
|
|
+ void (*rx_pnerr_stats_inc)(struct wlan_objmgr_peer *peer, uint32_t val);
|
|
|
};
|
|
|
|
|
|
/**
|