qtnfmac: drop redundant data copy in control path
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Fri, 5 Oct 2018 10:11:45 +0000 (10:11 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 5 Oct 2018 11:01:41 +0000 (14:01 +0300)
commit8804ea9e15a37a3dc732d88360a846e793091c03
tree97dce95c305426fb5356c21d7df2eb5225b8c2b7
parent2525f188f7fd28fedc2c1093f02d74195f966f63
qtnfmac: drop redundant data copy in control path

Command responses and events from the firmware are copied twice in
control path: at first in shm core (qtnf_shm_handle_new_data) and
then in pcie bus drivers (qtnf_pcie_control_rx_callback). There
is no need to copy this data twice, it can be done only once
in rx callbacks.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c
drivers/net/wireless/quantenna/qtnfmac/shm_ipc.c
drivers/net/wireless/quantenna/qtnfmac/shm_ipc.h