summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeev Kumar <rajekuma@qca.qualcomm.com>2015-04-07 17:53:11 -0700
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-04-10 19:09:00 +0530
commitecc089fc4a91bcc0e7be28fc7e2a52cc59ffef61 (patch)
tree84854dfc886f25fad0b11bfeef668103a18a83f6
parent78f0ad920e061250ac805b85e1d817c019aa5fa5 (diff)
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
-rw-r--r--CORE/SERVICES/COMMON/targaddrs.h4
-rw-r--r--CORE/SERVICES/COMMON/wlan_defs.h2
2 files changed, 6 insertions, 0 deletions
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];