mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
qcacld-3.0: Remove legacy implementation of stats event handler
Driver has a stats infrastructure and all the stats related commands are using this infrastructure and for this target_if_mc_cp_stats_stats_event_handler is getting used. Remove legacy implementation of stats event handler wma_stats_event_handler and related APIs. With this change remove unused structures also. Change-Id: I9a892b5f7486a406654256fc2cc8177f2fafe790 CRs-Fixed: 2481937
This commit is contained in:
parent
c856628d47
commit
1ac4188eb5
17 changed files with 6 additions and 899 deletions
|
|
@ -33,9 +33,7 @@
|
|||
#include <qdf_mem.h>
|
||||
#include <wlan_utility.h>
|
||||
#include <wlan_reg_services_api.h>
|
||||
#ifdef QCA_SUPPORT_CP_STATS
|
||||
#include "wlan_cfg80211_mc_cp_stats.h"
|
||||
#endif
|
||||
|
||||
#define MAX_CHANNEL (NUM_24GHZ_CHANNELS + NUM_5GHZ_CHANNELS)
|
||||
|
||||
|
|
@ -684,7 +682,6 @@ fail:
|
|||
wlan_objmgr_vdev_release_ref(vdev, WLAN_TDLS_NB_ID);
|
||||
}
|
||||
|
||||
#ifdef QCA_SUPPORT_CP_STATS
|
||||
static void wlan_cfg80211_update_tdls_peers_rssi(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
int ret = 0, i;
|
||||
|
|
@ -706,11 +703,6 @@ static void wlan_cfg80211_update_tdls_peers_rssi(struct wlan_objmgr_vdev *vdev)
|
|||
|
||||
wlan_cfg80211_mc_cp_stats_free_stats_event(rssi_info);
|
||||
}
|
||||
#else
|
||||
static void wlan_cfg80211_update_tdls_peers_rssi(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
int wlan_cfg80211_tdls_get_all_peers(struct wlan_objmgr_vdev *vdev,
|
||||
char *buf, int buflen)
|
||||
|
|
|
|||
Loading…
Reference in a new issue