]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9630a91e94f9164dfe361e6458ab2223d048ccb4
tree0a1adde8f83368f7f5a1a3368f97ece6a7bd8445
parent58387a911d290779a547a45e764562f2ad416c50
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