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)
commita91a626baa1566a5514654b7c0d910417d6790e8
treeed8da8f111e4ac14d0bd6e0c488880ec0ed6202c
parentbb8d0d15fc6a401f774f7635437f1eaa57ae3106
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