ath10k: deduplicate wmi service ready logic
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 18 Sep 2014 13:21:24 +0000 (15:21 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 23 Sep 2014 09:31:25 +0000 (12:31 +0300)
commit5c01aa3de918c0afc1b338df6d7162d461ad3a55
tree0a1adde8f83368f7f5a1a3368f97ece6a7bd8445
parentb79b9baac4f9ecec85353b76a45ae2eda4a1e41d
ath10k: deduplicate wmi service ready logic

The logic responsible for processing the event is
no different across different firmware binaries.
The difference that needs to be dealt with is the
ABI of data structures.

The intermediate structure uses __le32 to avoid
extra memory allocations to byteswap
variable-length substructures (i.e. host mem
chunks).

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/debug.h
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h