qcacmn: Replace void * data members of cp_stats with specific type
Replace cp_stats void * data members having different types across different drivers with specific type Change-Id: I5497df358e495aaf187097b093622b34ab637f42 CRs-Fixed: 2477447
Dieser Commit ist enthalten in:

committet von
nshrivas

Ursprung
bf06e91c8c
Commit
d9f04e1c71
@@ -35,6 +35,7 @@
|
||||
#include <wlan_objmgr_peer_obj.h>
|
||||
#include "wlan_cp_stats_cmn_defs.h"
|
||||
#include <wlan_cp_stats_utils_api.h>
|
||||
#include <wlan_cp_stats_ext_type.h>
|
||||
|
||||
/* noise floor */
|
||||
#define CP_STATS_TGT_NOISE_FLOOR_DBM (-96)
|
||||
@@ -52,7 +53,7 @@ struct psoc_cp_stats {
|
||||
void *psoc_comp_priv_obj[WLAN_CP_STATS_MAX_COMPONENTS];
|
||||
qdf_spinlock_t psoc_cp_stats_lock;
|
||||
struct psoc_cmn_cp_stats *cmn_stats;
|
||||
void *obj_stats;
|
||||
psoc_ext_cp_stats_t *obj_stats;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -64,7 +65,7 @@ struct psoc_cp_stats {
|
||||
*/
|
||||
struct pdev_cp_stats {
|
||||
struct wlan_objmgr_pdev *pdev_obj;
|
||||
void *pdev_stats;
|
||||
pdev_ext_cp_stats_t *pdev_stats;
|
||||
void *pdev_comp_priv_obj[WLAN_CP_STATS_MAX_COMPONENTS];
|
||||
qdf_spinlock_t pdev_cp_stats_lock;
|
||||
};
|
||||
@@ -77,8 +78,8 @@ struct pdev_cp_stats {
|
||||
* @vdev_cp_stats_lock: lock to protect object
|
||||
*/
|
||||
struct vdev_cp_stats {
|
||||
struct wlan_objmgr_vdev *vdev_obj;
|
||||
void *vdev_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;
|
||||
};
|
||||
@@ -91,8 +92,8 @@ struct vdev_cp_stats {
|
||||
* @peer_cp_stats_lock: lock to protect object
|
||||
*/
|
||||
struct peer_cp_stats {
|
||||
struct wlan_objmgr_peer *peer_obj;
|
||||
void *peer_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;
|
||||
};
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren