qcacmn: Add support to get reo qdesc size for li & be platforms
Bifurcate the hal_get_reo_qdesc_size to corresponding lithium or Berillium platforms. This can handle difference, if any between them and later enhance to set the qdesc size based on peer negotiation. Currently for NON_QOS_TID, the BA window size is hardcoded as 256 for Li and 1024 for Be. Also modify hal_reo_cmd_update_queue_params to accommodate higher Block-Ack Window size. For this steal bits from pn_size and use pn_size values as macros PN_SIZE_XX which is only 3 bits, instead of 8bits. Change-Id: If310175da579aa3a47a8b031a1774c6c8982d4b2 CRs-Fixed: 3125986
This commit is contained in:

committed by
Madan Koyyalamudi

parent
fae0e38eb4
commit
381d67a7a2
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -804,13 +805,6 @@ hal_reo_cmd_update_rx_queue_be(hal_ring_handle_t hal_ring_hdl,
|
||||
HAL_DESC_64_SET_FIELD(reo_desc, REO_UPDATE_RX_REO_QUEUE,
|
||||
BA_WINDOW_SIZE, p->ba_window_size - 1);
|
||||
|
||||
if (p->pn_size == 24)
|
||||
p->pn_size = PN_SIZE_24;
|
||||
else if (p->pn_size == 48)
|
||||
p->pn_size = PN_SIZE_48;
|
||||
else if (p->pn_size == 128)
|
||||
p->pn_size = PN_SIZE_128;
|
||||
|
||||
HAL_DESC_64_SET_FIELD(reo_desc, REO_UPDATE_RX_REO_QUEUE,
|
||||
PN_SIZE, p->pn_size);
|
||||
|
||||
|
Reference in New Issue
Block a user