From 65c212da2d58a6967acb0b10ff64465e7539371b Mon Sep 17 00:00:00 2001 From: Radha krishna Simha Jiguru Date: Mon, 9 Sep 2019 19:04:09 +0530 Subject: [PATCH] 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 --- hal/wifi3.0/hal_reo.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hal/wifi3.0/hal_reo.c b/hal/wifi3.0/hal_reo.c index 6c9c917582..ad2cad2a4b 100644 --- a/hal/wifi3.0/hal_reo.c +++ b/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, 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, pn_size);