From a9919d6e123e6595c5c92fd94b78e2f657a77f96 Mon Sep 17 00:00:00 2001 From: Edayilliam Jayadev Date: Wed, 18 Oct 2017 11:39:37 +0530 Subject: [PATCH] qcacmn: Changes to wext interface for external acs Private ioctls for external acs operation like set icm active, get channel load info, clear chan load info, get nominal noise floor were transported and handled by spectral module. We seperate this ioctls from spectral by adding new IWPRIVs(get_icm_active, set_icm_active, get_nominal_nf, clear_chan_info)and moving their handlers out of spectral. CRs-Fixed: 2126313 Change-Id: I8c6b56b85d566f5bc7f6217f6fbc99fa23171cdd --- dp/inc/cdp_txrx_stats_struct.h | 3 +++ umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/dp/inc/cdp_txrx_stats_struct.h b/dp/inc/cdp_txrx_stats_struct.h index bc53589f2138..0a0d7a2935c9 100644 --- a/dp/inc/cdp_txrx_stats_struct.h +++ b/dp/inc/cdp_txrx_stats_struct.h @@ -498,6 +498,9 @@ enum _ol_ath_param_t { OL_ATH_PARAM_EXT_NSS_CAPABLE = 354, OL_ATH_PARAM_MGMT_PDEV_STATS_TIMER = 355, OL_ATH_PARAM_TXACKTIMEOUT = 356, + OL_ATH_PARAM_ICM_ACTIVE = 357, + OL_ATH_PARAM_NOMINAL_NOISEFLOOR = 358, + OL_ATH_PARAM_CHAN_INFO = 359, }; /* Enumeration of PDEV Configuration parameter */ diff --git a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h index 88c413977ed1..02461c3e8b3a 100644 --- a/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h +++ b/umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h @@ -308,16 +308,9 @@ struct wlan_lmac_if_sptrl_tx_ops { void (*sptrlto_stop_spectral_scan)(struct wlan_objmgr_pdev *pdev); bool (*sptrlto_is_spectral_active)(struct wlan_objmgr_pdev *pdev); bool (*sptrlto_is_spectral_enabled)(struct wlan_objmgr_pdev *pdev); - int (*sptrlto_set_icm_active)(struct wlan_objmgr_pdev *pdev, - bool isactive); - bool (*sptrlto_get_icm_active)(struct wlan_objmgr_pdev *pdev); - int16_t (*sptrlto_get_nominal_nf)(struct wlan_objmgr_pdev *pdev); int (*sptrlto_set_debug_level)(struct wlan_objmgr_pdev *pdev, u_int32_t debug_level); u_int32_t (*sptrlto_get_debug_level)(struct wlan_objmgr_pdev *pdev); - void (*sptrlto_get_chaninfo)(struct wlan_objmgr_pdev *pdev, - void *outdata); - void (*sptrlto_clear_chaninfo)(struct wlan_objmgr_pdev *pdev); void (*sptrlto_get_spectral_capinfo)(struct wlan_objmgr_pdev *pdev, void *outdata); void (*sptrlto_get_spectral_diagstats)(struct wlan_objmgr_pdev *pdev,