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
This commit is contained in:
Radha krishna Simha Jiguru
2019-09-09 19:04:09 +05:30
committed by nshrivas
parent b02de7ed1c
commit 65c212da2d

View File

@@ -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);