Selaa lähdekoodia

qcacmn: Route all the REO error indication to APPS for WCN7850

For WCN7850, all the REO errors are supposed to be handled
by the APPS core. In accordance with this design, re-route
all the REO error frames to the APPS facing rx-error ring.

Change-Id: Id6f956a1459d318a5876696842ca87fa29e1e27b
CRs-Fixed: 2965087
Rakesh Pillai 4 vuotta sitten
vanhempi
sitoutus
08c76c5170
1 muutettua tiedostoa jossa 12 lisäystä ja 12 poistoa
  1. 12 12
      hal/wifi3.0/wcn7850/hal_7850.c

+ 12 - 12
hal/wifi3.0/wcn7850/hal_7850.c

@@ -985,25 +985,25 @@ hal_reo_set_err_dst_remap_7850(void *hal_soc)
 {
 	/*
 	 * Set REO error 2k jump (error code 5) / OOR (error code 7)
-	 * frame routed to REO2TCL ring.
+	 * frame routed to REO2SW0 ring.
 	 */
 	uint32_t dst_remap_ix0 =
-		HAL_REO_ERR_REMAP_IX0(REO_REMAP_RELEASE, 0) |
-		HAL_REO_ERR_REMAP_IX0(REO_REMAP_RELEASE, 1) |
-		HAL_REO_ERR_REMAP_IX0(REO_REMAP_RELEASE, 2) |
-		HAL_REO_ERR_REMAP_IX0(REO_REMAP_RELEASE, 3) |
-		HAL_REO_ERR_REMAP_IX0(REO_REMAP_RELEASE, 4) |
+		HAL_REO_ERR_REMAP_IX0(REO_REMAP_TCL, 0) |
+		HAL_REO_ERR_REMAP_IX0(REO_REMAP_TCL, 1) |
+		HAL_REO_ERR_REMAP_IX0(REO_REMAP_TCL, 2) |
+		HAL_REO_ERR_REMAP_IX0(REO_REMAP_TCL, 3) |
+		HAL_REO_ERR_REMAP_IX0(REO_REMAP_TCL, 4) |
 		HAL_REO_ERR_REMAP_IX0(REO_REMAP_TCL, 5) |
 		HAL_REO_ERR_REMAP_IX0(REO_REMAP_TCL, 6) |
 		HAL_REO_ERR_REMAP_IX0(REO_REMAP_TCL, 7);
 
 	uint32_t dst_remap_ix1 =
-		HAL_REO_ERR_REMAP_IX1(REO_REMAP_RELEASE, 14) |
-		HAL_REO_ERR_REMAP_IX1(REO_REMAP_RELEASE, 13) |
-		HAL_REO_ERR_REMAP_IX1(REO_REMAP_RELEASE, 12) |
-		HAL_REO_ERR_REMAP_IX1(REO_REMAP_RELEASE, 11) |
-		HAL_REO_ERR_REMAP_IX1(REO_REMAP_RELEASE, 10) |
-		HAL_REO_ERR_REMAP_IX1(REO_REMAP_RELEASE, 9) |
+		HAL_REO_ERR_REMAP_IX1(REO_REMAP_TCL, 14) |
+		HAL_REO_ERR_REMAP_IX1(REO_REMAP_TCL, 13) |
+		HAL_REO_ERR_REMAP_IX1(REO_REMAP_TCL, 12) |
+		HAL_REO_ERR_REMAP_IX1(REO_REMAP_TCL, 11) |
+		HAL_REO_ERR_REMAP_IX1(REO_REMAP_TCL, 10) |
+		HAL_REO_ERR_REMAP_IX1(REO_REMAP_TCL, 9) |
 		HAL_REO_ERR_REMAP_IX1(REO_REMAP_TCL, 8);
 
 		HAL_REG_WRITE(hal_soc,