Browse Source

qcacmn: Select window mask based on target

For QCA6390 PCI address space is reduced to 1MB.
Change bitmask to map it to appropriate range.

Change-Id: I70385df91855b7e7ddbedf7f0c6bf6e364b7d78c
CRs-Fixed: 2259194
Venkata Sharath Chandra Manchala 6 years ago
parent
commit
9347b8dbd0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      hal/wifi3.0/hal_api.h

+ 4 - 0
hal/wifi3.0/hal_api.h

@@ -38,7 +38,11 @@
 #include "rx_reo_queue_ext.h"
 
 #define MAX_UNWINDOWED_ADDRESS 0x80000
+#ifdef TARGET_TYPE_QCA6390
+#define WINDOW_ENABLE_BIT 0x40000000
+#else
 #define WINDOW_ENABLE_BIT 0x80000000
+#endif
 #define WINDOW_REG_ADDRESS 0x310C
 #define WINDOW_SHIFT 19
 #define WINDOW_VALUE_MASK 0x3F