qcacmn: Remove void ptr usage in DP cal client
Make change to remove void pointer usage in DP cal client instead use cdp opaque pointers. Change-Id: Ie966ebb7b6bb937d4ee1d6dce3b040804e61ac37 Crs-Fixed: 2484412
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2019 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
|
||||
@@ -26,31 +26,34 @@
|
||||
#include<cdp_txrx_stats_struct.h>
|
||||
#include <qdf_timer.h>
|
||||
#include <qdf_mem.h>
|
||||
#include <cdp_txrx_handle.h>
|
||||
|
||||
/*timer will run every 1 sec*/
|
||||
#define DP_CAL_CLIENT_TIME 1000
|
||||
|
||||
struct cal_client {
|
||||
qdf_timer_t cal_client_timer;
|
||||
void (*iterate_update_peer_list)(void *ctx);
|
||||
void *pdev_hdl;
|
||||
void (*iterate_update_peer_list)(struct cdp_pdev *ctx);
|
||||
struct cdp_pdev *pdev_hdl;
|
||||
};
|
||||
|
||||
void dp_cal_client_attach(void **cal_client_ctx, void *pdev, qdf_device_t osdev,
|
||||
void (*iterate_peer_list)(void *));
|
||||
void dp_cal_client_detach(void **cal_client_ctx);
|
||||
void dp_cal_client_attach(struct cdp_cal_client **cal_client_ctx,
|
||||
struct cdp_pdev *pdev, qdf_device_t osdev,
|
||||
void (*iterate_peer_list)(struct cdp_pdev *));
|
||||
void dp_cal_client_detach(struct cdp_cal_client **cal_client_ctx);
|
||||
void dp_cal_client_timer_start(void *ctx);
|
||||
void dp_cal_client_timer_stop(void *ctx);
|
||||
void dp_cal_client_stats_timer_fn(void *pdev_hdl);
|
||||
void dp_cal_client_update_peer_stats(struct cdp_peer_stats *peer_stats);
|
||||
|
||||
#ifndef ATH_SUPPORT_EXT_STAT
|
||||
void dp_cal_client_attach(void **cal_client_ctx, void *pdev, qdf_device_t osdev,
|
||||
void (*iterate_peer_list)(void *))
|
||||
void dp_cal_client_attach(struct cdp_cal_client **cal_client_ctx,
|
||||
struct cdp_pdev *pdev, qdf_device_t osdev,
|
||||
void (*iterate_peer_list)(struct cdp_pdev *))
|
||||
{
|
||||
}
|
||||
|
||||
void dp_cal_client_detach(void **cal_client_ctx)
|
||||
void dp_cal_client_detach(struct cdp_cal_client **cal_client_ctx)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user