ath10k: add inlined wrappers for htt tx ops
authorErik Stromdahl <erik.stromdahl@gmail.com>
Sun, 15 Apr 2018 12:22:27 +0000 (14:22 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 19 Apr 2018 16:19:28 +0000 (19:19 +0300)
commit5df6e1313044bf0b5326fa54db8a3904d43ec1dc
treed6e3e1856ac05cef7364d7b9388bacda463eadfa
parentc8489668065a283d3027e86e877b103a87f99d22
ath10k: add inlined wrappers for htt tx ops

These wrappers makes the HTT ops align better with the HIF ops
(where similar wrappers are used).

It also makes it easier for a target to have unsupported ops
(by letting the corresponding function pointer be NULL).

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt.c
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_tx.c
drivers/net/wireless/ath/ath10k/mac.c