Parcourir la source

qcacld-3.0: Stats: Add handling of pmo suspend resume

Register pmo suspend resume handler to disable/enable stats requests.

Change-Id: If1112e3ef23bfa53f107eb5a668189da4f83bd0c
CRs-Fixed: 2430011
Rajeev Kumar il y a 6 ans
Parent
commit
0075036be1
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      core/cds/src/cds_api.c

+ 3 - 0
core/cds/src/cds_api.c

@@ -71,6 +71,7 @@
 #endif
 #include "wlan_mlme_ucfg_api.h"
 #include "cfg_ucfg_api.h"
+#include "wlan_cp_stats_mc_ucfg_api.h"
 
 /* Preprocessor Definitions and Constants */
 
@@ -666,6 +667,8 @@ QDF_STATUS cds_open(struct wlan_objmgr_psoc *psoc)
 		goto deregister_modules;
 	}
 
+	ucfg_mc_cp_stats_register_pmo_handler();
+
 	return QDF_STATUS_SUCCESS;
 
 deregister_modules: