Jelajahi Sumber

qcacld-3.0: Add feature flag for PMO component (part-1)

Add feature flag for PMO component such that for high latency
and IoT devices power management and offload component can be
compiled out.

Change-Id: I2c88b6af33e8f10f1837263f157c1f6892a2c2fb
CRs-Fixed: 2227326
Rajeev Kumar 7 tahun lalu
induk
melakukan
109683cf30

+ 5 - 2
components/pmo/dispatcher/inc/wlan_pmo_arp_public_struct.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2017-2018 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,6 +26,8 @@
 #ifndef _WLAN_PMO_ARP_PUBLIC_STRUCT_H_
 #define _WLAN_PMO_ARP_PUBLIC_STRUCT_H_
 
+#ifdef WLAN_POWER_MANAGEMENT_OFFLOAD
+
 #include "wlan_pmo_common_public_struct.h"
 
 /**
@@ -54,5 +56,6 @@ struct pmo_arp_offload_params {
 	struct qdf_mac_addr bssid;
 };
 
-#endif /* end  of _WLAN_PMO_ARP_PUBLIC_STRUCT_H_ */
+#endif /* end of WLAN_POWER_MANAGEMENT_OFFLOAD */
 
+#endif /* end  of _WLAN_PMO_ARP_PUBLIC_STRUCT_H_ */