|
@@ -340,7 +340,7 @@ static void hal_compute_reo_remap_ix0_6450(uint32_t *remap0)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-/*TODO: update proper values */
|
|
|
+#define UMAC_WINDOW_REMAP_RANGE 0x14
|
|
|
#define CE_WINDOW_REMAP_RANGE 0X37
|
|
|
#define CMEM_WINDOW_REMAP_RANGE 0x2
|
|
|
|
|
@@ -361,14 +361,17 @@ static inline qdf_iomem_t hal_get_window_address_6450(struct hal_soc *hal_soc,
|
|
|
offset = addr - hal_soc->dev_base_addr;
|
|
|
window = (offset >> WINDOW_SHIFT) & WINDOW_VALUE_MASK;
|
|
|
|
|
|
- /* CE: 2nd window, CMEM: 3rd window, unused: 4th window */
|
|
|
+ /* UMAC: 2nd window(unused) CE: 3rd window, CMEM: 4th window */
|
|
|
switch (window) {
|
|
|
- case CE_WINDOW_REMAP_RANGE:
|
|
|
+ case UMAC_WINDOW_REMAP_RANGE:
|
|
|
scale = 1;
|
|
|
break;
|
|
|
- case CMEM_WINDOW_REMAP_RANGE:
|
|
|
+ case CE_WINDOW_REMAP_RANGE:
|
|
|
scale = 2;
|
|
|
break;
|
|
|
+ case CMEM_WINDOW_REMAP_RANGE:
|
|
|
+ scale = 3;
|
|
|
+ break;
|
|
|
default:
|
|
|
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
|
|
"%s: ERROR: Accessing Wrong register\n", __func__);
|