]> 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)
commitf1f68958259ee0a96a68d37e8d2f018ae4199888
treeed8da8f111e4ac14d0bd6e0c488880ec0ed6202c
parent7dc2239ae3b6f2149338770dd6ca99a4d1a08029
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