소스 검색

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
Edayilliam Jayadev 7 년 전
부모
커밋
a9919d6e12
2개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3 0
      dp/inc/cdp_txrx_stats_struct.h
  2. 0 7
      umac/global_umac_dispatcher/lmac_if/inc/wlan_lmac_if_def.h

+ 3 - 0
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 */

+ 0 - 7
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,