ath10k: handle channel change htt event
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Tue, 8 Mar 2016 17:27:23 +0000 (22:57 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 18 Mar 2016 07:49:39 +0000 (09:49 +0200)
commit2ce9b25cefa64f11bcb21b21cf4a5e8c58c6d0af
treed38ea0c71f989083de8ec3438863e4a686d9aa78
parent181c007dedacefaaf634b72b1f52c3b0415f87c1
ath10k: handle channel change htt event

Whenever firmware is configuring operating channel during scan or
home channel, channel change event will be indicated to host. In some
cases (device probe/ last vdev down), target will be configured to
default channel whereas host is unaware of target's operating channel.
This leads to packet drop due to unknown channel and kernel log will be
filled up with "no channel configured; ignoring frame(s)!". Fix that
by handling HTT_T2H_MSG_TYPE_CHAN_CHANGE event.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/wmi.c