]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: Add paddrs_ring_64 support for 64bit target
authorGovind Singh <govinds@qti.qualcomm.com>
Thu, 21 Dec 2017 09:00:57 +0000 (14:30 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 27 Dec 2017 10:06:31 +0000 (12:06 +0200)
commit986c5f015d11faff7ff136b8633a7a12a732534a
treeed8da8f111e4ac14d0bd6e0c488880ec0ed6202c
parentfcac56c0de3d9e930b21307eae59ece8bed140ad
ath10k: Add paddrs_ring_64 support for 64bit target

paddrs_ring_64 holds the physical device address of the
rx buffers that host SW provides for the MAC HW to fill.
Since this field is used in rx ring setup and rx ring
replenish in rx data path. Define separate methods
for handling 64 bit ring paddr and attach them dynamically
based on target_64bit hw param flag. Use u64 type
while popping paddr from the rx hash table for 64bit target.

Signed-off-by: Govind Singh <govinds@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.c
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_rx.c