summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Puligilla <spuligil@codeaurora.org>2017-01-04 16:39:39 -0800
committerAsodi T,Venkateswara Reddy <vasodi@codeaurora.org>2017-01-25 18:44:57 +0530
commitd8d49addcbfed990c8cbf81966103b34982c750e (patch)
tree72eb40daf348f47dbffbcc5af294edd2744e8c8a
parent29100365a5d35cfaa1a0f71a94cfba7e28065ca7 (diff)
fw-api:CL 2799207 - use NUM_SPATIAL_STREAM if it is defined
only use NUM_SPATIAL_STREAM if it is defined Change-Id: I1f4df3691be93c177da67a46daecd55fb39fcba9 CRs-Fixed: 1107600
-rwxr-xr-xfw/wlan_defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fw/wlan_defs.h b/fw/wlan_defs.h
index 465c103efeb7..b9494f1e802f 100755
--- a/fw/wlan_defs.h
+++ b/fw/wlan_defs.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -359,6 +359,7 @@ typedef struct {
#define MAX_IBSS_PEERS 32
+#ifdef NUM_SPATIAL_STREAM
/*
* RC_TX_RATE_SCHEDULE and RC_TX_RATE_INFO defs are used only in the target.
* (Host-based rate control is no longer applicable.)
@@ -440,6 +441,7 @@ typedef struct {
A_UINT8 dd_profile;
} RC_TX_RATE_INFO;
#endif /* !((NUM_SPATIAL_STREAM > 4) || SUPPORT_11AX) */
+#endif
/*
* Temporarily continue to provide the WHAL_RC_INIT_RC_MASKS def in wlan_defs.h