]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit037da1b9f2a8b00d0990d2b71f9ed4b770acbd83
treed38ea0c71f989083de8ec3438863e4a686d9aa78
parent90efa8a0ee967079ecea4a715dfa56bc468dca6b
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