From ecc089fc4a91bcc0e7be28fc7e2a52cc59ffef61 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Tue, 7 Apr 2015 17:53:11 -0700 Subject: qcacld: CL 1271398 - update fw common interface files Create a macro of MAX IBSS peers that can be shared by hlos and target add GPIO_WAKEUP_SUPPORT flag in host interest area Change-Id: I0a4a87559ef29ad38be24ebdd39a71d08586e7e7 CRs-Fixed: 819213 --- CORE/SERVICES/COMMON/targaddrs.h | 4 ++++ CORE/SERVICES/COMMON/wlan_defs.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CORE/SERVICES/COMMON/targaddrs.h b/CORE/SERVICES/COMMON/targaddrs.h index 05a0fbc3ce5a..1421b5bb69b0 100644 --- a/CORE/SERVICES/COMMON/targaddrs.h +++ b/CORE/SERVICES/COMMON/targaddrs.h @@ -369,6 +369,10 @@ PREPACK64 struct host_interest_s { #define HI_OPTION_USE_EXT_LDO 0x40 /* use LDO27 for 1.1V instead of PMU */ #define HI_OPTION_DBUART_SUPPORT 0x80 /* Enable uart debug support */ +#define HT_OPTION_GPIO_WAKEUP_SUPPORT 0x200 /* GPIO wake up support */ + +#define GPIO_WAKEUP_ENABLED() \ + (HOST_INTEREST->hi_option_flag2 & HT_OPTION_GPIO_WAKEUP_SUPPORT) /* hi_reset_flag */ #define HI_RESET_FLAG_PRESERVE_APP_START 0x01 /* preserve App Start address */ diff --git a/CORE/SERVICES/COMMON/wlan_defs.h b/CORE/SERVICES/COMMON/wlan_defs.h index 2265855ba1dd..c43015430806 100644 --- a/CORE/SERVICES/COMMON/wlan_defs.h +++ b/CORE/SERVICES/COMMON/wlan_defs.h @@ -277,6 +277,8 @@ typedef A_UINT8 A_RATE; #error "Extend rate table module first" #endif +#define MAX_IBSS_PEERS 32 + #if defined(CONFIG_AR900B_SUPPORT) || defined(AR900B) typedef struct{ A_UINT32 psdu_len [NUM_DYN_BW * NUM_SCHED_ENTRIES]; -- cgit v1.2.3