qcacmn: REO descriptor allocation change
Use normal allocation instead of alloc_consistent for REO descriptors to allow freeing from interrupt context. Also fixed an issue in ba_window_size setting in REO queues. Change-Id: I91b06e04c0343eb7fe8580d8655c6bc5e33cfe06
This commit is contained in:

committed by
Sandeep Puligilla

부모
34ff0b5a3c
커밋
7957fa9705
@@ -481,8 +481,11 @@ inline int hal_reo_cmd_update_rx_queue(void *reo_ring, struct hal_soc *soc,
|
||||
HAL_DESC_SET_FIELD(reo_desc, REO_UPDATE_RX_REO_QUEUE_3,
|
||||
IGNORE_AMPDU_FLAG, p->ignore_ampdu);
|
||||
|
||||
if (p->ba_window_size < 1)
|
||||
p->ba_window_size = 1;
|
||||
|
||||
HAL_DESC_SET_FIELD(reo_desc, REO_UPDATE_RX_REO_QUEUE_4,
|
||||
BA_WINDOW_SIZE, p->ba_window_size);
|
||||
BA_WINDOW_SIZE, p->ba_window_size - 1);
|
||||
|
||||
HAL_DESC_SET_FIELD(reo_desc, REO_UPDATE_RX_REO_QUEUE_4,
|
||||
PN_SIZE, p->pn_size);
|
||||
|
Reference in New Issue
Block a user