ath10k: simplify rx ring size/fill calculation
Don't bother with fancy arithmetic and just hardcode the final values. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:

committed by
Kalle Valo

parent
1cb86d47d4
commit
fe2407a889
@@ -158,6 +158,9 @@ enum htt_rx_ring_flags {
|
||||
HTT_RX_RING_FLAGS_PHY_DATA_RX = 1 << 15
|
||||
};
|
||||
|
||||
#define HTT_RX_RING_SIZE_MIN 128
|
||||
#define HTT_RX_RING_SIZE_MAX 2048
|
||||
|
||||
struct htt_rx_ring_setup_ring {
|
||||
__le32 fw_idx_shadow_reg_paddr;
|
||||
__le32 rx_ring_base_paddr;
|
||||
|
Reference in New Issue
Block a user