Browse Source

qcacmn: Disable PN Error handling in the REO

Disable PN error handling in REO Queue descriptor setup.
This is different from pn check enable.
When PN error handling is enabled, if a PN check fails
REO queue descriptor sets pn_error_detected,
All the subsequent packets will  be exceptioned with REO error code 13
till SW resets the pn_error_detected.

SW is not doing any special handling when PN error handling is enabled
Hence disabling flag in setup time instead of resetting/updating
reo queue descriptor as update is an uncessary overhead.

Change-Id: I21e40b6f685e50630fcc4413f6cd27e5ed9ff66d
Radha krishna Simha Jiguru 5 năm trước cách đây
mục cha
commit
65c212da2d
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      hal/wifi3.0/hal_reo.c

+ 4 - 2
hal/wifi3.0/hal_reo.c

@@ -156,8 +156,10 @@ void hal_reo_qdesc_setup(hal_soc_handle_t hal_soc_hdl, int tid,
 		HAL_DESC_SET_FIELD(reo_queue_desc, RX_REO_QUEUE_2,
 		HAL_DESC_SET_FIELD(reo_queue_desc, RX_REO_QUEUE_2,
 			PN_SHALL_BE_UNEVEN, 1);
 			PN_SHALL_BE_UNEVEN, 1);
 
 
-	HAL_DESC_SET_FIELD(reo_queue_desc, RX_REO_QUEUE_2, PN_HANDLING_ENABLE,
-		pn_enable);
+	/*
+	 *  TODO: Need to check if PN handling in SW needs to be enabled
+	 *  So far this is not a requirement
+	 */
 
 
 	HAL_DESC_SET_FIELD(reo_queue_desc, RX_REO_QUEUE_2, PN_SIZE,
 	HAL_DESC_SET_FIELD(reo_queue_desc, RX_REO_QUEUE_2, PN_SIZE,
 		pn_size);
 		pn_size);