mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
b02de7ed1c
commit
65c212da2d
1 changed files with 4 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue