From 109683cf30fce42d015a08b0bee4e9024ada22ae Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Wed, 18 Apr 2018 17:48:56 -0700 Subject: [PATCH] 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 --- components/pmo/dispatcher/inc/wlan_pmo_arp_public_struct.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/components/pmo/dispatcher/inc/wlan_pmo_arp_public_struct.h b/components/pmo/dispatcher/inc/wlan_pmo_arp_public_struct.h index 16993b3764..8d3feb77af 100644 --- a/components/pmo/dispatcher/inc/wlan_pmo_arp_public_struct.h +++ b/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_ */